add-subfeature
Installation
SKILL.md
Add Subfeature
Use this skill when an existing canonical feature needs a durable child planning folder instead of direct in-place edits to the parent feature plan.
Responsibilities
- Resolve the parent feature planning folder under the repository planning layout.
- Initialize the feature-local
subfeatures/registry when it does not exist yet. - Create one durable subfeature under
docs/features/<feature>/subfeatures/<subfeature-id>/. - Maintain machine-readable subfeature metadata for parent-child and impact context.
- Seed the subfeature as a real planning folder with its own
.planning-meta.json.
Preferred Input
- a parent feature slug, folder name, or path
- a subfeature ID or short slug
- an optional subfeature type such as
additive,narrowing,superseding, orreplacement - an optional summary of why the feature needs the child capability