Skip to main content
plugin

spec-engine — Claude Code plugin: what it does, how to install

spec-engine guides feature development from EARS requirements to release in Claude Code through parallel worktrees, wave execution, and automated verification gates.

no license ★ 7 updated 2026-10-03

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add anthropics/claude-plugins-community
/plugin install spec-engine@claude-community
Open on GitHub

What spec-engine does

The plugin coordinates spec-driven development directly inside Claude Code. When you run /spec, it builds requirements using EARS syntax, constructs a STRIDE threat model, and pauses at a mandatory human gate. Once the design is approved, tasks form a directed acyclic graph partitioned into execution waves. Parallel worker agents run in isolated git worktrees, preventing conflicts when modifying separate files simultaneously.

Deterministic logic lives in scripts/spec-state.py, relying only on Python standard library modules. The engine avoids trusting model self-reports: wiring is confirmed via grep, while tests, linters, and secret scans execute in diff mode after every wave. Plugin hooks actively guard the workflow. They block git commits if state.json contains unstaged edits and prevent terminating a session while tasks remain in progress or unwired.

Without git and python3 3.9 or higher present in your environment, the engine fails before generating scaffolding. A 15-phase audit computes a posture score and halts /spec-ship if critical security issues emerge.

What it helps with

  • generate structured EARS requirements with a STRIDE threat model
  • execute independent coding tasks simultaneously across isolated git worktrees
  • verify component integration using grep instead of agent self-reports
  • evaluate pull requests against a 15-phase security audit

Example prompts for the agent

  • /spec user-authentication
  • /spec-loop --max-iterations 5
  • /spec-quick "fix mobile navbar button alignment"

How to install spec-engine

Plugin marketplace

/plugin marketplace add anthropics/claude-plugins-community
/plugin install spec-engine@claude-community

Step by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own

Questions about spec-engine

How to install spec-engine in Claude Code?

Register the marketplace repository with /plugin marketplace add anthropics/claude-plugins-community and install the plugin by running /plugin install spec-engine@claude-community.

What does spec-engine do?

It coordinates feature creation from requirements and STRIDE threat modeling through parallel wave execution in worktrees down to release auditing.

What prerequisites are required to run spec-engine?

Your machine needs git and python3 version 3.9 or newer; the underlying helper scripts only use Python standard library packages.

Similar plugins

All plugins for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open