migrate-subfeatures
Migrate Subfeatures
Use this skill when a repository still contains legacy planning artifacts from
the old change-based workflow and those artifacts need to be converted into the
current durable subfeatures/ model.
Responsibilities
- Resolve one feature or the full planning tree.
- Detect legacy
changes/<change-id>/packets. - Convert legacy
.feature-change-meta.jsoninto.subfeature-meta.json. - Create
.planning-meta.jsonfor migrated subfeatures. - Rebuild feature-local subfeature registries and resync the planning registry.
Preferred Input
- a feature slug, folder name, or path when migrating one feature
- or
--allfor a repo-wide migration - optional
--dry-runbefore modifying planning files
Required Output
- migrated subfeatures under
docs/features/<feature>/subfeatures/<subfeature-id>/ - rebuilt
subfeatures/README.mdandsubfeatures/registry.json - refreshed top-level planning registry via
guide-planning - a JSON migration report listing candidates, migrations, and blockers
Workflow
- Run
scanto inspect legacychanges/packets and detect blockers. - Run
migrate --dry-runto preview target paths and metadata mapping. - Run
migratefor one feature or--allfor the whole planning tree. - Review the JSON report for migrated items and any conflicts left behind.
Tooling
# Scan one feature for legacy change packets
python3 skills/migrate-subfeatures/scripts/migrate_subfeatures.py scan "checkout"
# Scan the whole planning tree
python3 skills/migrate-subfeatures/scripts/migrate_subfeatures.py scan --all
# Preview migration without writing changes
python3 skills/migrate-subfeatures/scripts/migrate_subfeatures.py migrate \
"checkout" \
--dry-run
# Migrate every legacy feature in the planning tree
python3 skills/migrate-subfeatures/scripts/migrate_subfeatures.py migrate --all
Guardrails
- Do not overwrite an existing target subfeature folder.
- Do not rewrite discovery, design, or breakdown contents beyond structural migration needs.
- Do not use this skill for net-new feature planning; use
guide-planningandadd-subfeaturefor those. - Prefer
--dry-runbefore repo-wide migration.
More from sirius-cc-wu/sirius-skills
dioxus-ui-ux
Dioxus UI/UX design intelligence. Specialized guidelines for Dioxus Components, plus 50 styles, 21 palettes, 50 font pairings. Stacks: dioxus, daisyui, shadcn, html-tailwind. Actions: plan, build, create, design, implement, review, fix, improve, optimize. Projects: web app, dashboard, admin panel, SaaS, mobile app. Elements: button, modal, navbar, card, form, chart.
16dioxus-stitch
Transforms Stitch designs into clean, modular Dioxus code using daisyUI. Handles RSX conversion, type-safe props, and data decoupling for Rust projects.
8dioxus-ui-skill
Dioxus UI/UX design intelligence. Specialized guidelines for Dioxus Components, plus 50 styles, 21 palettes, 50 font pairings. Stacks: dioxus, shadcn, html-tailwind. Actions: plan, build, create, design, implement, review, fix, improve, optimize. Projects: web app, dashboard, admin panel, SaaS, mobile app. Elements: button, modal, navbar, card, form, chart.
4discover
Frames a project or feature before implementation by capturing goals, constraints, stakeholders, and initial story candidates.
2ui-flow
Captures optional UI and UX flows, screen-level requirements, and interaction notes before implementation.
2design
Produces feature-level system-design.md artifacts before breakdown when a feature needs architecture, interface, constraint, failure-handling, or validation decisions captured durably.
2