Who it is forA developer working in an existing project who wants an AI coding assistant to add a feature but has unclear requirements and wants to review the plan first.
The problemWhen requirements live only in chat history, AI coding output is vague and hard to predict.
The outcomeA change folder under openspec/changes/ with a proposal, specs, design, and tasks that you reviewed, plus code that matches those tasks and an archived record.
What you need first
- Node.js 20.19.0 or higher, or Homebrew on macOS or Linux
- A project directory you want to use OpenSpec in
- An AI coding assistant that OpenSpec supports (30+ tools listed in the docs)
Steps
- Run
npm install -g @fission-ai/openspec@latest - Run
cd your-projectand thenopenspec init - In your AI assistant, run
/opsx:exploreto shape the idea, then/opsx:propose add-dark-modeto create the change folder - Review proposal.md, the specs folder, design.md, and tasks.md before any code is written
- Run
/opsx:applyto implement the tasks, then/opsx:archiveto move the change into the archive and update the specs
Prompt for your agent
Using the OpenSpec repo at Fission-AI/OpenSpec, set up OpenSpec in <project-path> by running the install and `openspec init` steps, then use /opsx:explore and /opsx:propose <change-name> to create a change folder. Expected output: openspec/changes/<change-name>/ containing proposal.md, specs/, design.md, and tasks.md. Verify that the tasks file exists and summarize it for human review before running /opsx:apply.
Caveat. The README says OpenSpec works best with high-reasoning models and a clean context window, so results depend on the model and session you use.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Fission-AI/OpenSpec and "Plan a feature with an AI before any code is written"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer