01
It starts by itself
feature needs a spec. Runs in Claude Code routine or GitHub Actions.
- ↻ feature needs a spec
issues.labeled == spec, or a Linear ticket for a significant feature
Behavior written as testable invariants.
Install the Write Product Spec skill and make it a habit: follow https://gethabit.dev/skills/warpdotdev/write-product-spec.md
29K installs628 starsMIT licenceSource on GitHub ↗

Write Product Spec
by warpdotdev · 29K installs
The skill
The write product spec skill writes PRODUCT.md for a significant feature: a short summary and an exhaustive Behavior section of numbered, testable invariants from the user's view.
Only when you ask.
The habit
Behavior written as testable invariants.
↻ Runs by itselffeature needs a spec
When does it start? How does it check its work? What does it remember?
One feature spec per run.
Use a Linear ticket, a gh- issue id or a kebab-case feature name you give.
Ask with ask_user_question for users, key behaviors and edge cases that are missing.
For UI features, ask if a mock exists and record the link or Figma: none provided.
Write numbered invariants for states, inputs, errors, edge cases and focus.
Add Problem, Goals or Open questions only when they add something.
Once PRODUCT.md is agreed, invoke write-tech-spec for TECH.md.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the Write Product Spec skill helps.
No. It describes what the consumer of the surface sees and relies on, not internal types or data flow.
Only when you ask, using the Linear MCP tools or the gh CLI.
Copy the prompt at the top into your agent. It installs the skill from warpdotdev/common-skills and sets up the habit. Or run npx skills add warpdotdev/common-skills --skill write-product-spec.
Yes. It is published under MIT. Habit is free too.
Install the Write Product Spec skill and make it a habit: follow https://gethabit.dev/skills/warpdotdev/write-product-spec.md
All warpdotdev skills →More planning skills →
Works in
Made by warpdotdev, published under MIT. Habit links to the original and never changes it. Is this your skill?