Installation tool for spec-kit-extensions that works alongside specify init
Project description
spec-kit-extensions
11 production-tested workflows that extend spec-kit to cover the complete software development lifecycle.
What Is This?
spec-kit provides structured workflows for feature development (/speckit.specify → /speckit.plan → /speckit.tasks → /speckit.implement). These extensions add 11 additional workflows for the remaining ~75% of software development work:
Workflow Extensions (full spec-kit workflow with branch, specs, and templates)
/speckit.workflows.bugfix- Fix bugs with regression-test-first approach/speckit.workflows.hotfix- Handle production emergencies with expedited process/speckit.workflows.enhance- Make minor enhancements with streamlined single-doc workflow/speckit.workflows.refactor- Improve code quality with metrics tracking/speckit.workflows.deprecate- Sunset features with phased 3-step rollout/speckit.workflows.modify- Modify existing features with automatic impact analysis/speckit.workflows.baseline- Establish project baseline and track all changes/speckit.workflows.cleanup- Validate and reorganize spec-kit artifacts
Command Extensions (provide commands without workflow structure)
/speckit.workflows.review- Review completed work with structured feedback/speckit.workflows.phasestoissues- Create individual GitHub issues for each development phase/speckit.workflows.incorporate- Incorporate documents into workflows
Note: All commands also have short aliases (e.g.,
/speckit.bugfixinstead of/speckit.workflows.bugfix).
Why Use These Extensions?
The Problem
With vanilla spec-kit, you get structure for ~25% of your work (new features), but the remaining 75% happens ad-hoc:
- Bugs: No systematic approach → regressions happen
- Feature changes: No impact analysis → breaking changes
- Code quality: No metrics → unclear if refactor helped
- Emergencies: No process → panic-driven development
- Feature removal: No plan → angry users
The Solution
These extensions bring spec-kit's structured approach to all development activities:
| Activity | Without Extensions | With Extensions |
|---|---|---|
| New Feature | /speckit.specify workflow |
Same |
| Project Baseline | Ad-hoc | /speckit.workflows.baseline with comprehensive docs |
| Bug Fix | Ad-hoc | /speckit.workflows.bugfix with regression tests |
| Minor Enhancement | Ad-hoc | /speckit.workflows.enhance with streamlined planning |
| Modify Feature | Ad-hoc | /speckit.workflows.modify with impact analysis |
| Refactor Code | Ad-hoc | /speckit.workflows.refactor with metrics |
| Production Fire | Panic | /speckit.workflows.hotfix with post-mortem |
| Remove Feature | Hope | /speckit.workflows.deprecate with 3-phase sunset |
| Codebase Cleanup | Manual | /speckit.workflows.cleanup with automation |
| Work Review | Inconsistent | /speckit.workflows.review with structured feedback |
| GitHub Issues | Manual | /speckit.workflows.phasestoissues with phase-level tracking |
Quick Start
Prerequisites
- spec-kit installed from source (github.com/github/spec-kit) — requires version with extension support (v0.2.0+)
- AI coding agent (Claude Code, GitHub Copilot, Gemini CLI, Cursor, etc.)
- Git repository
Installation
Step 1: Initialize spec-kit (if not already done):
specify init --here --ai claude
Step 2: Install extensions (recommended):
# Install the CLI tool
pip install specify-extend
# or: uvx specify-extend --all
# Install all extensions
specify-extend --all
specify-extend --all is the recommended installation method until spec-kit natively supports alternate feature branch patterns (bugfix/, hotfix/, etc.). It:
- Downloads and installs the extension via
specify extension add - Patches spec-kit's
common.shto recognize extension branch patterns
Alternative: Native spec-kit install (advanced — does not patch branch patterns):
# Install extension only (no branch pattern support)
specify extension add workflows --from https://github.com/pradeepmouli/spec-kit-extensions/archive/refs/heads/main.zip
# Then manually patch branch patterns
specify-extend --patch
Optional Companion Extensions
You can optionally have specify-extend install curated community extensions that complement this workflow pack.
# See curated companions
specify-extend --list-community
# Install this extension + recommended companions
specify-extend --all --with-community recommended
# Install this extension + specific companions
specify-extend --all --with-community worktree,spec-refine
# Preview without changes
specify-extend --all --with-community recommended --dry-run
Supported selectors for --with-community:
recommended— installs a curated default setall— installs every curated community extension- Comma-separated keys — installs only selected companions
Replacement keys for overlapping workflows:
review-plus— community replacement candidate for/speckit.reviewcleanup-plus— community replacement candidate for/speckit.cleanupbugfix-artifacts— community bugfix workflow focused on in-place artifact patching
Deprecation note:
reviewandcleanupin this extension are soft-deprecated and remain installable for compatibility.- Prefer companion installs (
review-plus,cleanup-plus) for new projects.
Why The CLI Still Patches Branch Validation
Spec Kit core branch validation still accepts numeric/timestamp feature branches by default. This extension introduces typed workflow branches (bugfix/, hotfix/, refactor/, etc.), so specify-extend patches branch validation until Spec Kit natively supports extension-registered branch patterns.
Verify Installation
# Check extension is installed
specify extension list
# Should show:
# Spec Kit Workflow Extensions (v3.2.0)
# Commands: 19 | Status: Enabled
# Try a command:
/speckit.workflows.bugfix "test bug"
# Or use the alias:
/speckit.bugfix "test bug"
Post-Installation Structure
After installation, your project will have:
your-project/
├── .specify/
│ ├── extensions/
│ │ └── workflows/ # Extension install directory
│ │ ├── extension.yml # Extension manifest
│ │ ├── commands/ # 19 command files (11 user + hook helpers)
│ │ │ ├── bugfix.md
│ │ │ ├── hotfix.md
│ │ │ ├── issue-sync-before-specify.md
│ │ │ └── ...
│ │ ├── scripts/
│ │ │ ├── bash/ # Bash create scripts + utils
│ │ │ └── powershell/ # PowerShell create scripts
│ │ └── templates/ # Workflow templates
│ │ ├── bugfix/
│ │ ├── hotfix/
│ │ └── ...
│ ├── scripts/bash/
│ │ └── common.sh # Patched with extension branch support
│ └── memory/
│ └── constitution.md
└── .claude/commands/ # Agent-specific command files (auto-generated)
Usage
Quick Decision Tree
Starting with spec-kit?
└─ Use /speckit.workflows.baseline to establish project context
Building something new?
├─ Major feature → /speckit.specify "description"
└─ Minor enhancement → /speckit.workflows.enhance "description"
Fixing broken behavior?
├─ Production emergency → /speckit.workflows.hotfix "incident"
└─ Non-urgent bug → /speckit.workflows.bugfix "bug description"
Changing existing feature?
├─ Adding/modifying behavior → /speckit.workflows.modify 014 "change"
└─ Improving code quality → /speckit.workflows.refactor "improvement"
Removing a feature?
└─ /speckit.workflows.deprecate 014 "reason"
Reviewing completed work?
└─ /speckit.workflows.review [task-id]
Creating GitHub issues?
└─ /speckit.workflows.phasestoissues
Example: Fix a Bug
# Step 1: Create bug report
/speckit.workflows.bugfix "profile form crashes when submitting without image"
# Creates: bug-report.md with initial analysis
# Step 2: Investigate and update bug-report.md with root cause
# Step 3: Create fix plan
/speckit.plan
# Step 4: Break down into tasks
/speckit.tasks
# Step 5: Execute fix
/speckit.implement
Example: Modify Existing Feature
# Step 1: Create modification spec with impact analysis
/speckit.workflows.modify 014 "make profile fields optional"
# Creates: modification-spec.md + impact-analysis.md
# Step 2: Review impact analysis
# Step 3-5: Plan, tasks, implement (same as above)
Native Hook Issue Sync
The extension runs mandatory lifecycle hook syncing for linked GitHub issues at:
before_specify,after_specifybefore_plan,after_planbefore_tasks,after_tasksbefore_implement,after_implement
Hook commands call scripts/bash/update-linked-issue.sh, which:
- Resolves the linked issue (PR closing references, feature docs, or explicit env var)
- Applies event-specific labels
- Optionally posts event status comments
- Optionally bootstraps missing labels in the target repository
Configuration files installed with the extension:
.specify/extensions/workflows/workflows-config.yml.specify/extensions/workflows/issue-sync.env
Use issue-sync.env to customize per-event mappings (SPECKIT_ISSUE_SYNC_LABEL_* and SPECKIT_ISSUE_SYNC_STATUS_*).
Workflow Cheat Sheet
| Workflow | Command | Alias | Key Feature |
|---|---|---|---|
| Feature | /speckit.specify "..." |
— | Full spec + design |
| Baseline | /speckit.workflows.baseline |
/speckit.baseline |
Context tracking |
| Bugfix | /speckit.workflows.bugfix "..." |
/speckit.bugfix |
Regression test |
| Enhance | /speckit.workflows.enhance "..." |
/speckit.enhance |
Single-doc workflow |
| Modify | /speckit.workflows.modify 014 "..." |
/speckit.modify |
Impact analysis |
| Refactor | /speckit.workflows.refactor "..." |
/speckit.refactor |
Baseline metrics |
| Hotfix | /speckit.workflows.hotfix "..." |
/speckit.hotfix |
Post-mortem |
| Deprecate | /speckit.workflows.deprecate 014 "..." |
/speckit.deprecate |
3-phase sunset |
| Cleanup | /speckit.workflows.cleanup |
/speckit.cleanup |
Automated validation |
| Review | /speckit.workflows.review |
/speckit.review |
Structured feedback |
| Phases→Issues | /speckit.workflows.phasestoissues |
/speckit.phasestoissues |
GitHub integration |
| Incorporate | /speckit.workflows.incorporate |
/speckit.incorporate |
Doc integration |
Compatibility
spec-kit Versions
- Required: spec-kit v0.3.1+ (with extension system support)
- Tested: spec-kit v0.5.1 and v0.6.0
- Install from source:
uv tool install specify-cli --from "git+https://github.com/github/spec-kit.git"
AI Agents
Commands are registered by spec-kit's extension system and work with any supported agent:
| Agent | Status |
|---|---|
| Claude Code | Supported |
| GitHub Copilot | Supported |
| Cursor | Supported |
| Windsurf | Supported |
| Gemini CLI | Supported |
| Codex CLI | Supported |
| Amazon Q Developer CLI | Supported |
Component Versions
- Extension (v3.2.0) — Workflows, commands, templates, and scripts
- CLI Tool (v2.2.1) —
specify-extendinstallation and patching tool
FAQ
Do I need to use all 11 workflows?
No! Use only what you need. Common combinations:
- Minimal: Just
bugfix(most teams need this) - Standard:
bugfix+enhance+modify(covers most scenarios) - Complete: All 11 workflows (full lifecycle coverage)
Why use specify-extend --all instead of specify extension add?
specify-extend --all additionally patches spec-kit's common.sh to support extension branch patterns (bugfix/, hotfix/, refactor/, etc.). Without this patch, spec-kit's branch validation will reject these branch names. Once spec-kit natively supports alternate branch patterns, specify extension add alone will be sufficient.
Can I customize the workflows?
Yes! After installation, all files are in .specify/extensions/workflows/. Edit templates, commands, or scripts to suit your needs.
Do these work without Claude Code?
Yes! The workflows are agent-agnostic. They work with any AI agent that supports spec-kit.
Contributing
We welcome contributions! See CONTRIBUTING.md for details.
License
MIT License — Same as spec-kit. See LICENSE.
Credits
Built for the spec-kit community by developers who wanted structured workflows for more than just new features.
- GitHub spec-kit team for the foundation
- Early adopters who tested these workflows in production
Support
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- spec-kit: Original spec-kit repo
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file specify_extend-2.4.0.tar.gz.
File metadata
- Download URL: specify_extend-2.4.0.tar.gz
- Upload date:
- Size: 383.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6446ce1adeb2a6626d7e0aad5568313050e67f3f98c2211241e02b9d73d297f3
|
|
| MD5 |
2499a211b14cbbaa8adb5574b1947f26
|
|
| BLAKE2b-256 |
a3d47ad324ecfe37a30fbe874fcc111b732c243017b7075ed0503a42e7d66457
|
File details
Details for the file specify_extend-2.4.0-py3-none-any.whl.
File metadata
- Download URL: specify_extend-2.4.0-py3-none-any.whl
- Upload date:
- Size: 31.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9ab574376284531b3efc18972bb78908416f3493454030e1226319542dd708c
|
|
| MD5 |
59cae6f58c736ac5f6dd9d19ef22c421
|
|
| BLAKE2b-256 |
01e63c9a2cd52a76ad745fadf47e1a625fcac96b20efd094765e4e6bc8b51998
|