This skill generates comprehensive PRPs for feature implementation by analyzing codebases and researching external sources to enable one-pass delivery.
npx playbooks add skill henkisdabro/wookstar-claude-plugins --skill prp-generator
The implementing agent receives only the PRP, its training data, the codebase and web search - not this conversation. Everything it needs to finish in one pass goes into the PRP: file paths with line numbers, documentation URLs with versions, gotchas, and validation gates it can run.
Read the feature request in full (the file, if a path was given). Ask the user about anything unclear with AskUserQuestion: tech stack, integration points, persistence, acceptance criteria.
Done when you can state the problem and its acceptance criteria in two sentences the user has not contradicted.
Capture each of these, with path:line references:
| Area | What to capture |
|------|----------------|
| Similar features | File paths, line ranges, snippets, adaptations needed |
| Architecture | Directory conventions, component organisation, state management, API patterns |
| Coding conventions | Language idioms, component patterns, styling, import ordering, naming |
| Test patterns | Framework, file naming, mock strategy, coverage expectations |
| Configuration | Dependencies and their installed versions, build setup, path aliases |
When a row is hard to fill, [references/codebase-analysis-guide.md](references/codebase-analysis-guide.md) has the search sub-steps and note templates for it.
Done when every row has at least one concrete reference, or a note that the codebase has nothing relevant.
| Area | Key actions |
|------|------------|
| Library documentation | Official docs for the version installed in the project; version-specific gotchas |
| Implementation examples | GitHub, official examples, recent production code |
| Best practices | Current guidance for the stack; OWASP for anything security-touching |
| Performance and security | Bundle size, runtime cost, known vulnerabilities, accessibility |
When a search comes back thin or sources disagree, the External Research Process section of [references/research_methodology.md](references/research_methodology.md) has search strategies and how to judge sources.
Done when each library the feature touches has a documentation URL and version recorded.
Before writing, work through integration points, step ordering, validation strategy and context completeness using the questions in [references/quality-assessment.md](references/quality-assessment.md).
Done when you can answer "could an agent implement this without asking a question?" with yes, or you have gone back to steps 1-3 to close the gap.
Fill [assets/prp_template.md](assets/prp_template.md). Every section is populated or removed with a reason; in particular:
path:line references and URLs with versions from steps 2-3.pnpm test && pnpm build).Hold every line to the Strong column:
| Pitfall | Weak | Strong |
|---------|-----|------|
| Vague references | "There's a similar component somewhere" | "See UserProfile at src/components/UserProfile.tsx:45-67" |
| Missing versions | "Use React Query" | "Use @tanstack/react-query at the version in package.json (v5)" |
| Non-executable gates | "Run tests and make sure they pass" | pnpm test && pnpm build |
| Generic advice | "Follow React best practices" | "Use named exports (see src/components/Button.tsx:1)" |
| Missing gotchas | Assuming a smooth implementation | Known issues and edge cases listed per step |
Done when no [placeholder] text remains in the file.
| Score | Meaning |
|-------|---------|
| 9-10 | All context included, clear path, executable gates |
| 7-8 | Minor gaps, mostly clear path |
| 5-6 | Some ambiguity, implementer may need to ask |
| 3-4 | Incomplete research, unclear path |
| 1-2 | Not implementable |
Done when the score is 7 or higher - below that, return to the weakest step and improve the PRP.
Save to PRPs/<feature-name>.md (kebab-case; create the directory if needed). Tell the user the path, the confidence score with its rationale, and that /execute-prp PRPs/<feature-name>.md implements it.
Done when the file exists at that path and every item of the Quality Checklist in [references/quality-assessment.md](references/quality-assessment.md) is ticked.
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.