robsonrung/rar-skills

to-prd

Turn a settled decision record into a PRD for user approval.

Zobacz źródło

Jak używać

  1. Skopiuj polecenie instalacji i sprawdź źródła przed instalacją we własnym środowisku agenta.
  2. W oryginale sprawdź wymagane narzędzia, dane dostępowe i obsługiwane środowiska.
  3. Opisz dane wejściowe i oczekiwany rezultat; porównaj wynik ze źródłami.
npx skills add https://github.com/robsonrung/rar-skills --skill to-prd

Przed rozpoczęciem

  • Instalacja nie obejmuje subskrypcji modelu, limitu API ani uprawnień do plików.
  • Gwiazdki i instalacje pokazują aktywność, a nie niezależny test jakości lub bezpieczeństwa.
Oryginalny dokument Skill

Treść z repozytorium z zachowaniem nagłówków, przykładów, kodu, tabel, linków i obrazów.

To PRD

Turn settled choices into one reviewable PRD. The result is an approved specification that to-tasks can translate into executable slices.

Boundary

Receive .ai-workflow/work/<feature-slug>/decision-record.md with status ready-for-prd. Produce .ai-workflow/work/<feature-slug>/prd.md first with status draft, then with status approved after the user accepts it.

Read shared/references/workflow-stage-routing.md before writing. This step preserves settled choices. It does not open fresh architecture choices, prescribe test mechanics, select files, or decide an implementation model or effort level.

Do not call a panel, a runner, models-consensus, design-gate, security-gate, or test-lens. If the user explicitly wants additional opinions, direct them to invoke models-consensus. When the input has a material missing decision or a conflict with repository facts, return the exact question to interview-me. Do not guess or conduct a second interview here.

Work

  1. Confirm that the decision record status is ready-for-prd, then read it with the relevant code, domain glossary, and prior architecture decisions. A draft record returns to interview-me. Respect the already decided choices. If repository facts contradict a settled choice, describe the conflict and return it to interview-me before producing an approvable PRD.
  1. Write the PRD draft at the stated path. Start it with # PRD: <feature name> and **Status:** draft.
  1. Include these sections:
  1. Problem and goals.
  2. User stories or user journeys.
  3. Observable acceptance outcomes, including important failure behavior.
  4. Product, domain, integration, and data decisions that are already settled.
  5. Security decisions, or No exposed security surface.
  6. Rollout and rollback constraints.
  7. Out of scope items, assumptions, and remaining risks.
  1. Keep the PRD at the decision level. Do not include file paths, code snippets, design patterns, or test mechanics. A prototype snippet belongs only when it is the decision itself and cannot be expressed precisely in prose.
  1. Present the draft path and its material choices for review. Ask the user to approve it or request changes. Revise only from the settled record or user corrections.
  1. On approval, change the PRD status to approved. The approved PRD is the only input to-tasks accepts. The next step is to-tasks.

Acceptance contract

The PRD exists at .ai-workflow/work/<feature-slug>/prd.md. It has no unresolved decision that would force task planning to guess. Its status is approved before task planning begins.

Powiązane zadania

z tego samego repozytorium

Więcej Skills

Wszystkie Skills