From smith
Migrates flat numbered feature spec folders from specs/ into .specify/systems/<system>/features/ hierarchy. Auto-detects primary systems using spec analysis, service heuristics, and git history. Supports dry-run.
npx claudepluginhub attckdigital/smithThis skill uses the workspace's default tool permissions.
Migrate existing feature spec folders from `specs/<NNN-feature>/` into the system-based hierarchy at `.specify/systems/<system>/features/<NNN-feature>/`.
Manages feature specifications lifecycle: creates from requirements in draft/, tracks progress, moves to active (max 3) or completed folders. Use for planning, status checks, activation, or completion.
Complete spec workflow - generates Run ID, creates isolated worktree, brainstorms requirements, writes lean spec documents that reference constitutions, validates architecture quality, and reports completion
Creates or updates feature specifications from natural language descriptions. Generates git branch names, checks existing branches and specs directories, and logs events to vault session.
Share bugs, ideas, or general feedback.
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.