Skip to content

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

English · 简体中文

SpecStamp

Give AI coding agents a workflow that survives the chat.
Keep requirements, designs, tasks, changes, and acceptance evidence local, traceable, and recoverable.

PyPI Latest release CI CodeQL Full test suite Coverage Python 3.10 to 3.13 Apache 2.0 GitHub Discussions

Demo · Install · Why SpecStamp · Workflow · Documentation · Community

SpecStamp: a local-first workflow for AI coding agents

SpecStamp is a Python CLI that brings spec-driven development to Codex, Claude Code, and other AI coding agents. It combines an AI agent workflow, requirements management, task planning, change control, and acceptance evidence in structured project files, so development does not depend on one conversation or one agent.

One product, different entry points: SpecStamp is the product. In a terminal, run specstamp .... In Codex, invoke the bundled $sdlc-* skills, such as $sdlc-init and $sdlc-next. In Claude Code, use /sdlc-*. The sdlc-* skill names and codex-sdlc CLI entry point are retained for compatibility; they are part of SpecStamp, not a separate product.

Status: Beta. SpecStamp supports Python 3.10–3.13 on macOS, Linux, and other POSIX systems. Windows is not currently supported.

See it in 30 seconds

A 30-second English tour of SpecStamp initialization, requirement material archiving, and next-step guidance

The 30-second tour initializes a clean project, preserves the original requirement material, and returns one state-aware next step instead of asking you to reconstruct context in a new chat. Its concise English captions represent the same verified 0.11.0 workflow without changing CLI behavior.

Quick start

Install SpecStamp from PyPI in a Python 3.10+ virtual environment, then initialize a disposable project:

python3 -m venv .venv
source .venv/bin/activate
python -m pip install specstamp
mkdir specstamp-demo && cd specstamp-demo
specstamp init-plain
specstamp next

This trial stays inside .venv and specstamp-demo; it does not write to global Agent directories. specstamp next reads the current formal state and recommends the next workflow step.

Ready to use it with an Agent? Follow the 10-minute Quick Start to synchronize skills for Codex, Claude Code, or shared Agent directories.

Why SpecStamp

Common problem Chat-only workflow With SpecStamp
A model or session changes Context must be explained again Resume from formal project state
Requirements change midway Design, tasks, and acceptance drift apart Apply an explicit, versioned change
An agent says a task is done The claim is difficult to verify Record commands, exit codes, files, and hashes
Source material is scattered Requirements, code, and tests lose their links Preserve references from source material to acceptance

Core capabilities

  • Local first: project data lives in .codex-sdlc/; no cloud account or automatic upload is required.
  • Cross-agent: synchronize one versioned skill set to Codex, Claude Code, and shared Agent directories.
  • Traceable: keep source material, decisions, designs, tasks, and changes under stable identifiers with SHA-256 evidence.
  • Evidence-based completion: require real commands, integer exit codes, source files, hashes, and acceptance results before completion.
  • Recoverable: continue after a new session, branch switch, pause, or restored backup without reconstructing the project from chat history.

Who it is for

  • Developers and small teams using Codex, Claude Code, or other coding agents.
  • Projects adopting spec-driven development, requirements management, or auditable delivery.
  • Long-running work that needs requirements, design, tasks, tests, and acceptance to remain connected.

SpecStamp is not a cloud collaboration platform and does not provide real-time multi-user editing.

Workflow

idea → source material → reviewed requirements → integrated design → formal version
→ task plan → implementation and evidence → acceptance → explicit changes
Stage Terminal examples Result
Initialize and orient specstamp init, specstamp status, specstamp next Establish project state and identify the next step
Requirements specstamp material, specstamp discuss, specstamp capture Preserve source material, structured requirements, and decisions
Design and formalize specstamp design, specstamp draft, specstamp start --file Create a reviewed requirement and design version
Plan and execute specstamp tasks, specstamp plan, specstamp task Define task scope, dependencies, tests, and acceptance
Verify and finish specstamp task-evidence, specstamp task-done, specstamp regression Complete work with reproducible evidence
Change and recover specstamp change-plan, specstamp backup, specstamp restore Handle change explicitly and resume interrupted work

Agent integration

specstamp agent-sync --dry-run   # preview without writing
specstamp agent-sync --confirm   # synchronize managed entries
specstamp agent-sync --check     # verify the result without writing

After synchronization, use the entry point for the client you are currently in:

In Codex

$sdlc-init
$sdlc-next

In Claude Code

/sdlc-init
/sdlc-next

The terminal commands, Codex skills, and Claude Code commands all drive the same SpecStamp workflow. Shared Agent directories receive the same managed skill source.

Design principles

Files are more durable than chat history. Reproducible evidence is more reliable than an agent's claim. Explicit changes are safer than silent drift. Agents may change; project facts should not.

Read Philosophy and Inspiration for the full rationale and project boundaries.

Documentation

Community

If SpecStamp improves your AI coding workflow, consider starring the repository and sharing what you built with it.

License

SpecStamp is licensed under Apache-2.0. See the changelog for release history.

Releases

Packages

Used by

Contributors

Languages