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

prd

Skill4 starsChanged 3 months agoMITView on GitHub

Generate a structured Product Requirements Document from a feature idea.

125 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use context-optimize, usecase 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.
  • ibahgatSkill

    context-optimize

    Improve context efficiency and cache stability for long or complex sessions.

    Also in 3 projects that use this

  • gabriellstSkill

    usecase

    Create an application use case. Use when implementing business operations like CreateOrder, ProcessPayment, CancelBooking. Use this skill for any command/mutation that orchestrates domain logic, whether simple CRUD or complex multi-step transactions with sagas. Dispatch hub — routes to typescript/go variants by file extension.

    Also in 3 projects that use this

  • 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

  • ulises-jeremiasSkill

    trd

    WHAT — Draft and review a Technical Requirements Document (TRD) using the template, typically

    Also in 3 projects that use this

  • jidechaoSkill

    loop-it

    Automated issue loop with checkpoint/resume: fetch open GitHub issues → dependency-aware topological sort → implement each issue end-to-end → review with /review-it → document with /note-it → ship with /ship-it → repeat. Persists state to .loop-state.json for crash recovery. Triggers on: loop-it, loop issues, auto implement, 批量实现, 循环实现, 实现所有issue, 恢复循环, resume loop.

    Also in 3 projects that use this

  • snarktankSkill

    ralph

    Convert PRDs to prd.json format for the Ralph autonomous agent system. Use when you have an existing PRD and need to convert it to Ralph's JSON format. Triggers on: convert this prd, turn this into ralph format, create prd.json from this, ralph json.

    Also in 16 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 102 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 102 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.