/prp-core:prp-debug <issue | error | stacktrace | behavior> [--no-publish] [--rewrite-body]from prp-core
Diagnoses bugs, errors, stack traces, and regressions, then publishes evidence-backed root causes to GitHub issues. Invoke by providing a bug report or stack trace.
Ships in prp-core. 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.
Diagnose broken current behavior through the prp-core:root-cause-analyzer, then make the finding durable in the appropriate GitHub issue. Do not implement the fix.
Input: $ARGUMENTS (if absent, use the conversation).
Read repository guidance and establish the complete report: symptom, expected behavior, environment, reproduction, logs, and any supplied stack trace.
When the input points to a GitHub issue, read its body, relevant comments, linked issues, duplicates, pull requests, and attachments before diagnosing. Treat the body as historical context, not verified causality.
When no issue is specified, search open issues in the current GitHub repository using the symptom, distinctive errors, affected feature, and likely underlying behavior. Inspect candidate bodies and discussion; title similarity alone is not a duplicate.
If GitHub access or the repository cannot be resolved, complete the diagnosis but stop before publication and state what access is missing. Honor --no-publish or an equivalent explicit request without treating publication as a failure.
Spawn prp-core:root-cause-analyzer with the original report, complete tracker context, repository path, and any decisive runtime evidence already available. Do not give it a preferred cause or fix.
Require:
Do not publish a UNRESOLVED diagnosis as fact. Report the missing evidence and the next investigation step instead. Publish a CONDITIONAL diagnosis only with its condition prominent.
For an unspecified issue, re-check the open candidates against the diagnosed behavior and cause. Reuse an issue only when it represents the same underlying problem, not merely a similar symptom.
If the diagnosis reveals that a supplied issue is a duplicate, comment on the issue the user supplied with the evidence and link the canonical open issue. Do not silently move the conversation elsewhere.
Unless publication was disabled or the current harness says its driver owns external publication:
--rewrite-body or its natural-language equivalent; preserve still-useful original report details.Do not create a separate local RCA document. The GitHub issue or comment is the artifact.
Read the created or updated issue back to verify the content and capture its URL. Report the diagnosis status, one-sentence cause, publication action, issue URL, fix boundary, regression proof, and any remaining uncertainty.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub wirasm/prp --plugin prp-core22 skills in this plugin
/prp-broRestates the previous response in plain language, with no jargon. Use when the user says "bro", asks to "say that plainly", says "explain it simply", or invokes /prp-bro./prp-codebase-questionResearch codebase questions using parallel agents - documents what exists, not what should change. Use when the user asks how the codebase works, where something lives, or invokes /prp-codebase-question./prp-commitCreates Git commits for completed work. Always use when committing changes, when the user explicitly asks to commit the work, when another PRP workflow reaches its commit step, or when the user invokes /prp-commit./prp-companionWrites the visual HTML companion of a PRP plan or review - one self-contained page beside the markdown that shows a plan's change diagram, steps and risks, or a review's verdict, findings and a diagram of what the PR changed, with every item carrying a stable id a mark can point at. In helm a review or plan page is live: the operator sets each finding's or step's status and replies on the page. prp-plan and prp-review run it after writing their markdown. Use when the user wants to "make it visual", "show me the plan", "visualize this review", "diagram this plan", "write the companion", or invokes /prp-companion./prp-deliverThis is an experimental skill. Never use it unless the user explicitly tells you to invoke /prp-deliver./prp-implementImplements and validates existing PRP plans and corrects reviewed or failing-CI pull requests. Always use when executing an implementation plan, implementing an issue that already has a local or published plan, correcting a PR from a PRP review report or CI failure, when another PRP workflow reaches its implementation or correction step, or when the user invokes /prp-implement.Other plugins' skills for the same job