agentleFS
wavestone-sawavestone-sa/agentic-spec-skills/skills/spec-prd/SKILL.md

spec-prd

Skill2 starsChanged 5 months agoApache-2.0View on GitHub

Turn a product idea into a PRD under docs/agents/prd/ — the greenfield entry point where no codebase exists yet to investigate; feeds spec-plan.

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. leo-kuang-ai/leo-skills★ 0same name
    2. yisean/claude-spec-skills★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository5 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No idea at all → ask once for the product idea, wait.

    line 14
  2. Distinctive:

    Prefer synthesis over questioning.

    line 21
  3. Distinctive:

    No code exists, so no seams exist.

    line 25
  4. Distinctive:

    Check with the user that these seams match their expectations before writing.

    line 27

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “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 Requirements Document

Produce a PRD for a new project from the current conversation. This is the greenfield entry point of the suite — where spec-research maps code that exists, spec-prd captures intent where no code exists yet. Both feed spec-plan.

Initial setup

  • Idea supplied with the invocation, or the conversation already describes one → go to Step 1.
  • No idea at all → ask once for the product idea, wait. Do not invent scope.
  • Substantial code already present in the working directory (real source files, a populated src/, a manifest with dependencies) → stop. Point the user at spec-research; this skill is for green fields.

Step 1 — Synthesize, fill gaps only

Extract from the conversation: the problem, the target users, the core behaviours, scope boundaries, and technical constraints.

Prefer synthesis over questioning. If the conversation already answers it, do not ask again. Interview only for genuine gaps — one question at a time, wait for the answer before the next. When all five aspects above are covered, stop asking.

Step 2 — Sketch the testing seams

No code exists, so no seams exist. Propose them: the boundaries at which the future system will be tested, placed at the highest level possible (e.g. HTTP API surface, CLI invocation, rendered UI state — not internal functions).

Check with the user that these seams match their expectations before writing.

Step 3 — Write the PRD

  1. Capture metadata for the frontmatter: ISO 8601 date with timezone; HEAD short SHA (empty if not in a git repo); current branch (empty if not in a git repo); repository name (origin basename minus .git, falling back to repo-root basename, then CWD basename). If scripts/metadata.py is bundled, run it instead of doing this by hand. Empty git_commit and branch are expected in a fresh folder.
  2. Pick a kebab-case slug. Filename: YYYY-MM-DD-<slug>.md under docs/agents/prd/. A repo-level AGENTS.md or CLAUDE.md may override the destination folder — honour it.
  3. Create the directory if missing, then write the file in the shape below. No <...> placeholders survive in the saved file.
---
date: <ISO 8601 with timezone>
git_commit: <HEAD short SHA, or empty>
branch: <current branch, or empty>
repository: <repo name>
topic: "<one-line product idea>"
tags: [prd, <domain-terms>]
status: complete
---

# PRD: <product / feature name>

## Problem Statement

<the problem the user is facing, from the user's perspective>

## Solution

<the solution to the problem, from the user's perspective>

## User Stories

<a LONG, numbered list. Each story: `As an <actor>, I want <feature>, so that <benefit>`. Extremely extensive — cover all aspects of the product.>

1. As a mobile bank customer, I want to see the balance on my accounts, so that I can make better informed decisions about my spending

## Implementation Decisions

<decisions made so far: modules to build, their interfaces, architectural choices, schema shapes, API contracts, specific interactions. Do NOT include file paths or code snippets — they go stale fast. Exception: a prototype snippet that encodes a decision more precisely than prose (state machine, reducer, schema, type shape) may be inlined within the relevant decision, trimmed to the decision-rich parts.>

## Testing Decisions

<what makes a good test here — external behaviour only, never implementation details. Which modules will be tested, and at which of the proposed seams from Step 2.>

## Out of Scope

<things explicitly not covered by this PRD>

## Further Notes

<anything else worth recording>

Step 4 — Hand back

Summarise the PRD in two or three sentences in chat, link the file, and point at the next step:

/spec-plan docs/agents/prd/<file>.md

Portions of this skill are derived from Matt Pocock's to-prd skill, licensed under the MIT License. See NOTICE in the repository root for full attribution.

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.