Implement the agentskills.io standard into the project's Phased Spec-Driven Development (SDD) protocol. This enables modular, pull-on-demand expertise discovery and activation, ensuring context economy while providing specialized agent capabilities.
- Current State: The project uses a Phased GSD protocol defined in
prompts/plans/sdd_implementation_v1.md. All agent instructions are currently static and centralized. - Constraints: Must work with non-native skill loaders (Android Studio Gemini/Otter). Must preserve the "Memory Protocol" and subdirectory structure for plans.
- Files:
prompts/plans/sdd_implementation_v1.md(Target for update)AGENTS.md(System prompt entry point)prompts/agents/SPEC_WRITER.md(Persona definition)
- Discovery: Automated via
list_filesonprompts/skills/. - Context Economy: Read only YAML frontmatter during discovery; body content is "Pull-on-Demand".
- Metadata: Mandatory
name,description,compatibility, andversionfields. - Activation: Explicit "Activating Skill" announcement before loading full content.
- Dependencies:
sdd_implementation_v1.mdis the master protocol. Updating it affects all future spec-writing and execution. - Consumers: All AI agents interacting with the project.
- Potential Risks: Complexity in renumbering might lead to broken links in other docs. Over-segmentation of skills could make discovery slow.
- Rollback Strategy: Revert
sdd_implementation_v1.mdusing Git.
- Task 1.1: Create Skills Directory
- Action: Create
prompts/skills/.gitkeep.
- Action: Create
- Task 1.2: Define metadata schema
- Action: Create a template
prompts/templates/SKILL_TEMPLATE.mdwith the required YAML frontmatter.
- Action: Create a template
- Task 1.3: Create "Example" Skill
- Action: Create
prompts/skills/ui-refactor/SKILL.mdas a reference implementation.
- Action: Create
prompts/skills/directory exists.SKILL_TEMPLATE.mdcontains the mandatory fields.
- Task 2.1: Update
sdd_implementation_v1.mdStructure- Action: Insert "Phase 1: Agent Skills Integration" at the start of the "Phases" section.
- Action: Renumber existing Phase 1 to Phase 2, Phase 2 to Phase 3, etc.
- Task 2.2: Formalize Discovery Protocol
- Action: Add the requirement for agents to execute
list_filesonprompts/skills/at session start.
- Action: Add the requirement for agents to execute
- Task 2.3: Define "Pull-on-Demand" & Activation Workflow
- Action: Add the mandatory announcement and persona shift logic.
sdd_implementation_v1.mdcontains the 5 mandatory architectural changes foragentskills.io.- All phase numbers are sequential and consistent.
- Task 3.1: Update
SPEC_WRITER.md- Action: Instruct the Spec Writer persona to check for applicable skills before drafting a spec.
- Task 3.2: Update
AGENTS.md- Action: Add the "Manual Skill Emulation" section for IDE-integrated assistants.
- Task 3.3: Context Economy Enforcement
- Action: Add explicit prohibition for reading skill bodies during discovery.
AGENTS.mdmentionsagentskills.iostandard.SPEC_WRITER.mdincludes the skill discovery step.
- Task 4.1: Discovery Simulation
- Action: Ask the agent to list all available skills and describe one without reading its body.
- Task 4.2: Activation Simulation
- Action: Trigger the activation of the example skill and verify the persona shift.
- Agent successfully identifies the skill from metadata only.
- Agent announces activation before reading the full skill file.
- Updated
prompts/plans/sdd_implementation_v1.md - Updated
AGENTS.md - Updated
prompts/agents/SPEC_WRITER.md - New
prompts/templates/SKILL_TEMPLATE.md - New
prompts/skills/ui-refactor/SKILL.md(Reference)
- Record any challenges with
list_filesor YAML parsing in the IDE environment.