debugger
Systematic debugging methodology for diagnosing failures and root cause analysis. Triggers on: 2+ failed fix attempts,…
Structured PRD generation with interview, research, and approval workflow. Triggers on: '/ralph-plan <topic>', 'create prd', 'generate prd', 'plan this'. Creates comprehensive Product Requirements Document via interview and research.
$ npx -y skills add TechDufus/oh-my-claude --skill ralph-plan --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/ralph-planContext preview
The summary Claude sees to decide when to auto-load this skill.
Structured PRD generation with interview, research, and approval workflow. Triggers on: '/ralph-plan <topic>', 'create prd', 'generate prd', 'plan this'. Creates comprehensive Product Requirements Document via interview and research.
name: ralph-plan description: "Structured PRD generation with interview, research, and approval workflow. Triggers on: '/ralph-plan <topic>', 'create prd', 'generate prd', 'plan this'. Creates comprehensive Product Requirements Document via interview and research." allowed-tools: - Read - Write - Edit - Glob - Grep - Bash - Agent - TodoWrite - AskUserQuestion
Structured PRD generation. Interview, research, plan, approve.
Ralph Plan creates comprehensive Product Requirements Documents through a deliberate process:
1. **Interview Phase** - Understand requirements through focused questions 2. **Research Phase** - Analyze codebase via Explore/librarian 3. **Planning Phase** - Generate structured plan with clear steps 4. **Approval Gate** - User reviews, modifies, and approves the final PRD
The result is a battle-tested plan ready for implementation by any method the user chooses.
| Category | Trigger Phrases | |----------|-----------------| | **Start planning** | `/ralph-plan <topic>`, `create prd`, `generate prd`, `plan this` | | **Check status** | `ralph-plan status` | | **Resume** | `resume ralph-plan` |
---
Create a structured plan through interview and research.
Create draft at `.claude/plans/drafts/{topic-slug}.md` with template:
# Planning Draft: {topic}
## Status
Phase: Interview
Started: {timestamp}
## Requirements
- [to be captured from interview]
## Decisions
- [choices made during interview]
## Research Findings
- [results from Explore/librarian]
## Open Questions
- [unanswered items]Conduct focused interview (3-5 questions based on complexity):
**Core Questions:** 1. "What problem does this solve?" (understand context) 2. "What's the scope - minimal viable vs complete?" (set boundaries) 3. "Any constraints, non-goals, or things to avoid?" (define exclusions)
**Follow-up Questions (as needed):**
Update draft after each answer.
Research the codebase before finalizing:
Agent: Explore
Task: Find relevant files for {topic}
Expected: List of files that will be affectedAgent: oh-my-claude:librarian Task: Read and summarize key files Expected: Summary of current implementation patterns
Add findings to draft under "## Research Findings".
Transform draft into structured plan with these sections:
# Plan: {topic}
## Context
[Why this plan exists, what problem it solves]
## Objectives
### Must Have
- [required outcomes]
### Must NOT
- [explicit exclusions and constraints]
## Implementation Steps
1. [Step with specific file references]
2. [Step with specific file references]
3. ...
## Files to Modify
| File | Changes |
|------|---------|
| `path/to/file.ts` | [what changes] |
## Acceptance Criteria
- [ ] [Testable criterion]
- [ ] [Testable criterion]
- [ ] [Testable criterion]---
**User must review and approve the plan before finalization.**
1. Display the complete plan summary to the user 2. Use `AskUserQuestion` tool for approval:
{
"questions": [{
"question": "How would you like to proceed with this PRD?",
"header": "PRD Status",
"options": [
{"label": "Approve", "description": "Finalize and save the PRD"},
{"label": "Request Changes", "description": "Modify specific sections"},
{"label": "Cancel", "description": "Abort and keep draft"}
],
"multiSelect": false
}]
}**CRITICAL**: You MUST use the `AskUserQuestion` tool for approval. Do NOT output text prompts asking the user to "reply with" something.
| User Response | Action | |---------------|--------| | "Approve" | Finalize PRD (move to final location) | | "Request Changes" | Ask what to change, update plan, re-present with `AskUserQuestion` | | "Cancel" | Keep draft, do not finalize | | "Other" (custom text) | Interpret and act accordingly, then re-prompt if needed |
**Do NOT interpret ambiguous responses as approval.** If unclear, re-prompt with `AskUserQuestion`.
1. Move plan from draft to final location:
.claude/plans/drafts/{topic-slug}.md --> .claude/plans/{topic-slug}.md2. Delete the draft file
3. Report completion:
PRD finalized at .claude/plans/{topic-slug}.md
Next steps:
- Review the plan at your convenience
- Implement manually, or use your preferred automation
- Reference the acceptance criteria to track progress---
When user says `ralph-plan status`:
Ralph Plan Status
=================
**Plan:** {topic}
**Phase:** Interview | Research | Draft Complete | Awaiting Approval | Finalized
--- Plan Location ---
Draft: .claude/plans/drafts/{topic-slug}.md
Final: .claude/plans/{topic-slug}.md (if finalized)
--- Plan Contents ---
Steps: {total}
Acceptance Criteria: {total}
Files Affected: {count}---
/ralph-plan implement user authentication with JWT
**Interview Phase:**
**Research Phase:**
**Plan Generated:**
**Approval:**
Plan presented to user with `AskUserQuestion` tool. User selects: "Approve"
**Output:**
PRD finalized at .claude/plans/user-authentication-jwt.md
---
Add ultrawork to any prompt for maximum parallel execution
Systematic debugging methodology for diagnosing failures and root cause analysis. Triggers on: 2+ failed fix attempts,…
MUST be used for ANY git workflow that involves committing code. This includes explicit commit requests AND implicit ones like…
Initialize or migrate to nested CLAUDE.md structure for progressive disclosure. Claude auto-loads CLAUDE.md from any directory it…
Use when applying oh-my-claude workflow guidance, ultrawork modes, agent orchestration, plan execution, or plugin configuration.
MUST be used when creating pull requests. Handles context gathering, title generation (conventional commit format), body…
Transform approved plans into ralph loop infrastructure. Triggers on: '/ralph-loop-init', '/ralph-init', 'setup ralph loop',…