English · 简体中文
Install · First run · Skills · Commands · Changelog · Issues
spec-dev is a plugin for AI coding agents: Claude Code, Codex, Grok Build, Pi, and any Agent Plugins host. It turns a request into a one-page spec, splits the spec into small tasks, and builds them one at a time, tests first, in an isolated worktree.
You stay in charge. The agent stops only three times: to approve the design, to approve the plan, and to let you choose what runs at the end (regression, acceptance, delivery). Anything you skip is reported as skipped, never as passed.
How it works
| Your situation | Start with |
|---|
| Not sure you should build it yet | exploring |
| A new feature or behavior change | requirement-analysis → writing-plans → executing-plans |
| A small bug you have already decided to fix | quick-fix |
| You already have a spec, or a plan | writing-plans, or executing-plans |
| Not sure which one | /triage <your request> |
Every skill also works on its own. Skills depend only on files inside skills/, so a skills-only install still runs the whole workflow.
Install
You need a Git project, git, and Node.js ≥ 18. Install from the dist branch: it holds the packaged release, while main holds the sources.
Claude Code (run inside Claude Code)
/plugin marketplace add https://github.com/FlameMida/spec-dev.git#dist
/plugin install spec-dev@spec-agent-skills
Codex (run in a terminal)
codex plugin marketplace add https://github.com/FlameMida/spec-dev.git --ref dist
codex plugin add spec-dev@spec-agent-skills
Upgrade later with codex plugin marketplace upgrade spec-agent-skills. The plugin page lists four hooks; review and trust them yourself, because the plugin never grants trust automatically.
Pi and Grok Build
pi install git:github.com/FlameMida/spec-dev@dist
grok plugin install https://github.com/FlameMida/spec-dev.git@dist
In a Grok Build marketplace entry, use source.ref: "dist" instead of the @dist suffix.
Other hosts: use the ZIP, tar.gz, or npm package attached to each GitHub Release (Agent Plugins 1.0.0 format), or copy the skills/ folder into your host's skills directory.
Run /doctor to check the setup. Platform details and optional tools are under More details.
First run
Just talk to your agent. The lines below are prompts, not shell commands; your host may also offer them as /spec-dev:<skill>.
Build a feature end to end
Use requirement-analysis to design team-member invitations, including permissions, failure paths, and acceptance criteria.
The agent studies your code, asks one question at a time, then shows a design and a one-page spec draft. After you approve, it writes .spec-dev/<date-NN-feature>/spec/<feature>-design.md and continues to the plan. Approve the plan and it builds. When every task is done, it asks what to run.
Explore before deciding
Use exploring to help me decide whether we need real-time collaboration. Compare polling and server push in this codebase. Don't implement anything yet.
Fix a small bug
Use quick-fix to fix duplicate rows on the last pagination page. Find the root cause first, fix it with TDD, and replay the original request.
Skills
Main workflow
exploring: think it through before you commit
Reads code and compares directions while you are still deciding. It is read-only by default, runs a small experiment only when you allow it, and never writes production code on its own.