speckit-run
Execute the complete GitHub Spec Kit 5-phase workflow from constitution to implementation.
What this skill does
# Run Spec Kit Workflow Execute the complete GitHub Spec Kit 5-phase specification-driven development workflow. ## The 5 Phases ```text ┌─────────────────────────────────────────────────────────────┐ │ SPEC KIT WORKFLOW │ ├─────────────────────────────────────────────────────────────┤ │ │ │ Phase 0: CONSTITUTION │ │ Define project principles and constraints │ │ ↓ [Constitution exists and is valid] │ │ │ │ Phase 1: SPECIFY │ │ Generate canonical specification from feature request │ │ ↓ [Spec validates, INVEST score ≥ 7] │ │ │ │ Phase 2: PLAN │ │ Create implementation design and approach │ │ ↓ [Design covers all requirements] │ │ │ │ Phase 3: TASKS │ │ Break down into implementable task list │ │ ↓ [Tasks map to requirements] │ │ │ │ Phase 4: IMPLEMENT │ │ Execute tasks with continuous validation │ │ ↓ [All ACs pass] │ │ │ │ ✓ COMPLETE │ │ │ └─────────────────────────────────────────────────────────────┘ ``` ## Workflow 1. **Initialize** - Spawn `speckit-runner` agent (Opus) - Check for existing constitution - Determine starting phase 2. **Phase 0: Constitution** - Check for `.constitution.md` - If missing, create with project principles - Validate constitution structure 3. **Phase 1: Specify** - Invoke `spec-processor generate` agent - Generate canonical specification - Validate with `spec-reviewer validate` - Gate: INVEST score ≥ 7 4. **Phase 2: Plan** - Analyze codebase - Generate implementation design - Map design to requirements - Gate: All requirements covered 5. **Phase 3: Tasks** - Break into vertical slices - Generate task breakdown - Map tasks to requirements - Gate: All requirements have tasks 6. **Phase 4: Implement** - Execute tasks in order - Validate acceptance criteria - Run tests - Gate: All ACs pass 7. **Complete** - Generate completion report - Update specification status - Archive workflow artifacts ## Arguments - `$ARGUMENTS` - Feature request description - `--resume` - Resume from last checkpoint - `--phase` - Start from specific phase (0-4) - `--skip-constitution` - Skip Phase 0 if constitution exists ## Examples ```bash # Full workflow from feature request /spec-driven-development:speckit-run "User authentication with email and OAuth" # Resume interrupted workflow /spec-driven-development:speckit-run --resume # Start from Phase 2 (existing spec) /spec-driven-development:speckit-run --phase 2 .specs/auth/spec.md # Skip constitution check /spec-driven-development:speckit-run "New feature" --skip-constitution ``` ## Progress Tracking The runner maintains checkpoints: ```markdown ## Spec Kit Workflow: user-auth **Started:** 2024-01-15T09:00:00Z **Status:** Phase 2 - Plan ### Progress | Phase | Status | Started | Completed | | --- | --- | --- | --- | | 0. Constitution | ✓ Complete | 09:00 | 09:02 | | 1. Specify | ✓ Complete | 09:02 | 09:15 | | 2. Plan | 🔄 In Progress | 09:15 | - | | 3. Tasks | ⏳ Pending | - | - | | 4. Implement | ⏳ Pending | - | - | ### Artifacts - Constitution: .constitution.md ✓ - Specification: .specs/user-auth/spec.md ✓ - Design: .specs/user-auth/design.md (in progress) - Tasks: pending ``` ## Validation Gates Each phase has quality gates: | Phase | Gate Criteria | | --- | --- | | Constitution | File exists, required sections present | | Specify | Schema valid, EARS format, INVEST ≥ 7 | | Plan | All requirements addressed, components defined | | Tasks | All requirements have tasks, < 1 day each | | Implement | All ACs pass, tests pass | ## Rollback Support If a phase fails: ```markdown ## Rollback Required **Phase:** 2 (Plan) **Reason:** Design does not cover FR-3 ### Options 1. [Retry] Re-run Phase 2 with updated context 2. [Rollback] Return to Phase 1 and update spec 3. [Skip] Mark FR-3 as out-of-scope and continue ``` ## Completion Report ```markdown # Spec Kit Workflow Complete **Feature:** User Authentication **Duration:** 09:00 - 11:30 (2h 30m) **Status:** ✓ SUCCESS ## Phase Summary | Phase | Duration | Artifacts | Issues | | --- | --- | --- | --- | | Constitution | 2m | .constitution.md | 0 | | Specify | 13m | spec.md | 0 | | Plan | 18m | design.md | 1 (resolved) | | Tasks | 12m | tasks.md | 0 | | Implement | 85m | 12 files | 2 (resolved) | ## Requirements Delivered | ID | Title | Status | ACs | | --- | --- | --- | --- | | FR-1 | Email Login | ✓ | 4/4 | | FR-2 | OAuth Login | ✓ | 3/3 | | FR-3 | Session Management | ✓ | 5/5 | ``` ## Related Commands - `/spec-driven-development:specify` - Phase 1 only - `/spec-driven-development:plan` - Phase 2 only - `/spec-driven-development:tasks` - Phase 3 only - `/spec-driven-development:implement` - Phase 4 only - `/spec-driven-development:constitution` - Phase 0 only
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.