← ClaudeAtlas

pr-plan-bucket-triage-before-sizinglisted

Run a 1-day "Phase 0 bucket triage" with subagent-per-bucket dispatch BEFORE writing detailed PR plans, when scoping work on a codebase that (a) someone else is actively shipping on, (b) you haven't audited recently, or (c) you're relying on assumptions about route existence, UI wiring, storage shape, or defect scope. Use when: (1) you're about to invoke `superpowers:writing-plans` for 3+ PRs and your LOC estimates contain question marks or "TBD by triage" markers; (2) brainstorming output references "the colleague's module is a stub" / "the UI doesn't exist yet" / "the report download is missing" — assumptions you haven't grep'd; (3) the design says "PR-N depends on triage findings"; (4) you catch yourself writing "size: 150-600 LOC" ranges; (5) the codebase has a roadmap doc claiming features are "Done" but with caveats that haven't been re-verified. The skill defines the bucket-triage pattern (6 typical buckets: routes/templates, existing surface, module integration, break diagnosis, pattern audit, storage
wan-huiyan/agent-traffic-control · ★ 2 · AI & Automation · score 79
Install: claude install-skill wan-huiyan/agent-traffic-control
# Phase 0 Bucket Triage Before Writing PR Plans ## Problem `superpowers:writing-plans` produces detailed task-by-task plans with exact file paths, LOC estimates, and TDD steps. That's the right output when you **know the codebase state** — but a common failure mode is writing those plans on assumptions about: which routes already exist, whether a colleague's in-flight module is a stub or substantial, what storage convention links results to runs, whether a "known defect" is still real or was quietly fixed. You burn cycles writing detailed plans, the engineer starts implementing, and within the first hour they discover the plan was sized against a codebase that doesn't exist. The fix is **always re-plan with the new evidence** — meaning the original plan was waste. The cost of writing plans on speculation is asymmetric: - Writing 4 detailed plans on speculation: ~2 hours. - Discovering plan-1 was wrong during implementation, re-planning, re-discussing with reviewer: ~4 hours per wrong plan. - Net cost of speculation: ~14 hours. - Cost of a 1-day Phase 0 triage: ~6 hours. - Net savings: ~8 hours, AND the surviving plans are sized in concrete LOC (not ranges), AND triage typically uncovers free-bonus findings (stale docs, pre-existing bugs, design opportunities the speculation would have missed). ## Context / Trigger Conditions Use this skill when **all three** are true: 1. **You're sizing PRs against an existing codebase.** (Greenfield work doesn't have anything