A lightweight spec workflow for coding with agents

OneSpec is six agent skills for Claude Code and Codex. Your agent plans one small change at a time, builds it test-first, and keeps what matters in plain-Markdown specs in your repository.

npx skills add 1spec-driven/onespec

Why OneSpec

If one of these sounds familiar:

How it works

  1. Fix something now.

    Run /onepatch with a small change, a bug or a red CI job. It finds the cause, writes a failing test, fixes it and runs the suite. No spec needed.

  2. Build a planned change.

    Write the goal and a backlog in one file. /oneplan plans the next build and stops for your approval. /onebuild carries it out, one verified commit per patch. Repeat.

  3. Close it.

    /onewrap folds the change’s lasting rules into your specs and retires the change file.

Start with onepatch. Grow into the rest when you need it.

Read the guide