Spectra
v3.0 · Works with 6 coding agents

Structure your thinking
before you code.

Spectra is a spec-driven development toolkit for coding agents: skills that guide your agent, a desktop app, and a CLI. Your agent writes proposals, specs, and tasks; you follow progress, review specs, and archive finished changes in the app.

Just the CLI and skills: $ npm install -g @kaochenlong/spxa
/spectra- 12 skills · click one to see what it does
Plan
Implement
Quality gate
Finish
Plan
/spectra-propose

Writes a complete change: proposal, design, tasks, and the specs this change modifies.

When to use

You are about to build or change something and want the plan written down first.

After it runs

The change is parked and waits in the app's change list for your review.

/spectra-propose
In Codex, use the $ prefix instead, e.g. $spectra-apply
Works with these coding agents
  • Claude Code
  • Codex
  • Cursor
  • GitHub Copilot
  • Antigravity
  • JetBrains Junie
01 / How it works

One toolkit, three ways in

Your agent follows the workflow through skills, you see the results in the desktop app, and the CLI puts the same checks into your scripts.

  • Skill

    For coding agents

    Install 12 skills into your project. From discussion and proposal to implementation and archive, your agent follows the same workflow at every step.

    › /spectra-propose
  • Desktop app

    For you

    Changes, specs, and task progress in one window. Check off tasks, read specs, and archive without digging through Markdown yourself.

    macOS · Windows
  • CLI

    For terminals and scripts

    The desktop app ships with the spectra command. Don't want the app? Install spxa from npm; it runs on Linux too.

    $ spectra validate
02 / Why

When there are no specs

AI writes code fast, but without structure it creates as many problems as it solves.

Without specs With Spectra

Context gets lost

With every new conversation, the agent forgets the earlier decisions, constraints, and reasons.

Specs keep the context

Specs and each change's proposal, design, and tasks are files in the repo, so the next session can read them.

Scope keeps growing

A small feature turns into a big refactor along the way, and no one can say what it was supposed to do.

Proposals set the boundaries

Every change starts with a proposal that spells out what it will do and what it won't (Non-Goals).

AI drifts from the design

Compiling doesn't mean it's what you wanted. The code slowly drifts away from the original architecture.

Checked against the specs before archiving

The agent implements against the specs and tasks, and verify and review check it again before archiving.

03 / Workflow

Between the plan and the implementation

You keep using Plan Mode the way you do now. Once the plan is ready, it becomes a proposal you review, then gets implemented task by task. If the implementation changes along the way, the specs are synced, and the change is archived at the end. Each skill is explained in the command palette at the top.

Did the implementation change?
Click any step to see what it does
  1. Plan Mode
  2. Create Plan
  3. Proposal
  4. Review
  5. Implement
  6. Adjust
  7. Archive
  8. Done
No proposal, no review
No sync, no archive
No
Yes
Optional
General flow
Spectra
3 · Proposal
/spectra-propose
Write the proposal
This step

Turns the plan into a formal change: proposal, design, tasks, and the specs this change modifies, all saved in the repo.

Compared with the general flow

The general flow has no such step, so the next session can't read this plan.

04 / Files

The specs live in your repo

Each change is a folder full of Markdown. Any agent can read it, and git tracks it. New projects use docs/spectra/ by default.

archived changes
596
specs
246

Spectra's own repo is built with Spectra (as of November 2026).

$ tree docs/spectra
docs/spectra
├── specs
│   └── theme
│       └── spec.md
└── changes
    ├── add-dark-mode
    │   ├── proposal.md
    │   ├── design.md
    │   ├── tasks.md
    │   └── specs/theme/spec.md
    └── archive
        └── 2026-11-02-add-csv-export
05 / Desktop app

Open the app and see where things stand

Your agent writes the changes; the app doesn't create them. It shows you where things stand, lets you check off tasks, and archives finished work.

Keyboard shortcuts (use Ctrl on Windows)
⌘E
Changes page
⌘T
Quick memo
⌘D
Toggle compact mode
⌘O
Open a project
⌘1–7
Switch between open projects
⌘,
Settings
n ⇧N
Next / previous unfinished task in the Tasks tab

In-progress work stays on top

The spotlight card shows task progress. Open it to switch between the proposal, design, tasks, and specs.

Tasks follow tasks.md

When the agent checks off an item, the app updates right away. You can also check items off in the app.

Specs that read like specs

Requirements and Scenarios are split into cards, with their conditions lined up.

Several projects at once

Switch projects from the left rail; each project keeps its own progress.

Keep it beside your editor

Press ⌘D to shrink it into a small floating panel that shows progress.

Also: full-text search and sharing for archived changes · Light and Dark appearances · English, 日本語, 繁體中文, 简体中文

06 / CLI

Check it from the terminal too

The desktop app ships with the spectra command. Run the pre-archive checks in your terminal first; analyze, validate, and scope all take --json, so they plug into CI.

Don't want the desktop app?

The npm version of the command is called spxa, and it runs on macOS, Linux, and Windows.

$ npm install -g @kaochenlong/spxa
~/recipe-box
$ spectra validate add-dark-mode
✓ add-dark-mode — valid

$ spectra analyze add-dark-mode
Change: add-dark-mode

  ✓ Coverage       Clean (0 findings)
  ✓ Consistency    Clean (0 findings)
  ✓ Ambiguity      Clean (0 findings)
  ✓ Gaps           Clean (0 findings)
  ✓ Localization   Clean (0 findings)

  Analyzed: proposal, specs, design, tasks

  ✓ No issues found

$ spectra scope --change add-dark-mode
Scope: touched_tracking (Resolved)
  "src/theme/store.ts": [Unstaged]
  "src/styles/tokens.css": [Staged]

$ spectra archive add-dark-mode --preview
Archive preview: add-dark-mode
Incomplete tasks: 3
Spec updates: 1
07 / FAQ

Frequently asked questions

A spec-driven development toolkit made of three parts: skills for coding agents, a desktop app, and a CLI. It's free to use.

08 / Download

Download for free

The desktop app runs on macOS and Windows. If you only want the CLI and skills, install them with npm.

macOS

Apple Silicon, Intel
$ brew install --cask spectra-app
Homebrew is recommended, or download the .dmg:Apple Silicon Intel

Windows

x64
Download the .exe installer After installing, the spectra command works in your terminal too.

npm

Linux and other environments
$ npm install -g @kaochenlong/spxa
CLI and skills only; requires Node.js 22.14 or newer.