Skip to content

Commit 0fcb799

Browse files
committed
Merge remote-tracking branch 'origin/main' into docs/extension-comparison-guide
Made-with: Cursor # Conflicts: # extensions/README.md
2 parents 85d842b + 6d0b84a commit 0fcb799

File tree

4 files changed

+104
-6
lines changed

4 files changed

+104
-6
lines changed

README.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
- [🚶 Community Walkthroughs](#-community-walkthroughs)
2626
- [🤖 Supported AI Agents](#-supported-ai-agents)
2727
- [🔧 Specify CLI Reference](#-specify-cli-reference)
28+
- [🧩 Making Spec Kit Your Own: Extensions & Presets](#-making-spec-kit-your-own-extensions--presets)
2829
- [📚 Core Philosophy](#-core-philosophy)
2930
- [🌟 Development Phases](#-development-phases)
3031
- [🎯 Experimental Goals](#-experimental-goals)
@@ -326,6 +327,68 @@ Additional commands for enhanced quality and validation:
326327
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
327328
| `SPECIFY_FEATURE` | Override feature detection for non-Git repositories. Set to the feature directory name (e.g., `001-photo-albums`) to work on a specific feature when not using Git branches.<br/>\*\*Must be set in the context of the agent you're working with prior to using `/speckit.plan` or follow-up commands. |
328329

330+
## 🧩 Making Spec Kit Your Own: Extensions & Presets
331+
332+
Spec Kit can be tailored to your needs through two complementary systems — **extensions** and **presets** — plus project-local overrides for one-off adjustments:
333+
334+
```mermaid
335+
block-beta
336+
columns 1
337+
overrides["⬆ Highest priority\nProject-Local Overrides\n.specify/templates/overrides/"]
338+
presets["Presets — Customize core & extensions\n.specify/presets/<preset-id>/templates/"]
339+
extensions["Extensions — Add new capabilities\n.specify/extensions/<ext-id>/templates/"]
340+
core["Spec Kit Core — Built-in SDD commands & templates\n.specify/templates/\n⬇ Lowest priority"]
341+
342+
style overrides fill:transparent,stroke:#999
343+
style presets fill:transparent,stroke:#4a9eda
344+
style extensions fill:transparent,stroke:#4a9e4a
345+
style core fill:transparent,stroke:#e6a817
346+
```
347+
348+
**Templates** are resolved at **runtime** — Spec Kit walks the stack top-down and uses the first match. Project-local overrides (`.specify/templates/overrides/`) let you make one-off adjustments for a single project without creating a full preset. **Commands** are applied at **install time** — when you run `specify extension add` or `specify preset add`, command files are written into agent directories (e.g., `.claude/commands/`). If multiple presets or extensions provide the same command, the highest-priority version wins. On removal, the next-highest-priority version is restored automatically. If no overrides or customizations exist, Spec Kit uses its core defaults.
349+
350+
### Extensions — Add New Capabilities
351+
352+
Use **extensions** when you need functionality that goes beyond Spec Kit's core. Extensions introduce new commands and templates — for example, adding domain-specific workflows that are not covered by the built-in SDD commands, integrating with external tools, or adding entirely new development phases. They expand *what Spec Kit can do*.
353+
354+
```bash
355+
# Search available extensions
356+
specify extension search
357+
358+
# Install an extension
359+
specify extension add <extension-name>
360+
```
361+
362+
For example, extensions could add Jira integration, post-implementation code review, V-Model test traceability, or project health diagnostics.
363+
364+
See the [Extensions README](./extensions/README.md) for the full guide, the complete community catalog, and how to build and publish your own.
365+
366+
### Presets — Customize Existing Workflows
367+
368+
Use **presets** when you want to change *how* Spec Kit works without adding new capabilities. Presets override the templates and commands that ship with the core *and* with installed extensions — for example, enforcing a compliance-oriented spec format, using domain-specific terminology, or applying organizational standards to plans and tasks. They customize the artifacts and instructions that Spec Kit and its extensions produce.
369+
370+
```bash
371+
# Search available presets
372+
specify preset search
373+
374+
# Install a preset
375+
specify preset add <preset-name>
376+
```
377+
378+
For example, presets could restructure spec templates to require regulatory traceability, adapt the workflow to fit the methodology you use (e.g., Agile, Kanban, Waterfall, jobs-to-be-done, or domain-driven design), add mandatory security review gates to plans, enforce test-first task ordering, or localize the entire workflow to a different language. The [pirate-speak demo](https://github.com/mnriem/spec-kit-pirate-speak-preset-demo) shows just how deep the customization can go. Multiple presets can be stacked with priority ordering.
379+
380+
See the [Presets README](./presets/README.md) for the full guide, including resolution order, priority, and how to create your own.
381+
382+
### When to Use Which
383+
384+
| Goal | Use |
385+
| --- | --- |
386+
| Add a brand-new command or workflow | Extension |
387+
| Customize the format of specs, plans, or tasks | Preset |
388+
| Integrate an external tool or service | Extension |
389+
| Enforce organizational or regulatory standards | Preset |
390+
| Ship reusable domain-specific templates | Either — presets for template overrides, extensions for templates bundled with new commands |
391+
329392
## 📚 Core Philosophy
330393

331394
Spec-Driven Development is a structured process that emphasizes:

extensions/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ The following community-contributed extensions are available in [`catalog.commun
7979
| Archive Extension | Archive merged features into main project memory. | `docs` | Read+Write | [spec-kit-archive](https://github.com/stn1slv/spec-kit-archive) |
8080
| Azure DevOps Integration | Sync user stories and tasks to Azure DevOps work items using OAuth authentication | `integration` | Read+Write | [spec-kit-azure-devops](https://github.com/pragya247/spec-kit-azure-devops) |
8181
| Cleanup Extension | Post-implementation quality gate that reviews changes, fixes small issues (scout rule), creates tasks for medium issues, and generates analysis for large issues | `code` | Read+Write | [spec-kit-cleanup](https://github.com/dsrednicki/spec-kit-cleanup) |
82-
| Cognitive Squad | 19-function cognitive agent squad for autonomous pre-code analysis — 7 core agents, 7 specialists, 4 learning functions with feedback loop | `docs` | Read+Write | [cognitive-squad](https://github.com/Testimonial/cognitive-squad) |
82+
| Cognitive Squad | Multi-agent cognitive system with Triadic Model: understanding, internalization, application — with quality gates, backpropagation verification, and self-healing | `docs` | Read+Write | [cognitive-squad](https://github.com/Testimonial/cognitive-squad) |
8383
| DocGuard — CDD Enforcement | Canonical-Driven Development enforcement. Validates, scores, and traces project documentation with automated checks, AI-driven workflows, and spec-kit hooks. Zero NPM runtime dependencies. | `docs` | Read+Write | [spec-kit-docguard](https://github.com/raccioly/docguard) |
8484
| Fleet Orchestrator | Orchestrate a full feature lifecycle with human-in-the-loop gates across all SpecKit phases | `process` | Read+Write | [spec-kit-fleet](https://github.com/sharathsatish/spec-kit-fleet) |
8585
| Iterate | Iterate on spec documents with a two-phase define-and-apply workflow — refine specs mid-implementation and go straight back to building | `docs` | Read+Write | [spec-kit-iterate](https://github.com/imviancagrace/spec-kit-iterate) |
@@ -91,6 +91,7 @@ The following community-contributed extensions are available in [`catalog.commun
9191
| Reconcile Extension | Reconcile implementation drift by surgically updating feature artifacts. | `docs` | Read+Write | [spec-kit-reconcile](https://github.com/stn1slv/spec-kit-reconcile) |
9292
| Retrospective Extension | Post-implementation retrospective with spec adherence scoring, drift analysis, and human-gated spec updates | `docs` | Read+Write | [spec-kit-retrospective](https://github.com/emi-dm/spec-kit-retrospective) |
9393
| Review Extension | Post-implementation comprehensive code review with specialized agents for code quality, comments, tests, error handling, type design, and simplification | `code` | Read-only | [spec-kit-review](https://github.com/ismaelJimenez/spec-kit-review) |
94+
| SDD Utilities | Resume interrupted workflows, validate project health, and verify spec-to-task traceability | `process` | Read+Write | [speckit-utils](https://github.com/mvanhorn/speckit-utils) |
9495
| Spec Sync | Detect and resolve drift between specs and implementation. AI-assisted resolution with human approval | `docs` | Read+Write | [spec-kit-sync](https://github.com/bgervin/spec-kit-sync) |
9596
| Understanding | Automated requirements quality analysis — 31 deterministic metrics against IEEE/ISO standards with experimental energy-based ambiguity detection | `docs` | Read-only | [understanding](https://github.com/Testimonial/understanding) |
9697
| V-Model Extension Pack | Enforces V-Model paired generation of development specs and test specs with full traceability | `docs` | Read+Write | [spec-kit-v-model](https://github.com/leocamello/spec-kit-v-model) |

extensions/catalog.community.json

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"schema_version": "1.0",
3-
"updated_at": "2026-03-18T04:21:25Z",
3+
"updated_at": "2026-03-18T19:53:31Z",
44
"catalog_url": "https://raw.githubusercontent.com/github/spec-kit/main/extensions/catalog.community.json",
55
"extensions": {
66
"archive": {
@@ -154,8 +154,8 @@
154154
"id": "docguard",
155155
"description": "Canonical-Driven Development enforcement. Validates, scores, and traces project documentation with automated checks, AI-driven workflows, and spec-kit hooks. Zero NPM runtime dependencies.",
156156
"author": "raccioly",
157-
"version": "0.9.10",
158-
"download_url": "https://github.com/raccioly/docguard/releases/download/v0.9.10/spec-kit-docguard-v0.9.10.zip",
157+
"version": "0.9.11",
158+
"download_url": "https://github.com/raccioly/docguard/releases/download/v0.9.11/spec-kit-docguard-v0.9.11.zip",
159159
"repository": "https://github.com/raccioly/docguard",
160160
"homepage": "https://www.npmjs.com/package/docguard-cli",
161161
"documentation": "https://github.com/raccioly/docguard/blob/main/extensions/spec-kit-docguard/README.md",
@@ -189,7 +189,7 @@
189189
"downloads": 0,
190190
"stars": 0,
191191
"created_at": "2026-03-13T00:00:00Z",
192-
"updated_at": "2026-03-18T04:21:25Z"
192+
"updated_at": "2026-03-18T18:53:31Z"
193193
},
194194
"doctor": {
195195
"name": "Project Health Check",
@@ -452,6 +452,38 @@
452452
"created_at": "2026-03-06T00:00:00Z",
453453
"updated_at": "2026-03-06T00:00:00Z"
454454
},
455+
"speckit-utils": {
456+
"name": "SDD Utilities",
457+
"id": "speckit-utils",
458+
"description": "Resume interrupted workflows, validate project health, and verify spec-to-task traceability.",
459+
"author": "mvanhorn",
460+
"version": "1.0.0",
461+
"download_url": "https://github.com/mvanhorn/speckit-utils/archive/refs/tags/v1.0.0.zip",
462+
"repository": "https://github.com/mvanhorn/speckit-utils",
463+
"homepage": "https://github.com/mvanhorn/speckit-utils",
464+
"documentation": "https://github.com/mvanhorn/speckit-utils/blob/main/README.md",
465+
"changelog": "https://github.com/mvanhorn/speckit-utils/blob/main/CHANGELOG.md",
466+
"license": "MIT",
467+
"requires": {
468+
"speckit_version": ">=0.1.0"
469+
},
470+
"provides": {
471+
"commands": 3,
472+
"hooks": 2
473+
},
474+
"tags": [
475+
"resume",
476+
"doctor",
477+
"validate",
478+
"workflow",
479+
"health-check"
480+
],
481+
"verified": false,
482+
"downloads": 0,
483+
"stars": 0,
484+
"created_at": "2026-03-18T00:00:00Z",
485+
"updated_at": "2026-03-18T00:00:00Z"
486+
},
455487
"sync": {
456488
"name": "Spec Sync",
457489
"id": "sync",

presets/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,15 @@ When Spec Kit needs a template (e.g. `spec-template`), it walks a resolution sta
1313

1414
If no preset is installed, core templates are used — exactly the same behavior as before presets existed.
1515

16+
Template resolution happens **at runtime** — although preset files are copied into `.specify/presets/<id>/` during installation, Spec Kit walks the resolution stack on every template lookup rather than merging templates into a single location.
17+
1618
For detailed resolution and command registration flows, see [ARCHITECTURE.md](ARCHITECTURE.md).
1719

1820
## Command Overrides
1921

2022
Presets can also override the commands that guide the SDD workflow. Templates define *what* gets produced (specs, plans, constitutions); commands define *how* the LLM produces them (the step-by-step instructions).
2123

22-
When a preset includes `type: "command"` entries, the commands are automatically registered into all detected agent directories (`.claude/commands/`, `.gemini/commands/`, etc.) in the correct format (Markdown or TOML with appropriate argument placeholders). When the preset is removed, the registered commands are cleaned up.
24+
Unlike templates, command overrides are applied **at install time**. When a preset includes `type: "command"` entries, the commands are registered into all detected agent directories (`.claude/commands/`, `.gemini/commands/`, etc.) in the correct format (Markdown or TOML with appropriate argument placeholders). When the preset is removed, the registered commands are cleaned up.
2325

2426
## Quick Start
2527

0 commit comments

Comments
 (0)