Forge extends Spec Kit with commands for the parts of software development that happen before and after the core specify → plan → tasks → implement cycle: product strategy, retrospectives, code & design reviews, and design systems.
Spec Kit gives you a powerful pipeline — specify → plan → tasks → implement — but real projects need more than feature implementation. Forge fills the gaps:
- Before you specify: Define your product roadmap and design system so feature specs have context.
- While you build: Review code quality, design system compliance, and UX heuristics before merging.
- After you ship: Run retrospectives to capture lessons learned and improve your process.
Every Forge command produces .specify/memory/ artifacts that the Spec Kit pipeline reads as context. Design tokens inform feature specs. Component specs feed into implementation plans. Retrospective insights shape future constitutions. The commands are independent but composable — use one or use all.
-
Install:
specify extension add forge -
Run a command in any project with Spec Kit:
/speckit.forge.roadmap "Build a photo sharing app with album organization" -
See the output at
.specify/memory/roadmap.md— then use/speckit.specifyto turn roadmap features into implementation-ready specs.
| Command | Alias | Description |
|---|---|---|
speckit.forge.roadmap |
speckit.roadmap |
Create or update a multi-file product roadmap |
speckit.forge.retrospective |
speckit.retrospective |
Analyze a completed feature or session, capture lessons learned, propose improvements |
| Command | Alias | Description |
|---|---|---|
speckit.forge.review-code |
speckit.review-code |
Review changed code for quality, correctness, security, and guideline compliance |
speckit.forge.review-design |
speckit.review-design |
Review UI code for design system compliance (HIG, Material, Web) |
speckit.forge.review-ux |
speckit.review-ux |
Evaluate UI code against Nielsen's 10 usability heuristics |
| Command | Alias | Description |
|---|---|---|
speckit.forge.design-system |
speckit.design-system |
Initialize or update a project design system specification |
speckit.forge.component |
speckit.component |
Design and spec a reusable component for web and/or mobile |
speckit.forge.design-tokens |
speckit.design-tokens |
Manage design tokens (colors, spacing, typography) |
Create a new roadmap:
/speckit.forge.roadmap "Build a Swift cryptography library targeting Bitcoin, Lightning, and Nostr developers"
This generates:
.specify/memory/roadmap.md— high-level index (vision, phases, metrics, changelog).specify/memory/roadmap/phase-*.md— detailed per-phase files with features, dependencies, and risks
Update an existing roadmap:
/speckit.forge.roadmap "Mark Phase 1 complete, add BIP-39 mnemonic support to Phase 4"
The command detects existing artifacts and performs an incremental update with semantic versioning.
Run a retrospective:
/speckit.forge.retrospective
After a feature or session, this:
- Validates task completion (warns if <80% done)
- Analyzes spec adherence and drift
- Asks you interactively what caused friction and what to improve
- Generates a
retrospective.mdwith metrics, proposed edits, and experiments
Review code changes:
/speckit.forge.review-code
Before a PR, this:
- Detects changed files (feature branch diff or staged/unstaged)
- Reviews across 8 dimensions (logic, security, guidelines, tests, performance, docs, design, dependencies)
- Scores each finding by confidence (only reports ≥76)
- Outputs a severity-grouped report with file:line references and fix suggestions
Customize with a REVIEW.md at repo root ("Always check" / "Style" / "Skip" sections).
Review design system compliance:
/speckit.forge.review-design
Auto-detects the design system from code (SwiftUI → Apple HIG, Compose → Material Design 3, React/HTML → Web/WCAG) and reviews across 6 dimensions: foundations, layout, components, accessibility, content display, and platform conventions.
Customize with a DESIGN.md at repo root ("Design System" / "Always check" / "Style" / "Skip" sections).
Evaluate UX heuristics:
/speckit.forge.review-ux
Evaluates UI code against Nielsen's 10 usability heuristics, identifying code-level UX issues like missing loading states, unclear error messages, and lack of undo support.
Initialize a design system:
/speckit.forge.design-system "Mobile-first SwiftUI app with custom component library targeting WCAG AA"
Creates .specify/memory/design-system.md with design principles, visual foundation (colors, typography, spacing), component library with status tracking, UX guidelines, implementation notes, and governance rules. Supports iOS, Android, and Web projects. Optionally pulls context from Figma via MCP.
Spec a reusable component:
/speckit.forge.component "Button with primary, secondary, and destructive variants"
Creates .specify/memory/components/button.md with anatomy, variants, sizes, states, props/API, accessibility, platform-specific notes, content guidelines, related components, usage guidelines, and code examples.
Define design tokens:
/speckit.forge.design-tokens "Initialize tokens for our SwiftUI app with dark mode support"
Creates .specify/memory/design-tokens.md with a 3-tier token hierarchy (primitive → semantic → component), token modes (light, dark, high-contrast), and platform-specific code blocks (Swift extensions, Compose objects, CSS custom properties).
specify extension add forge
specify extension add --from https://github.com/21-DOT-DEV/spec-kit-extensions/releases/latest
See all releases for specific versions.
git clone https://github.com/21-DOT-DEV/spec-kit-extensions.git
specify extension add --dev /path/to/spec-kit-extensions
specify extension list
# Should show:
# ✓ Forge
# Commands: 8 | Status: Enabled
# Clone the repo
git clone https://github.com/21-DOT-DEV/spec-kit-extensions.git
cd spec-kit-extensions
# Install in dev mode (symlinks to your local copy)
specify extension add --dev .
# Make changes to commands/ and test in any project with Spec Kit installed- Spec Kit >= 0.1.0
- An AI coding agent (Windsurf, Claude Code, Cursor, GitHub Copilot, etc.)
Contributions are welcome. To get started:
- Fork and clone the repository
- Install in dev mode:
specify extension add --dev . - Edit or add commands in
commands/(Markdown with YAML frontmatter) - Test in any project with Spec Kit installed
See the Spec Kit Extension Development Guide for command format and publishing details. Open an issue for bugs, ideas, or questions.
Forge draws on research and patterns from many sources:
- Spec Kit — the parent toolkit and spec-driven development methodology
- Supernova.io — component health tracking, design system management patterns
- UI Guideline — cross-system component naming research from 20 top design systems
- Component Gallery — component examples and alternative names from 95+ design systems
- W3C Design Tokens Community Group — token format specification and taxonomy
- Nielsen Norman Group — the 10 usability heuristics adapted for code-level UX review
- Figma MCP — design context extraction via Model Context Protocol
- Apple HIG, Material Design 3, WCAG 2.2 — platform design guidelines for review commands