AGENT SKILL

to-prd

Turns one feature idea into a PRD built on journeys: a one-line problem, journeys (each ending in an observable state) and delivery slices that say what is usable after each. Interviews, explores the codebase, and saves to docs/prds/<feature>.md. Covers exactly one feature: given a multi-feature source, ask which one. Reads any approach doc or ideate report as priors so it doesn't re-ask what's settled, but needs none. Starts the per-feature spine (/to-prd -> /to-plan -> /to-tickets).

适用职业产品经理
License 许可
MIT
最近更新
2026-11-11
Stars
★ 0
Forks
0

01 前言 Front Matter

name
to-prd
description
Turns one feature idea into a PRD built on journeys: a one-line problem, journeys (each ending in an observable state) and delivery slices that say what is usable after each. Interviews, explores the codebase, and saves to docs/prds/<feature>.md. Covers exactly one feature: given a multi-feature source, ask which one. Reads any approach doc or ideate report as priors so it doesn't re-ask what's settled, but needs none. Starts the per-feature spine (/to-prd -> /to-plan -> /to-tickets).
disable-model-invocation
true

02 资源文件 3

03 SKILL.md 正文

Where this sits

PORTFOLIO — many features        ideate  or  chat-to-approach
                                        ↓
                            ./docs/approach.md  →  ./ideas/roadmap.html
                                                        ↓  pick ONE card
FEATURE — one feature per run    to-prd → to-plan → to-tickets → ticket-tracker
                                 ^^^^^^ you are here
                                 non-code work: to-prd → to-tickets

Portfolio → feature is a fan-out, not a step. A roadmap card is a feature. Six cards means six PRDs, never one covering a whole roadmap or approach doc.

Never send the user backwards. A missing upstream artifact is never a reason to stop.

What a PRD is

Every PRD has a core: a one-line problem, journeys, and delivery slices. A small change is the core and nothing else. Journeys and slices are defined in references/project-doc.md; read it before writing.

Build order, tracer bullets, module boundaries and per-file design stay out: they are to-plan's and to-tickets' job.

Priors

Before asking a question, skip it if one of these already answers it:

  1. The conversation.
  2. On-disk priors — ./docs/approach.md and ./ideas/reports/*-ideate.md (use artifact-scan to locate them if installed, else ls). Confirm and grill deltas only.

Priors are accelerants, not prerequisites: with none, run the full interview. They are portfolio level; if one holds several features and the target isn't obvious, ask which one this PRD is for.

Process

Skip steps that aren't necessary.

1. Get the problem in the user's words

Ask for a long, detailed description of the problem and any ideas for solutions.

2. Explore the repo

Verify their assertions and learn the current state. Note what already half-exists, so the journeys build on it rather than reading as all-net-new.

3. Grill for scope and behaviour

Run the grilling skill; it owns the loop. Focus on who does what and what they see, not build order.

4. Write the journeys

For each way a user gets value, draft a journey in the reference's format. Check the set with the user: does it cover the problem, and does every journey end somewhere you could point at? If a prototype would help, the prototype skill builds one.

5. Cut delivery slices

Ask for the smallest release that delivers the core outcome, then what follows. Sequence by user value, not technical dependency.

6. Offer the optional layer

For a bigger feature, offer to add why, goal, concepts, out of scope and open questions. Skip it for a small change.

The format of this layer is the user's call and not fixed by this skill. If they want it, ask: "How should the optional layer look: prose sections, a table, bullets, or something else?" Use their answer; do not choose for them.

7. Save it

  1. Create docs/prds/ if missing. Write the PRD to docs/prds/<feature>.md, kebab-cased.
  2. Show it to the user and confirm.
  3. Print the file path. to-plan and to-tickets read it from there.

Filing a GitHub issue is opt-in, only when the user asks, and from the file so the copies don't drift:

gh issue create --title "[PRD] <Feature Name>" --body-file docs/prds/<feature>.md

Then hand off: /to-plan for code work; /to-tickets straight from the PRD for non-code work.

When finished, ask: 'Would you like to log feedback? (yes/no)'. If yes, invoke skill-feedback-collector passing this skill's name and path.

04 同仓库更多 Skills

O-Marsters-1997
O-Marsters-1997/my-claude-code

vault-recall

Answer the user's conceptual or technical question using their Obsidian vault as well as general knowledge. Use when the user asks a question (not a task) whose topic appears in the vault MOC digest from session start. Not for task instructions, not mid-task, and not for writing to the vault (that is to-vault).

★ 0
O-Marsters-1997
O-Marsters-1997/my-claude-code

ingest

Ingest one external source (an article, course lesson, doc, PDF or URL) into the user's Obsidian vault: save the original to raw/, then build wiki/ pages per the vault's § Ingest. Use when the user types /ingest, or says "ingest this", "add this source to my wiki", "put this article/lesson in the vault as a wiki page". Works from any repo. Routing rule: someone else's words go to wiki/ (this skill); the user's own learnings and decisions go to notes/ (/to-vault).

★ 0
O-Marsters-1997
O-Marsters-1997/my-claude-code

to-tickets

Breaks a source into independently-grabbable GitHub tickets. For a code feature the source is the plan (`docs/plans/<feature>.md`, from /to-plan) and every new or changed symbol lands in exactly one ticket, its signatures copied into the ticket body; a non-code feature is cut from the PRD's slices. Cuts tickets for one feature per run. If a code feature has no approved plan, offers /to-plan instead of cutting from prose. In a repo that runs command-centre, also emits `[[task]]` blocks into its config; in a plain treepad repo, emits a Batch Manifest instead so the tickets materialise as stacked worktrees.

★ 0
O-Marsters-1997
O-Marsters-1997/my-claude-code

to-seams

Records an agreed-but-unlanded cross-repo interface as a seam: the file a consumer's agent gets pasted into its prompt as ground truth, plus the `[[seam]]` block command-centre reads for the retirement pointer. Use when two repos need to build against an interface neither has landed yet — "record a seam for X", "we agreed on this schema, seam it", "add a seam so Y can build against Z's new field". Halts for approval before writing either file.

Skill与智能体开发
★ 0
O-Marsters-1997
O-Marsters-1997/my-claude-code

to-roadmap

Prioritises settled features into a Now / Next / Later kanban board, rendered as a self-contained ./ideas/roadmap.html. Each card is a feature, not a ticket — one card later becomes several tickets via /to-prd -> /to-plan -> /to-tickets. Boards the features in ./docs/approach.md, or the "## Accepted ideas" in ./ideas/CONTEXT.md when there is no approach doc. The approach doc is settled truth: this assigns tiers and reasons about ordering, it never re-litigates what was decided.

产品经理
★ 0
O-Marsters-1997
O-Marsters-1997/my-claude-code

to-plan

Turns one feature's PRD into a skimmable plan in docs/plans/<feature>.md: a short overview, then per phase a glossary, the journeys it satisfies, and its new and modified definitions (types, enums, ports, schema), with the project:<slug> label. No code, branch or PR; the user's review of the file is the gate. Use for "plan this feature", "write the contract", "what are the types". One feature per run. Slash-only.

★ 0