skills/add-subfeature/SKILL.md
Canonical workflow for creating and managing durable subfeatures under an existing feature. Use this whenever the user asks to add, create, start, open, or bootstrap a subfeature so downstream planning skills keep the expected metadata and discover-stub lifecycle.
npx skillsauth add sirius-cc-wu/sirius-skills add-subfeatureInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill whenever an existing canonical feature needs a new durable child planning folder.
This is the canonical creation path for subfeatures. If the user asks to add, create, start, open, or bootstrap a subfeature, use this skill instead of hand-authoring the subfeature folder or lifecycle metadata.
This is also the default follow-on path when the parent feature is already implemented or archived but the user is reporting a new bug, regression, or missing capability on top of that shipped work.
subfeatures/ registry when it does not exist yet.docs/features/<feature>/subfeatures/<subfeature-id>/..subfeature-meta.json as its lifecycle source of truth.discover.md unmistakably a scaffold until discover authors the real packet.additive, narrowing, superseding, or replacement<feature_path>/subfeatures/README.md<feature_path>/subfeatures/registry.json<feature_path>/subfeatures/<subfeature-id>/discover.md<feature_path>/subfeatures/<subfeature-id>/.subfeature-meta.jsonmanage_subfeatures.py init-feature <feature> when needed.manage_subfeatures.py add <feature> <subfeature-id>.discover.md as a bootstrap stub, not finished discovery. Replace it with the real discovery packet via discover.discover.md.
For narrowing, superseding, or replacement work, declare what existing
capability, artifact, command path, or validation path is affected and what
simplification or retirement the child capability is expected to produce.
For bugfix or missing-behavior follow-on work, make the current failure and
the expected repaired behavior explicit so later planning does not collapse
back into the archived parent narrative.assess, design, breakdown, and review-planning using the selected subfeature folder.reviewed until a human explicitly approves it, then record that approval in .subfeature-meta.json before slice bootstrap.docs/features/<feature-slug>/ as the parent feature planning folder.docs/features/<feature-slug>/subfeatures/<subfeature-id>/ as a durable planning folder, not a temporary delta and not an execution slice..subfeature-meta.json..subfeature-meta.json; do not restore a nested .planning-meta.json.# Initialize the subfeature registry for a canonical feature
python3 skills/add-subfeature/scripts/manage_subfeatures.py init-feature "<feature-slug>"
# Create a new additive subfeature
python3 skills/add-subfeature/scripts/manage_subfeatures.py add "<feature-slug>" "<subfeature-id>"
# Create a superseding subfeature with a short summary
python3 skills/add-subfeature/scripts/manage_subfeatures.py add \
"<feature-slug>" "<subfeature-id>" \
--type superseding \
--summary "Replace legacy checkout path with a durable child capability"
# Advance subfeature state once required artifacts exist
python3 skills/add-subfeature/scripts/manage_subfeatures.py set-status \
"<feature-slug>" "<subfeature-id>" impact_ready
# After review passes, record explicit human approval and any ready slice IDs
python3 skills/add-subfeature/scripts/manage_subfeatures.py approve \
"<feature-slug>" "<subfeature-id>" \
--approval-note "Approved for slice bootstrap" \
--slice-id "<slice-id>"
# Validate one subfeature
python3 skills/add-subfeature/scripts/manage_subfeatures.py validate \
"<feature-slug>" "<subfeature-id>"
guide-planning and discover for that.reviewed as implicit approval; reviewed subfeatures still need explicit human approval before slice bootstrap.docs/proposals/.tools
Create or resume a dedicated git worktree for one feature or subfeature, drive `ship` inside that worktree, and hand the finished branch back as a pull request to the original branch.
testing
Reviews one completed feature or subfeature against final implementation and slice artifacts, then records a durable reconciliation block before archive.
development
Tightens durable repo-level rules in AGENTS.md and adjacent governance surfaces when repeated drift reveals a policy gap.
data-ai
Resolves one reviewed feature or subfeature backlog into remaining planned slices and routes each active slice to the next owning execution step with one commit per completed slice.