The rules
What holds everywhere: style, constraints, always and never.
Open format · Free playground
Specifica is a few plain markdown files that say what to build, how, and in what order. Draft them by chatting, then hand them to any coding agent.
AI can write code quickly. Specifica gives your coding agent a clear plan: what to build, how it should behave, and what needs to happen next.
Take expense approvals. Your basic flow works, but larger expenses need another check. Add a simple rule: anything over five hundred dollars needs a second approval.
Describe that change in plain language. Specifica updates the relevant parts of the specification and shows the changes together, so you can review the result.
Here's the rule in the requirements, the approval flow in the design, and the implementation steps in the build plan. It also makes the edge case explicit: if one person holds both approval roles, a single approval covers both steps. Check that decision before coding begins.
The work stays in four readable Markdown files: principles, requirements, design, and tasks. You can follow the decisions, inspect the change log, and undo a change when you need to. Everything is there to review.
When you're ready to build, copy the specification for your coding agent or download the files into your project. The agent gets the product decisions alongside the implementation steps, and you keep the same readable reference as the code takes shape.
Start with an idea. Make the decisions clear. Then hand the plan to your coding agent. Try an example at playground.specifica.org.
How it works
Chat in the playground, or write by hand. Start from an example and level it up from Simple to Large.
Short markdown files: what to build, how it fits together, the order to build it. Each requirement is one testable line.
Copy it into Claude Code, Cursor or any agent. It builds in order and checks each requirement as it goes.
Software spec examples
See the requirements, edge cases and build order for five real-world projects. Then open the same example in the Playground and make it yours.
Contacts, deals, pipeline status and a searchable sales workflow.
WorkflowReceipt submission, manager decisions, status and resubmission.
AnalyticsCSV imports, revenue metrics, charts and drill-downs.
Event-drivenCustomer notifications, delivery status, retries and deduplication.
MigrationA MySQL-to-PostgreSQL cutover with validation and rollback.
The files
They live in a .specifica/ folder in your repository, next to your code. If GitHub can render it, it is valid.
What holds everywhere: style, constraints, always and never.
Requirements and edge cases, each one testable.
Data, flows and decisions, with diagrams in Mermaid.
The build order as a checklist that tools can read.
.specifica/ ├── principles.md └── mvp/ ← one folder per item: a release, ├── spec.md a feature, a migration ├── design.md └── tasks.md
One folder per item. All files are optional: a small item can be a single tasks.md. See the full format →
Why Specifica
No new syntax, no app needed. Any editor, any diff.
Versioned with the code it describes. Reviewed in pull requests.
Each requirement is one testable behaviour, so an agent can check its own work.
MIT format and packages: @specifica/format, @specifica/store.
FAQ
An open format for software specs: a .specifica/ folder in your repository with plain markdown files. principles.md holds project-wide rules; each item (a feature, a release such as mvp, a migration) has spec.md (what), design.md (how) and tasks.md (the work).
Any agent that reads files: Claude Code, Cursor, GitHub Copilot, Windsurf and others. The playground's Copy for your agent adds a short skill that tells the agent to build in order and treat requirements as acceptance checks.
No. The files are standard GitHub-flavored markdown, so any editor works. The playground runs in your browser with no sign-up; chat uses your own model key, which stays in your browser.
Yes. The format and its TypeScript packages, @specifica/format and @specifica/store, are MIT-licensed. Source on GitHub.
It separates what (spec.md), how (design.md) and the work (tasks.md), keeps each file short, and writes every requirement as one testable checkbox, so a person can review it and an agent can build and check against it.
Open an example, chat a change, copy it to your agent.
Try the playground →