agentleFS
theyoungastronautstheyoungastronauts/polaris/skills/prd/SKILL.md

prd

Skill4 starsChanged 4 months agoMITView on GitHub

Generate a structured Product Requirements Document from a feature idea.

72 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use modern-go, to-design and 10 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.
  • jidechaoSkill

    modern-go

    Modernize Go code by applying version-appropriate idioms and APIs (gofix-style transformations). Scans go.mod for the Go version, then transforms Go source files to use modern patterns—from Go 1.0 through 1.26+. Use when the user says "现代化","现代Go语言", "地道的", "idiomatic", "modernize", "modern-go", "update Go code", "gofix", or wants to upgrade Go idioms.

    Also in 3 projects that use this

  • jidechaoSkill

    to-design

    Generate a design document (design proposal) from a PRD, in the style of Go's official design proposals — Abstract / Background / Design / Rationale / Compatibility / Implementation, heavy on the 'why' and tradeoffs. Triggers on: to-design, prd-to-design, prd转设计文档, 生成设计文档, 写设计文档, design doc, design proposal, 设计提案, 技术设计文档.

    Also in 3 projects that use this

  • deedeeharrisSkill

    prd-to-spec

    Convert an approved PRD into a phase-gated implementation SPEC. User-facing entry point that dispatches to the prd-to-spec babysitter process via /babysitter:call (interactive) or /babysitter:yolo (auto). Stack-agnostic.

    Also in 3 projects that use this

  • Dr4gon42Skill

    ralph

    Autonomous agent loop for completing features. Use when asked to 'use ralph', 'ralph this', or to autonomously implement a feature end-to-end. Creates prd.json with user stories, then executes them one by one until complete.

    Also in 11 projects that use this

  • JokerRunSkill

    compound-engineering

    Compound Engineering workflow for AI-assisted development. Use when planning features, executing work, reviewing code, or codifying learnings. Follows the Plan → Work → Review → Compound loop where each unit of engineering makes subsequent work easier. Triggers on: plan this feature, implement this, review this code, compound learnings, create implementation plan, systematic development.

    Also in 3 projects that use this

  • VektoAISkill

    prioritize

    Prioritization Analyst mode. Run RICE, ICE, MoSCoW, Kano, or Weighted Scoring on a feature set. Forces honest scoring, catches optimism bias, produces stack-ranked outputs with confidence intervals and sensitivity analysis.

    Also in 4 projects that use this

  • +2 more from jidechao

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. 0 are common, 12 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 61 edited versions we read keep these.

  • 12

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After brainstorming, to formalize a design into structured requirements

    line 17
  2. Distinctive:

    When starting from a rough MVP or demo idea that needs product clarity

    line 18
  3. Very specific:

    Before running /ux-spec for UI-heavy features

    line 19
  4. Distinctive:

    When the feature needs explicit UX decisions, not just technical architecture

    line 20
  5. Distinctive:

    Ask one clarifying question max before proceeding, then state assumptions

    line 29
  6. Distinctive:

    Write a PRD with these 7 sections.

    line 35
  7. Distinctive:

    Avoid personas or demographics.

    line 56
  8. Distinctive:

    If this flow works, the demo works.

    line 65
  9. Distinctive:

    After generating the PRD, ask the user for their preferred depth:

    line 93
  10. Distinctive:

    After all questions are complete:

    line 125
  11. Distinctive:

    Update the PRD with clarified requirements

    line 126
  12. Very specific:

    Write the PRD to docs/plans/{topic}-prd.md.

    line 132
  13. Distinctive:

    Do NOT include: architecture diagrams, tech stack decisions, pricing/GTM, long explanations

    line 148
  14. Distinctive:

    Too many functional requirements: If the list is longer than 8-10 items, you're past MVP.

    line 156

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

Skill: Product Requirements Document

Adapted from external PRD and clarification skills

Overview

Generate a structured, demo-grade PRD from a rough idea, then refine it through systematic questioning. Combines requirement generation with clarification into a single pass.

When to Use

  • After brainstorming, to formalize a design into structured requirements
  • When starting from a rough MVP or demo idea that needs product clarity
  • Before running /ux-spec for UI-heavy features
  • When the feature needs explicit UX decisions, not just technical architecture

Not for: Backend-only features, pure technical tasks, or ideas that are already well-specified.

Input

The user provides a rough description — possibly vague, incomplete, or "vibe-level." You must:

  • Infer missing details, but clearly label assumptions
  • Optimize for a believable demo, not production scale
  • Ask one clarifying question max before proceeding, then state assumptions

Process

Phase 1: Generate the PRD

Write a PRD with these 7 sections. Use concise, builder-friendly language.

1. One-Sentence Problem

[User] struggles to [do X] because [reason], resulting in [impact].

Pick the single most demo-worthy problem if multiple exist.

2. Demo Goal

  • What must work for this demo to be considered successful
  • What outcome the demo should clearly communicate
  • Non-goals (what is intentionally out of scope)

3. Target User

Define one primary user role:

  • Role / context
  • Skill level
  • Key constraint (time, knowledge, access, etc.)

Avoid personas or demographics.

4. Core Use Case (Happy Path)

The single most important end-to-end flow:

  • Start condition
  • Step-by-step flow (numbered)
  • End condition

If this flow works, the demo works.

5. Functional Decisions

Required capabilities only. Use this table:

IDFunctionNotes

Rules: phrase as capabilities, no nice-to-haves, keep the list tight.

6. UX Decisions

Explicitly define so nothing is left implicit:

  • Entry point: How the user starts, what they see first
  • Inputs: What the user provides
  • Outputs: What the user receives and in what form
  • Feedback & states: How the system communicates loading, success, failure, partial results
  • Errors: What happens on invalid input, system failure, user inaction

7. Data & Logic

  • Inputs: Where data comes from (user, API, static/mocked, generated)
  • Processing: High-level logic only (input → transform → output)
  • Outputs: Where results go (UI only, stored, logged)

Phase 2: Clarify and Refine

After generating the PRD, ask the user for their preferred depth:

DepthQuestionsUse When
Quick5Time-constrained, PRD is already solid
Medium10Balanced review of key areas
Long20Comprehensive exploration
Ultralong35Exhaustive deep-dive

Then ask questions one at a time using AskUserQuestion, adapting after each answer.

Prioritize questions by impact:

  1. Critical path items — requirements that block other features
  2. High-ambiguity areas — vague language, missing acceptance criteria
  3. Integration points — interfaces with external systems
  4. Edge cases — error handling, boundary conditions
  5. Non-functional requirements — performance, accessibility gaps
  6. User journey gaps — missing steps, undefined states

After each answer, reassess:

  • Did the answer reveal new ambiguities? Prioritize those.
  • Did it clarify related areas? Skip now-redundant questions.
  • Did it contradict earlier answers? Address the conflict.

Question quality standards:

  • Specific — reference exact PRD sections
  • Actionable — answer directly informs a requirement update
  • Non-leading — don't suggest the "right" answer
  • Singular — one question per turn

Phase 3: Finalize

After all questions are complete:

  1. Update the PRD with clarified requirements
  2. List any remaining unresolved ambiguities
  3. Suggest priority order for addressing open items

Output

Write the PRD to docs/plans/{topic}-prd.md.

Done When

A builder could read this PRD, build a demo without guessing, and explain the product clearly to someone else.

After the PRD

"PRD is saved. Next steps:

  • UI-heavy feature: Run /ux-spec to design the user experience before planning.
  • Technical feature: Start a new session with the planner agent to break this into implementation phases."

Guidelines

  • Optimize for speed + clarity
  • Make reasonable assumptions explicit
  • Do NOT include: architecture diagrams, tech stack decisions, pricing/GTM, long explanations

Common Mistakes

Overspecifying implementation: The PRD defines WHAT, not HOW. No tech stack, no architecture.

Skipping UX decisions (section 6): The most commonly under-specified section. Entry points, feedback states, and error handling are product decisions, not implementation details.

Too many functional requirements: If the list is longer than 8-10 items, you're past MVP. Cut ruthlessly.

Vague happy path: "User logs in and does the thing" is not a use case. Number every step.

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.