A lightweight specification standard for AI-assisted software development.
MiniSpec is a tiny, token-frugal alternative to heavyweight Spec-Driven Development toolkits. It separates permanent knowledge (what the project is) from temporal knowledge (what is being worked on), and gives an AI agent the minimum context it needs — and nothing more.
- 📖 Readable in under a minute.
- 🧠 Tiny token footprint.
- 🛠️ Works for new and existing projects.
- 📂 Modular: the agent reads only what it needs.
- 🚫 No documentation nobody will ever read again.
npx @falkenslab/minispec init --here # scaffold MiniSpec in the current project
npx @falkenslab/minispec init my-app # ...or into a new folder
npx @falkenslab/minispec init --here --ai claudeInstalled globally (
npm i -g @falkenslab/minispec), the command is justminispec.
This creates .minispec/, installs the chosen AI integration (for Claude Code:
.claude/skills/minispec-*), and adds a "read first" pointer to the AI context
file (CLAUDE.md).
.minispec/
├── README.md the reading contract for the agent
├── core/ PERMANENT knowledge (rarely changes)
│ ├── project.md what / for whom / goal (≤ 50 lines)
│ ├── architecture.md high-level overview only (≤ 100 lines)
│ ├── stack.md technologies, listed not explained
│ ├── conventions.md rules, short sentences
│ ├── glossary.md domain terms
│ └── principles.md engineering principles (≤ 20 lines)
├── decisions/ ADRs — important decisions (permanent)
├── features/ TEMPORAL knowledge — work in progress only
└── templates/ feature.md · adr.md · bugfix.md
- Hard limit: 100 lines per document.
project.md≤ 50,principles.md≤ 20. - Short sentences and lists. No filler prose.
- One document = one topic. Never mix permanent and temporal knowledge.
- Don't explain general technologies — only what is specific to this project.
- Don't duplicate what the code already says. Document the why, not the how.
- Feature —
Goal / Context / Changes / Acceptance - ADR —
Decision / Motivation / Consequences - Bugfix —
Problem / Cause / Solution / Verification
A feature file describes work in progress only. When it's done:
- Promote anything permanent it revealed (a decision → ADR, a rule →
conventions.md, a term →glossary.md). - Delete the feature file.
If features/ is empty, nothing is in flight.
minispec init installs four skills:
| Skill | Purpose |
|---|---|
/minispec-feature |
Create a feature spec |
/minispec-adr |
Record an architectural decision |
/minispec-bugfix |
Document a bug and its fix |
/minispec-implement |
List pending features and implement the chosen one |
- v1: Claude Code integration (skills) — this release.
- Next: Cursor (rules), Codex (AGENTS.md), Gemini CLI integrations.
MIT