A collection of prompts for AI-assisted development with Claude Code.
https://www.youtube.com/watch?v=KVOZ9s1S9Gk&lc=UgzfwxvFjo6pKEyPo1R4AaABAg
Found value in these resources?
Buy me a coffee: https://coff.ee/wirasm
I spent a considerable amount of time creating these resources and prompts. If you find value in this project, please consider buying me a coffee to support my work.
Ready to move beyond toy demos to production-ready AI systems?
Book a workshop: https://www.rasmuswiding.com/
What you'll get:
- Put your team on a path to become AI power users
- Learn the exact PRP methodology used by top engineering teams
- Hands-on training with Claude Code, PRPs, and real codebases
- From beginner to advanced AI engineering workshops for teams and individuals
Perfect for: Engineering teams, Product teams, and developers who want AI that actually works in production
Contact me directly at [email protected]
Product Requirement Prompt (PRP) = PRD + curated codebase intelligence + agent/runbook
The minimum viable packet an AI needs to ship production-ready code on the first pass.
A PRP supplies an AI coding agent with everything it needs to deliver a vertical slice of working software—no more, no less.
A traditional PRD clarifies what the product must do and why customers need it, but deliberately avoids how it will be built.
A PRP keeps the goal and justification sections of a PRD yet adds AI-critical layers:
- Context: Precise file paths, library versions, code snippet examples
- Patterns: Existing codebase conventions to follow
- Validation: Executable commands the AI can run to verify its work
# From your project root
cp -r /path/to/PRPs-agentic-eng/.claude/commands/prp-core .claude/commands/git clone https://github.com/Wirasm/PRPs-agentic-eng.git
cd PRPs-agentic-engThe .claude/commands/prp-core/ directory contains the core PRP workflow commands:
| Command | Description |
|---|---|
/prp-prd |
Interactive PRD generator with implementation phases |
/prp-plan |
Create implementation plan (from PRD or free-form input) |
/prp-implement |
Execute a plan with validation loops |
| Command | Description |
|---|---|
/prp-issue-investigate |
Analyze GitHub issue, create implementation plan |
/prp-issue-fix |
Execute fix from investigation artifact |
/prp-debug |
Deep root cause analysis with 5 Whys methodology |
| Command | Description |
|---|---|
/prp-commit |
Smart commit with natural language file targeting |
/prp-pr |
Create PR with template support |
/prp-review |
Comprehensive PR code review |
| Command | Description |
|---|---|
/prp-ralph |
Start autonomous loop until all validations pass |
/prp-ralph-cancel |
Cancel active Ralph loop |
Based on Geoffrey Huntley's Ralph Wiggum technique - a self-referential loop that keeps iterating until the job is actually done.
/prp-ralph .claude/PRPs/plans/my-feature.plan.md --max-iterations 20
- Claude implements the plan tasks
- Runs all validation commands (type-check, lint, tests, build)
- If any validation fails → fixes and re-validates
- Loop continues until ALL validations pass
- Outputs
<promise>COMPLETE</promise>and exits
Each iteration, Claude sees its previous work in files and git history. It's not starting fresh - it's debugging itself.
The stop hook must be configured in .claude/settings.local.json:
{
"hooks": {
"Stop": [
{
"hooks": [
{
"type": "command",
"command": ".claude/hooks/prp-ralph-stop.sh"
}
]
}
]
}
}# Create a plan
/prp-plan "add user authentication with JWT"
# Let Ralph loose
/prp-ralph .claude/PRPs/plans/add-user-auth.plan.md --max-iterations 20
# Cancel if needed
/prp-ralph-cancel- Always use
--max-iterations(default: 20) to prevent infinite loops - Works best with plans that have clear, testable validation commands
- State is tracked in
.claude/prp-ralph.state.md - Progress and learnings are captured in the implementation report
/prp-prd "user authentication system"
↓
Creates PRD with Implementation Phases table
↓
/prp-plan .claude/PRPs/prds/user-auth.prd.md
↓
Auto-selects next pending phase, creates plan
↓
/prp-implement .claude/PRPs/plans/user-auth-phase-1.plan.md
↓
Executes plan, updates PRD progress, archives plan
↓
Repeat /prp-plan for next phase
/prp-plan "add pagination to the API"
↓
Creates implementation plan from description
↓
/prp-implement .claude/PRPs/plans/add-pagination.plan.md
/prp-issue-investigate 123
↓
Analyzes issue, creates investigation artifact
↓
/prp-issue-fix 123
↓
Implements fix, creates PR
All artifacts are stored in .claude/PRPs/:
.claude/PRPs/
├── prds/ # Product requirement documents
├── plans/ # Implementation plans
│ └── completed/ # Archived completed plans
├── reports/ # Implementation reports
├── issues/ # Issue investigation artifacts
│ └── completed/ # Archived completed investigations
└── reviews/ # PR review reports
PRDs include an Implementation Phases table for tracking progress:
| # | Phase | Description | Status | Parallel | Depends | PRP Plan |
| --- | ----- | ----------- | ----------- | -------- | ------- | -------- |
| 1 | Auth | User login | complete | - | - | [link] |
| 2 | API | Endpoints | in-progress | - | 1 | [link] |
| 3 | UI | Frontend | pending | with 4 | 2 | - |
| 4 | Tests | Test suite | pending | with 3 | 2 | - |- Status:
pending→in-progress→complete - Parallel: Phases that can run concurrently (in separate worktrees)
- Depends: Phases that must complete first
- Context is King: Include ALL necessary documentation, examples, and caveats
- Validation Loops: Provide executable tests/lints the AI can run and fix
- Information Dense: Use keywords and patterns from the codebase
- Bounded Scope: Each plan should be completable by an AI in one loop
your-project/
├── .claude/
│ ├── commands/prp-core/ # PRP commands
│ ├── PRPs/ # Generated artifacts
│ └── agents/ # Custom subagents
├── PRPs/
│ ├── templates/ # PRP templates
│ └── ai_docs/ # Library documentation
├── CLAUDE.md # Project-specific guidelines
└── src/ # Your source code
When PRD phases can run in parallel:
# Phase 3 and 4 can run concurrently
git worktree add -b phase-3-ui ../project-phase-3
git worktree add -b phase-4-tests ../project-phase-4
# Run Claude in each
cd ../project-phase-3 && claude
cd ../project-phase-4 && claudeprp_base.md- Comprehensive PRP templateprp_story_task.md- Story/task templateprp_planning.md- Planning template
Curated documentation for Claude Code context injection.
Previous command versions are preserved in old-prp-commands/ for reference.
MIT License
I spent a considerable amount of time creating these resources and prompts. If you find value in this project, please consider buying me a coffee to support my work.
Buy me a coffee: https://coff.ee/wirasm
The goal is one-pass implementation success through comprehensive context.