cc-spex

Extend Spec-Kit with composable extensions and workflow commands for Claude Code.
[!NOTE]
Version 6 makes spex agent-harness-agnostic: the same spec-driven workflow runs on Claude Code, Codex, OpenCode, and any platform that spec-kit supports. Upgrading from v5.x? See Migrating from v5.x to v6.x. The previous stable line remains on the 5.9.x branch.
Why cc-spex?
Spec-Kit is a great foundation for specification-driven development. cc-spex extends Spec-Kit across Claude Code and Codex through extensions, self-contained bundles that provide additional skills, commands, and lifecycle hooks where the harness supports them.
Six bundled extensions add quality gates, git worktree isolation, parallel agent execution, multi-perspective code review, and collaborative PR workflows. Each extension registers hooks that fire automatically at spec-kit lifecycle boundaries. You enable or disable them independently via specify extension enable/disable.
cc-spex also adds commands for things Spec-Kit doesn't cover: interactive brainstorming, spec/code drift detection, and autonomous pipelines. For hands-on work, you call each step yourself. For full automation, /speckit-spex-ship chains the entire workflow from brainstorm through code review with configurable oversight, and /speckit-spex-finish then verifies and lands the code.
Workflow
Specification-driven development works well as a solo practice: you write the spec, you implement it, you review your own code. The feedback loop is tight and the overhead is low. In a team setting, though, the approach hits friction. The spec, plan, and implementation together can produce thousands of lines of structured artifacts and code. A single PR containing all of that is difficult to review meaningfully. Reviewers either rubber-stamp it or spend hours trying to understand decisions that were made early in the process.
cc-spex addresses this with a two-phase workflow that separates specification from implementation. The key insight: catch design problems during spec review, before any code exists, so that implementation review can focus on whether the code matches an already-agreed specification.
The two phases can live in separate PRs (spec PR first, implementation PR second) or on the same PR (spec committed first, implementation added after approval). Labels track which phase the PR is in. The spex-collab extension must be enabled for the collaborative workflow features described below (specify extension enable spex-collab).
Phase 1: Specification
Start with an idea, refine it through brainstorming, then create a formal spec and implementation plan.
/speckit-spex-brainstorm # Refine the idea into a structured brainstorm document
/speckit-specify # Create formal spec from brainstorm
/speckit-plan # Generate implementation plan
/speckit-tasks # Generate task breakdown
Quality gates fire automatically via spex-gates hooks: review-spec runs after specify, review-plan runs after tasks. With spex-collab enabled, REVIEWERS.md is generated automatically after task generation as the single reviewer-facing artifact. The reviewers command offers to create a [Spec] PR automatically after generating REVIEWERS.md.
The REVIEWERS.md Guide
Reviewing a 500-line specification document from scratch is daunting. REVIEWERS.md is generated by spex to make even medium to large PRs reviewable within 30 minutes. It follows a question-driven structure: Why (the problem), What (outcome-level summary), How (implementation approach from plan.md), When (applicability and scope), then the design decisions that need human judgment and areas of concern.
All PRs created by spex include a link to the Review Guide at the top of the PR description, using full GitHub URLs that work across forks.
Open a PR with these artifacts. Reviewers follow REVIEWERS.md to understand the spec's scope, key decisions, and areas that need scrutiny.
PR Title Conventions
spex uses structured PR titles to communicate the content at a glance: