maxingaussian/pi-plans/debug-and-plan
Claude Code and agent skill by maxingaussian/pi-plans
- community
Checking that the SKILL.md file is still in the repository.
Diagnose failures before creating a Pi plan. MUST USE for bugs, CI failures, test failures, regressions, incidents, broken behavior, root cause, RCA, or debug-why requests before deciding whether to plan; preserve the workspace language settings in `.git/pi-plans/config.json` and the reviewer role in the global config (`~/.pi/pi-plans/config.json`); exclude ordinary feature planning, direct implementation-only, factual/explanation, trivial command-only, or explicit no-plan requests.
Install
npx vskill@latest install maxingaussian/pi-plans/debug-and-planSKILL.md
Debug And Plan
Use this skill for problem or failure inputs that need diagnosis before planning.
Pi Setup
Read ../../references/pi-planning-workflow.md and ../../references/state-and-config.md — both normative — and follow their setup, state, language, and reviewer rules. Initialize workspace state with the plans tool (action: "init"); state lives in .git/pi-plans/. Ask every question with the ask_choice tool (batch related questions into one questions: [...] form call, 2-8 items; scope/handoff stays single-question with autoComplete: false); run refinement rounds with the refine tool.
Diagnostic Workflow
- Inspect available evidence first: repository files, logs, tests, command output, stack traces, recent diffs, CI output, environment details, and user-provided symptoms.
- Produce an in-message RCA summary before asking whether to plan. Use at most 5 Whys. Stop with
unknownwhen evidence is insufficient; do not invent a cause. - Ask one
ask_choicequestion in the configured language whose preamble includes the RCA summary, with these options. Every option you write carries adescriptionof✓ <advantage> / ✗ <drawback>in the configured language, kept terse: Create the scoped fix plan— recommended when evidence supports a planning path.Stop after RCA— keep the diagnosis only.Other/ 4.Auto-completeare added by the tool.- On opt-out, stop after the summary; do not write
PROBLEM_ANALYSIS.md. - On opt-in (or
Auto-completechoosing the recommendation), select the smallest fitting planning skill and follow that skill exactly: first-turn planning question, final scope confirmation,PLAN_v1.md, refinement, and the merged accept/execute question (ask_choice withautoComplete: false) before calling theexecute_plantool.
Level Selection
plan-small: clear root cause, obvious fix shape, few local files, limited risk.plan-normal: multi-file fix, external API or dependency behavior, compatibility concerns, or research needed.plan-big: cross-system failure, unclear root cause, redesign pressure, or high safety/recoverability risk.
Do not ask the user to choose the level unless the evidence supports two materially different planning depths and the tradeoff cannot be resolved from the repo.
PROBLEM_ANALYSIS.md
After opt-in, create the selected planning run's .git/pi-plans state and public artifact directory (plans action start-run), then write PROBLEM_ANALYSIS.md before PLAN_v1.md. Include: original problem; symptoms and reproduction status; evidence inspected; RCA summary and 5 Whys (ending early with unknown when evidence stops); suspected root cause and confidence; planning skill selected and why; language, reviewer, and reviewer settings used; open diagnostic gaps the plan must address. Pass the original problem, RCA summary, evidence, and PROBLEM_ANALYSIS.md path into the selected planning skill.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/debug-and-plan/SKILL.md
Popularity
- Repository npm downloads, 7 days
- 314
- 7-day trend score
- 0
Downloads are for the repository's npm package. Refreshed 15 Oct 2026, 19 days ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/maxingaussian/pi-plans/debug-and-plan)