polewskm

Plan Bugfix — Testing skill for Claude Code

Testing community

Find the root cause of a bug and plan a test-first fix.

How to install Plan Bugfix

Installs to ~/.claude/commands/polewskm-project-template-plan-bugfix.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/polewskm/project-template/HEAD/.claude/commands/plan-bugfix.md -o ~/.claude/commands/polewskm-project-template-plan-bugfix.md

Restart Claude Code, or start a new session, for it to be picked up.

What Plan Bugfix does


description: "Find the root cause of a bug and plan a test-first fix" argument-hint: "[Symptom, error message and how to reproduce it]" model: opus effort: high disable-model-invocation: true

Plan in a worktree of its own

Each plan lives in its own git worktree, so several Claude Code sessions can plan and execute different plans on this machine at once. Executing, re-planning and reviewing this plan later happen in the same worktree. Set it up before you read any code, so your resea

Alternatives in Testing

  • OpenAgentsControl — AI agent framework for plan-first development workflows with approval-based execution 4.8k ★
  • Specweave — Spec-first AI development: describe a feature → AI creates spec + plan + tasks, builds autonomously, syncs to 158 ★
  • M TDD Planner — TDD Plan Workflow: Generate Test-First Development Plan 139 ★

Full documentation available on GitHub

View Source Repository