agentleFS
fainirfainir/agent-harness/skills/product-spec/SKILL.md

product-spec

Skill0 starsChanged 14 days agoMITView on GitHub

Turn an idea or an existing codebase into a concrete product spec - who it is for, the core job, every user flow with happy and unhappy paths, non-goals, success metric, stack and data model - written to PRODUCT.md and as flow rows in READINESS.md. Use at the start of /ship, when a goal says "build X" without a spec, or when flows are unclear. Decides instead of asking; asks at most three questions once.

12 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use code-review.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • GoogleSkill

    code-review

    Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before writing flows, study how the best two or three products in this category do the core job (their screens, copy and pricing) and …

    line 26
  2. Distinctive:

    Before the first build row, a pre-mortem: three "this failed because" lines, each becoming a flow, a release gate or a non-goal.

    line 29
  3. Very specific:

    Write the READINESS rows now: | F1 | <flow> | <surfaces> | todo | | |.

    line 31
  4. Distinctive:

    Keep user-facing copy in the product's language (Hebrew products stay Hebrew.

    line 32

“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Product spec

Output: PRODUCT.md (under 150 lines) and the ## Flows table of READINESS.md. Write both before building.

PRODUCT.md sections

  1. Press release (working backwards): five sentences a customer would read on launch day (who, the problem, what changes for them, a quote, how to start) and the three hardest FAQ answers. If it does not convince, change the product before writing flows.
  2. One line: <product> helps <who> <do the job> without <the pain>.
  3. Who: the first user, in one paragraph. If the owner is the first user, say so.
  4. Core job: the one thing the product must do well. Everything else is secondary.
  5. Flows (5 to 12): each in user words, with the unhappy path next to it. Examples: "Sign up with email, lands on a useful first screen; wrong password shows a clear error; forgotten password resets by email." Include: first run, the core job, empty/loading/error states, payment if any, settings, data export/delete, sign out, each bot command or integration.
  6. Non-goals: what v1 will not do. Cutting is a decision, write it down.
  7. Success metric: one number the owner can check weekly.
  8. Stack and hosting: what the repo uses, or the owner's default stack if PRODUCT.md or OWNER.md names one, else the simplest thing that ships (for example Next.js + Postgres) for a new idea. Run/test/deploy commands.
  9. Data model: entities and their key fields, in a short table. Privacy notes (what is personal data, retention).
  10. Decisions: a dated list of choices you made for the owner (name, pricing, copy, scope). The owner can overturn any of them later.
  11. Open questions (max 3): only things that change the build and that you cannot decide. Ask them once in the report; proceed with your best guess meanwhile and mark the guess.

Rules

  • Before writing flows, study how the best two or three products in this category do the core job (their screens, copy and pricing) and record in Decisions what you copy, improve or skip, with links.
  • Existing project: derive flows from the code (routes, screens, commands, webhooks, emails, settings), README and old plans. Do not invent features the code does not have; do add missing unhappy paths.
  • A flow is worth a row only if a user would notice it missing or broken.
  • Before the first build row, a pre-mortem: three "this failed because" lines, each becoming a flow, a release gate or a non-goal.
  • Order rows by value: core job, money, sign up/onboarding, data safety, everything else. That order is the build order.
  • Write the READINESS rows now: | F1 | <flow> | <surfaces> | todo | | |.
  • Keep user-facing copy in the product's language (Hebrew products stay Hebrew; English default otherwise).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.