agentleFS
Yco-0314Yco-0314/strata/skills/l2-planning/to-prd/SKILL.md

to-prd

Skill0 starsChanged 5 months agoMITView on GitHub

Turn the current conversation into a PRD and publish it to the project issue tracker — synthesis of what you've already discussed, not a fresh interview.

87 other projects use a version of this, 62 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use edit-article, decision-mapping and 9 more.

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.
  • kayamanSkill

    edit-article

    Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.

    Also in 13 projects that use this

  • RoentekSkill

    decision-mapping

    Turn a loose idea into a sequenced map of investigation tickets, then drive them to resolution one at a time.

    Also in 3 projects that use this

  • AWSSkill

    setup-matt-pocock-skills

    Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

    Also in 39 projects that use this

  • kayamanSkill

    request-refactor-plan

    Guides creating a detailed refactor plan with tiny commits via user interview, then files it as a GitHub issue. Use when user wants to plan a refactor, create a refactoring RFC, or break a refactor into safe incremental steps.

    Also in 12 projects that use this

  • Jonathan0823Skill

    design-an-interface

    Generate multiple radically different interface designs for a module using parallel sub-agents. Use when user wants to design an API, explore interface options, compare module shapes, or mentions "design it twice".

    Also in 12 projects that use this

  • qhuang20Skill

    migrate-to-shoehorn

    Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.

    Also in 13 projects that use this

  • +2 more from kayaman

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 85 edited versions we read keep these.

  • 0

    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. Very specific:

    Default: local markdown under .scratch/<feature>/.

    line 22

“Common” is measured: kept by at least 6 in 10 of the 85 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

To PRD — L2 (user-invoked)

Take the current conversation and codebase understanding and produce a PRD. Do not re-interview the user — synthesize what you already know. If there is a genuine gap that changes the shape of the feature, invoke the grilling primitive to close just that gap, then continue.

Issue tracker

Default: local markdown under .scratch/<feature>/. Write the PRD to .scratch/<feature>/prd.md. (GitHub Issues / Linear are configurable later via a setup skill; this default needs no configuration and matches the repo convention.)

Process

  1. Explore the repo to understand the current state if you haven't. Use the project's CONTEXT.md glossary vocabulary throughout, and respect any ADRs in docs/adr/ for the area you're touching.
  2. Sketch the seams where the feature will be tested. Prefer existing seams; use the highest seam possible; the fewer new seams the better (ideal: one). Check the seams match the user's expectations before writing.
  3. Write the PRD with the template below, then publish it to the tracker and mark it ready-for-agent (no further triage needed).

L0 ponytail applies: keep the PRD lean. A long user-story list is fine; speculative scope is not. Cut anything you'd flag as YAGNI in code.

<prd-template>

Problem Statement

The problem the user faces, from the user's perspective.

Solution

The solution, from the user's perspective.

User Stories

A long, numbered list, each: As an <actor>, I want a <feature>, so that <benefit>. Cover all aspects of the feature.

Implementation Decisions

Modules built/modified, their interfaces, technical clarifications, architectural decisions, schema changes, API contracts, specific interactions. No file paths or code snippets (they go stale) — exception: a prototype-derived snippet that encodes a decision more precisely than prose (state machine, reducer, schema, type shape); inline only the decision-rich part and note it came from a prototype.

Testing Decisions

What makes a good test (test external behavior, not implementation details), which modules are tested, and prior art for those tests in the codebase.

Out of Scope

What is deliberately excluded.

Further Notes

Anything else.

</prd-template>

Hand off to to-issues to slice the PRD into grabbable work.

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.