New advertisers: 50% off your first month with code FIRSTMONTHSee slots
warpdotdev avatar

Write Product Spec

Spec-first workflow for Warp features that writes PRODUCT.md behavior invariants before implementation.

skills.sh installs
29K
GitHub stars
721
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers desired user-facing behavior, edge cases, states, and invariants, with implementation details kept out of scope
  • Includes an optional Figma check, id-based specs/<id>/PRODUCT.md layout, and a handoff to the companion write-tech-spec skill
  • Enforces no validation or test-plan sections in the product spec, keeping Behavior as numbered, testable invariants
  • Designed for substantial or behaviorally ambiguous Warp features where a written spec improves implementation or review

Install

$ npx -y skills add warpdotdev/common-skills --skill write-product-spec -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

write-product-spec

Write a PRODUCT.md spec for a significant feature in Warp.

Overview

The product spec should make the desired behavior unambiguous enough that an agent can implement it correctly and avoid regressions. Describe the feature purely from the user's perspective — what the user sees, does, and experiences, and the invariants that must hold for them. Do not include implementation details (internal types, state layout, module boundaries, data flow, algorithms).

"User" is not limited to the end user of the Warp app. It means whoever consumes the surface being designed:

  • For UI / UX features: the human using Warp.
  • For a data model: the code that reads and writes that model.
  • For an API, protocol, or library: the callers of that API — other services, client code, plugins, or agents.
  • For a CLI tool or developer-facing surface: the developer invoking it.

The spec should describe behavior from that consumer's perspective: the shape of the surface, the operations they can perform, what they see back, invariants they can rely on, and edge cases they must handle — without prescribing how the surface is implemented underneath.

Details

Repository
github.com/warpdotdev/common-skills
Categories
Agent Workflow & Planning, Technical Documentation
First seen
May 16, 2026

More from warpdotdev/common-skills

All 23

Similar to Write Product Spec

More Agent Workflow & Planning