1.5 KiB
1.5 KiB
Phase 2 PRD: Native Skills Lean PoC
Date: 2026-03-07
Branch: feature/native-skills-lean-shard-doc-prototype
Goal
Ship a narrow, testable PoC that installs a duplicated native skill for shard-doc as bmad-shard-doc-skill-prototype while preserving existing shard-doc command/help behavior.
Functional Requirements
- The core task skill metadata supports a prototype duplicate ID for
shard-doc.xml. - Installer discovery reads the prototype duplicate ID from source metadata.
- For
skill_formattools, installer writes both:- canonical skill:
bmad-shard-doc/SKILL.md - prototype skill:
bmad-shard-doc-skill-prototype/SKILL.md
- canonical skill:
- For non-
skill_formattools, installer output remains unchanged (no prototype duplicate command file). - Existing shard-doc legacy artifact remains available via current task/help flows.
Non-Functional Requirements
- PR stays lean (minimal files and logic changes).
- No behavior change for existing command/help interfaces.
- Tests are deterministic and run in current installation component suite.
Acceptance Criteria
src/core/tasks/shard-doc.xmlremains unchanged as the legacy capability artifact.- Installing for Codex creates
bmad-shard-doc-skill-prototype/SKILL.mdin.agents/skills. - Installing for Codex still creates the existing
bmad-shard-doc/SKILL.md. - Installing for Gemini does not create
bmad-shard-doc-skill-prototypecommand output. - Existing install-component suite continues to pass with added assertions.