Repository navigation
What's new in 2.8.0
The commit gate as a git hook (gate: git)
The gate that runs your verify: stages on every spec commit now also works outside Claude Code. Declare gate: git in one context and install the hook once per clone:
python3 <spec-first clone>/hooks/install-git-hook.pyThe commit-msg hook gates every commit whose message names a spec, from Codex, Cursor, Copilot or the terminal. Where the hook is installed, the Claude Code hook steps aside so only one gate runs. Where it is missing, or a commit uses --no-verify, the Claude Code hook still gates.
AGENTS.md for every agent
templates/prompt.md is now agent-neutral. Each workflow step names its plugin command and says how to do it by hand, and the review brief for a fresh session is included verbatim. bootstrap-project writes AGENTS.md and a CLAUDE.md that imports it with @AGENTS.md.
Website
The method has its own page: spec-first.dev. The plugin manifests now point there, and the repository stays linked.
Upgrading
Run /plugin update, then /spec-first:update-project. Step 3j offers both changes and applies only what you approve:
- Every teammate needs 2.8.0 before any context declares
gate: git. A 2.7.0 plugin reads it as an unknown value and blocks every spec commit. - Install the hook in every clone, and again after each plugin upgrade.
- The hook needs python3 and PyYAML and runs on POSIX systems.
- Under Claude Code its stages must finish in 570 s.
- The installer refuses to replace a commit-msg hook it did not write, such as a
git-secretshook from a global git template. Merge the two hooks by hand.
Also since 1.0.0
Versions 2.0 to 2.7 shipped without tags. They brought:
- per-stack
contexts/and YAML decisions - date-minted spec ids
review-specwith an evidence check and a fresh reviewerapply-spec,deliver-specanddeliver-series- experiential memory
- the PreToolUse commit gate
See the README and skills/update-project for the full path.