Capability — Why and What
Captures product intent, user needs, expected outcomes, and acceptance criteria—the value dimension that spans structures.
Open source (Apache 2.0) · Git-native · Local-first · Cursor, Claude Code & Codex
SpecPlane is a specification-driven engineering toolkit that connects product intent, architecture, implementation changes, and verification evidence—so coding agents read your live promises before editing code, blast what else is tied to them, and check their work against what you declared.
You never hand-manage YAML or memorize CLI flags. Speak in product terms; SpecPlane’s skills and MCP tools resolve the current promise and isolate the change before a single application file moves.
“Reset links should expire in 15 minutes instead of 60.”
capability.authentication (currently 60 minutes) and classify this request as an evolve.capability.billing, capability.notifications, and foundation.security_baseline surface immediately.specs/changes/ so live specifications stay untouched while work is in flight.check_sync for declared coverage and run for bound tests, then promote into live YAML right before merge.$ specplane retrieve capability.authentication
bit: live status: launched
purpose: Prove identity, establish a session, and recover access
realized_by_components:
- component.password_reset
constraints.security:
- Password reset links expire in 60 minutes
- PKCE required for OAuth
$ specplane blast capability.authentication
affects:
capabilities:
- capability.authentication
- capability.billing
- capability.notifications
components:
- component.billing_api
- component.notifier
- component.password_reset
foundations:
- foundation.security_baseline
open_changes:
- add_dunning
SpecPlane extends the established C4 architecture model with a fifth dimension: Capability. Together, the five Cs connect what a product does with how it is engineered.
Captures product intent, user needs, expected outcomes, and acceptance criteria—the value dimension that spans structures.
Defines system boundaries, actors, and external integrations.
Describes applications, services, data stores, and their relationships.
Defines responsibilities, interfaces, internal dependencies, and behaviors.
Remains real software in Git, linked to components through optional realization.paths, implementation constraints, and bound sensors.
Shared principles, design systems, security, privacy, and engineering standards.
Staged evolution of specs and code in specs/changes/, preserving decisions and history.
Value vs. structure: Capability is not simply another level stacked above C4. It captures the value dimension—a single capability routinely spans multiple containers and components—so intent, architecture, and verification share one language. Read the 5C Model note →
AI coding agents accelerate implementation, while requirements, architecture decisions, security rules, and tests drift across separate files. SpecPlane keeps their relationships explicit in one Git-native graph—so humans and agents inspect the exact slice they need.
specplane impact and specplane view—never duplicated documents that drift apart.
Live blast view in specplane view showing every capability, component, and foundation affected by changing capability.authentication.
Open change add_dunning isolated in specs/changes/ while live specs remain unpolluted until promote.
Coding agents move quickly either way. The difference is whether your declared promises, cross-module dependencies, and check results stay connected across pull requests.
| Moment | Coding agent alone | With SpecPlane |
|---|---|---|
| Understanding the change | Searches code for TTL constants and guesses whether 60m was intentional or an invariant. |
Calls retrieve on capability.authentication, sees the live 60m security constraint, and stages an evolve change. |
| Cross-system impact | Updates the password-reset handler and misses downstream callers unless tests happen to fail. | blast explicitly names capability.billing, capability.notifications, component.notifier, and foundation.security_baseline before edits start. |
| Keeping specs true | Markdown docs or PR notes drift behind what actually merged. | Work stays in specs/changes/<slug>/ until promote updates live YAML, bumps meta.version, and logs the changelog atomically. |
| Verification | Runs whatever tests look nearby and reports success. | check_sync checks declared coverage; run invokes bound checks, prints not_run for unbound criteria, and writes evidence.json. |
Ceremony scales with semantic consequence—not diff size. Small cleanups never trigger a spec workflow.
| You ask | What happens |
|---|---|
| “Fix the typo” | No spec impact—skips retrieve and edits directly. |
| “Rename this helper” | Behavior-preserving refactor—skips retrieve and runs cleanly. |
| “Reset links expire in 15m, not 60m” | Tracks an evolve change, blasts tied capabilities and foundations, and checks bound tests. |
| “Make destructive actions green” | Surfaces the shared foundation rule and asks before changing tokens across components. |
| “Map what’s already in this repo” | Runs specplane-infer, drafts up to seven inferred capabilities with path cites, and waits for you to choose which IDs become live. |
One local kernel, multiple ways for humans and coding agents to work with it.
Git-native YAML templates for capabilities, 5C architecture, 3P system contracts, AI-native evaluators/guardrails, and shared foundations.
Fast local Python commands: retrieve, blast, impact, validate, check_sync, reconcile, run, and promote.
Portable SKILL.md workflows (implement, infer, explain, flows, qa, validate) copied straight into your repo on init.
Nine stdio tools with read-only/destructive safety annotations and dual NDJSON + Content-Length framing for standard MCP clients.
specplane view serves a local read-only explorer with live SSE reload, search, lifecycle pills, and auto-projected Mermaid diagrams.
Bind your existing unittest or CLI checks, emit non-technical human QA checklists, and persist evidence.json per change.
SpecPlane is built to be honest about what a deterministic graph knows—and what only real execution and human judgment can establish.
SpecPlane never parses application source files to infer hidden rules. reconcile reports declared realization.paths honestly (0/9 or 12/12).
check_sync checks graph coverage. run executes only checks you explicitly bind—unbound must: criteria print not_run, never a fake pass.
Invokes pytest, unittest, Playwright, or external QA agents via record_evidence without claiming legal, security, or compliance certification.
Sits underneath feature-prompt tools as the persistent system model and blast check that survives across pull requests.
Runs offline on your machine with no SpecPlane account or LLM API key. Optional command counts stay in ~/.specplane/events (specplane usage disable turns them off).
Plain files in your Git repository, no SaaS lock-in, and zero hosted runtime required for local engineering workflows.
Connecting product intent, architecture, change, and verification through a continuous engineering lifecycle—instead of stopping after the first prompt.
Read article →Connecting intent to implementation.
Retrieve, assess blast radius, implement, verify, and promote.
Connecting specification evolution with Git.
Pick the entry point that matches your repository.
Install the CLI, initialize the kit in your repo root, and ask your coding agent: “Map what’s already in this repo.”
The specplane-infer skill walks your named root, writes up to seven inferred capabilities with source path cites (never masquerading as live law), and lets you promote the IDs you trust with specplane accept --ids ....
uv tool install specplane==0.1.0a6
cd /path/to/your-repo
specplane init
# Then ask your agent: "Map what's already in this repo"
Initialize SpecPlane in an empty or early repo, open the local viewer, and describe your first product capability before picking containers or components.
Want to test-drive the full 60m → 15m change workflow first? Clone the repository and open examples/tiny-saas.
pip install "specplane==0.1.0a6"
specplane init
specplane view --open
Skills already invoke the CLI directly, and local MCP adds tool-native calls for retrieve, blast, impact, check_sync, list_gaps, history, run, get_acceptance_criteria, and record_evidence.
Drop this into per-project .cursor/mcp.json or .mcp.json (or register via claude mcp add).
{
"mcpServers": {
"specplane": {
"command": "specplane",
"args": ["mcp", "--spec-root", "/abs/path/to/your-project/specs"]
}
}
}