/rpikit:systematic-debuggingfrom rpikit
Investigates root causes of bugs and failures through systematic phases: error analysis, reproduction, evidence gathering, and hypothesis testing. Prevents symptom-fixing.
Ships in rpikit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Find the root cause before attempting fixes. Symptom fixes are failure.
Debugging without methodology wastes time and creates new bugs. Random fixes address symptoms, not causes. This skill enforces systematic investigation to find root causes before any fix is attempted.
ALWAYS find root cause before attempting fixes.
Quick patches mask underlying issues. If you're trying fixes without understanding why they might work, you're guessing - stop and investigate.
Complete each phase in order. Do not skip to implementation.
Understand what's happening before theorizing why.
Read the error carefully
Reproduce consistently
Review recent changes
Gather diagnostic evidence
Trace backwards
Compare against working code.
Find similar working code
Compare against references
Identify the difference
Understand dependencies
Scientific method for debugging.
Form a single hypothesis
Design a test
Make minimal changes
Observe results
Iterate or proceed
Fix only after understanding.
Write a failing test
Implement single fix
Verify the fix
Check for related issues
| Thought | Reality |
|---|---|
| "Let me try this quick fix" | You don't understand the cause |
| "I'll just restart the service" | Masking the symptom |
| "Maybe if I add a null check here" | Guessing, not debugging |
| "Let me try a few things" | Random changes waste time |
| "This usually fixes it" | Past fixes don't explain current bugs |
| "I don't have time to investigate" | You don't have time NOT to |
When investigating an issue:
When a step fails verification:
If you've attempted three or more fixes and the problem persists:
Stop fixing. Question the architecture.
Use AskUserQuestion to discuss architectural concerns before continuing.
Add temporary logging:
- Entry/exit of functions
- Variable values at key points
- Timestamps for timing issues
- Request/response payloads
When did it break?
- git bisect to find breaking commit
- Binary search through code changes
- Narrow down to specific change
Simplify to reproduce:
- Remove unrelated code
- Use minimal test case
- Eliminate variables
What's different?
- Working vs broken environment
- Working vs broken input
- Working vs broken configuration
Wrong: Try random changes hoping one works Right: Form hypothesis, test it, iterate
Wrong: Apply fix, hope it works, move on Right: Verify fix addresses root cause
Wrong: Remove code until error goes away Right: Understand why code causes error
Wrong: Find similar fix online, apply blindly Right: Understand why the fix works for your case
Wrong: "I think I know the fix, let me just try it" Right: Complete investigation phases first
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
16 skills in this plugin
/brainstormingCollaborative design methodology for creative work. Use before research or planning when requirements are unclear, multiple approaches exist, or the idea needs exploration. Refines ideas through progressive questioning.
/documenting-decisionsRecord architectural decisions as ADRs from design documents. Use after brainstorming or planning to capture what was decided, why, and what alternatives were considered. Produces sequentially numbered ADR files in docs/decisions/.
/finishing-workStructured completion workflow for implementation work. Use when implementation is complete, all tests pass, and you need to decide how to integrate the work. Guides merge, PR creation, or cleanup decisions.
/git-worktreesIsolated workspace creation for parallel development work. Use when starting feature work that needs isolation from the current workspace. Creates git worktrees with proper setup and safety verification.
/implementing-plansDisciplined plan execution with checkpoint validation, progress tracking, and verification at each step. Follows an approved plan strictly, running verification criteria before proceeding./parallel-agentsConcurrent agent dispatch for independent problems. Use when facing multiple independent tasks that can be worked on simultaneously. Reduces total time by parallelizing work that has no shared state.
npx claudepluginhub bostonaholic/rpikit --plugin rpikitOther plugins' skills for the same job