/smith:smith-migrate-specs [--dry-run] [--all]from smith
Migrates flat feature spec folders into the .specify/systems/ hierarchy with automatic system detection and feature mapping.
Ships in smith. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Workflow requirement (Smith 20+): This skill must be invoked from inside an active top-level workflow (
/smith-new,/smith-bugfix,/smith-debug,/smith-build). The workflow-gate hook will block standalone invocation. To use this skill standalone, start a top-level workflow first.
Migrate existing feature spec folders from specs/<NNN-feature>/ into the system-based hierarchy at .specify/systems/<system>/features/<NNN-feature>/.
Arguments: $ARGUMENTS
.specify/systems/ must exist with system spec folders (created by Phase 1B setup or /smith).specify/systems/system-*/spec.md for system detection to workScan specs/ for all feature spec folders. Exclude the following (they are not feature specs):
specs/system-* (system specs — these are the source of truth)specs/questions/ (global questions directory)specs/screenshots/ (visual reference)specs/sentiment-engine/ (legacy non-numbered spec)specs/init-intake.md (not a folder)A valid feature folder must:
spec.md fileNNN-* (numbered feature)List all candidates with their folder name and a one-line summary from the first heading in their spec.md.
For each feature folder, determine the primary system:
spec.md — extract what the feature does, which services it touches, what data it modifies.specify/systems/system-*/spec.md — understand each system's scopeUse these heuristics for mapping:
services/command-center/ → system-15-command-centerservices/email-pipeline/ → system-03-email-archive-contact-graphservices/sentiment-engine/ → system-05-communication-triage or system-03 depending on scopeservices/content-strategy/ or services/content-engine/ → system-12-content-social-engineservices/social-listening/ → system-10-social-listeningservices/trend-intelligence/ → system-13-trend-intelligenceservices/voice-training/ → system-04-personal-voiceservices/meeting-intelligence/ → system-09-meeting-intelligencedocker-compose.yml or infrastructure → system-01-infrastructuresystem-03-email-archive-contact-graphsystem-01-infrastructurecross-systemAlso check git history and the feature's plan.md (if it exists) for additional context.
For each feature, present the proposed mapping:
Feature: 024-triage-review-actions
Summary: Add review actions (approve/reject/archive) to the triage log
Primary: system-05-communication-triage
Also affects: system-15-command-center
Files to move: spec.md, plan.md, tasks.md, checklists/, questions.md (5 items)
Move to: .specify/systems/system-05-communication-triage/features/024-triage-review-actions/
Confirm? [y/n/skip/quit]
IMPORTANT: Process ONE feature at a time. Do NOT batch-move all features without individual confirmation.
For each confirmed feature:
mkdir -p .specify/systems/<primary-system>/features/<feature-name>/specs/<feature-name>/ to the new location (copy, not move — we preserve originals until verified)spec.md if not already present:
---
feature: <feature-name>
primary_system: <system-folder-name>
also_affects:
- <other-system>
branch: <branch-name if detectable from git>
created: <date from spec or git>
status: complete
---
.smith/vault/sessions/ (current session log if active)After processing all features (or quitting), display:
## Migration Summary
Migrated: 15 features
Skipped: 3 features
Remaining: 37 features (not yet processed)
### Migrated Features
| Feature | System | Path |
|---------|--------|------|
| 024-triage-review-actions | system-05-communication-triage | .specify/systems/system-05-communication-triage/features/024-triage-review-actions/ |
| ... | ... | ... |
### Skipped Features
| Feature | Reason |
|---------|--------|
| 025-nav-label-rename | User skipped |
Note: Original folders in specs/ are preserved. Once verified, you can remove them manually.
--dry-run — Show proposed mappings for all features without moving anything--all — Skip individual confirmations and move all features using auto-detected systems (use with caution)specs/ remain untouched as a safety measure.specs/..specify/systems/ are skipped automatically.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
36 skills in this plugin
/smithInitialize SpecKit on a new or existing project — scans the codebase, interviews you about project details, and generates CLAUDE.md, constitution.md, and the full .specify/ scaffolding with commands and agents./smith-activityOpen the local Smith activity dashboard — one loopback daemon serving every registered project, showing live workflow phases, sessions, subagents, worktrees, token usage and divergence findings. Start, stop, restart or check the daemon, or open a new tab for the current project./smith-analyzePerform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation./smith-auditRun a comprehensive audit on a specific system or all systems. Prompts for system selection, then runs all sub-audits and produces a unified report./smith-bankCaptures ideas mid-conversation and stores them in the vault for later processing. Use when the user wants to save an idea, park a thought, or come back to something later. Supports listing, processing, editing, and prioritizing banked ideas./smith-bugfixLightweight fix workflow for bugs and small changes. Autonomous from invocation through merged PR — no questions gate, no spec generation, no planning phase.Claude Code refuses to install this plugin
.claude-plugin/plugin.json: author: Invalid input: expected object, received string, hooks: Invalid string: must start with "./", hooks: Invalid string: must end with ".json", skills: Invalid string: must start with "./"
.claude-plugin/plugin.json: author: Invalid input: expected object, received string, hooks: Invalid string: must start with "./", hooks: Invalid string: must end with ".json", skills: Invalid string: must start with "./"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
Other plugins' skills for the same job