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 using a universal root .skills directory.
- Constraints: Must work with non-native skill loaders (Android Studio Gemini/Otter), Claude Code, OpenHands, and Opencode.
- Memory Path:
prompts/plans/agent_skills_integration/memory/ - Files:
prompts/plans/sdd_implementation_v1.md(Target for update)AGENTS.md(System prompt entry point)prompts/agents/SPEC_WRITER.md(Persona definition)
- Architecture: SDD Protocol v3.0, persistent context management via
/memory. - Discovery: Automated via
available_skillsblock in the system prompt or native agent tools. - Native Preference: If the agent's system prompt includes the
### Operational Protocolfor skills or native skill tools, this MUST be used exclusively. - Emulated Fallback: If no native support is detected, agents MUST fallback to manual discovery via the
.skills/directory. - 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.
- Universal Access: Symbolic links from
.claude/skillsto.skills/, and.opencode/skillsto.skills/.
- Dependencies:
sdd_implementation_v1.mdis the master protocol. Updating it affects all future spec-writing and execution. - Consumers: All AI agents (Claude, OpenHands, Opencode, Gemini) 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 changes via Git.
- Task 1.1: Initialize Persistent Memory
- Task 1.2: Multi-Agent Compatibility Check (Symbolic Links)
- Task 1.3: Create Universal Skills Directory
- Task 1.4: Update Artifact Log
memory/discovered_artifacts.mdexists and is populated..skills/exists as the primary repository.- User has been consulted regarding symbolic links.
- Task 2.1: Migrate Legacy Skills
- Task 2.2: Update Global Discovery Paths
- Task 2.3: Memory Sync
prompts/skills/is empty or removed.AGENTS.mdreflects the new.skills/path and Native Preference rule.
- Task 3.1: Implement Branching Logic
- Task 3.2: Persona-Specific Alignment
- Task 3.3: Dual-Mode Validation
- Agent successfully identifies the skill from metadata only.
- Agent prefers native capabilities where available.
- All final deliverables are tracked in memory.
- Updated
prompts/plans/sdd_implementation_v1.md - Updated
AGENTS.md - Updated
prompts/agents/SPEC_WRITER.md - Root
.skills/repository with migrated content. - Symbolic links for Claude and Opencode pointing to
.skills/. prompts/plans/agent_skills_integration/memory/discovered_artifacts.mdprompts/plans/agent_skills_integration/memory/discovery_log.md
- Migration successful; discovery logic now unified across all agents.
Updated to include missing Skill Template, also updated to work with Android Studio Panda 3 skill support. Ability to work with Claude Code, Opencode, CoPilot native skill support using .skills as the source of truth, creating symbolic links to the other directories.