Skip to content
STAR ON GITHUB

Spec-to-Ship

NOW STABLE V0.2.x

Engineer AI agents
with structure.

Spec-to-Ship (s2s) is the structured engineering workflow for AI-assisted development. Move from vague prompts to verifiable, stage-gated delivery.

⚡ Chat-Native ⬡ Isolated Runtime ✓ Stage-Gated
zsh — 80x24
$ s2s init
Initializing spec-to-ship environment...
? Select project type: TypeScript / Next.js
✓ Detected existing schema.json
✓ Configuring agent workspace in .s2s/
$ s2s pm "add auth flow"
▶ Executing: Planning Agent
[1/3] Parsing specification...
[2/3] Mapping architecture to patterns...
[3/3] Emitting implementation plan...
SUCCESS: Ready for engineering stage

The Pipeline

s2s enforces a strict state machine for AI development, ensuring every code change has clear lineage back to requirements.

01

Spec

Define your requirements in structured Markdown. Intent is classified across nine work types.

02

Plan

The agent maps requirements to your project's architecture and decides the minimum route needed.

03

Code

Deterministic generation in an isolated git worktree. Your main branch stays untouched.

04

Ship

Human-approved, verified modules ready for PR and production deployment.

Designed for machine consumption

LLMs struggle with large, ambiguous codebases. s2s provides a machine-readable bridge — breaking projects into focused task packages that agents understand precisely, without hallucinating scope or dependencies.

  • Intent-classified routing across nine work types
  • Structured task packages with bounded context
  • Token-efficient, noise-free artifact generation
TASK PACKAGE
"stage": "engineering",
"intent": "new_feature",
"slice": "auth-flow-jwt",
"context": 
  "spec": "specs/auth.md",
  "prior_artifacts": [
    "pm/plan.md",
    "design/spec.md"
  ]
,
"output_path":
  ".s2s/artifacts/eng.md"
SANDBOX MONITOR LIVE
WORKTREE ISOLATED
MAIN BRANCH UNTOUCHED
NET ACCESS DENY (default)
FILE SCOPE SCOPED TO SLICE
HUMAN GATE REQUIRED

Execution without fear

Never run agent code directly in your working directory. s2s executes all code changes in an isolated git worktree on a dedicated branch. Your main branch is clean until you explicitly review and approve.

Scoped execution

Each run targets one Slice — a bounded unit derived from your spec — limiting blast radius.

Approval gates

Nothing advances without a deliberate human decision via s2s approve.

Works with your stack
Claude Code OpenAI Codex TypeScript Node.js Homebrew

Engineered for Reliability

Compare the ungoverned AI coding experience with the structured s2s methodology.

Challenge Without s2s With s2s
Scope control AI decides what to build Intent-classified, stage-gated routing
Execution safety Code runs in your workspace Isolated git worktrees per slice
State & audit Lost when chat window closes Persistent artifacts in .s2s/
Review process Ad-hoc, no approval trail Structured gates via s2s approve

Open Source by Design

s2s is built for the community. We believe the future of AI-assisted engineering depends on open, auditable standards for agent governance.

v0.2.x CURRENT STABLE
MIT LICENSE
2 AI CLIENTS
9 INTENT TYPES

Ready to ship with structure?

Start using s2s in your project today — it installs in seconds and works with your existing Claude Code or Codex setup.

npm install -g spec-to-ship
✓ Open Source ✓ No Lock-in ✓ Claude Code + Codex