Use this skill proactively when the user is about to start complex implementation work. Trigger on: - Planning work: "how should I approach", "where do I start", "help me plan", "structured approach" - Complex tasks: "refactor", "migrate", "rewrite", "redesign", "overhaul" - Unfamiliar code: "don't know this codebase", "new to this project", "first time working on" - Large scope: "multiple files", "across the codebase", "system-wide", "end-to-end" - Context concerns: "don't want to lose track", "keep organized", "agile workflow" This skill provides tiered guidance: trivial tasks get light documentation, complex tasks get full workflow.
This skill inherits all available tools. When active, it can use any tool Claude has access to.
A structured approach for working effectively on large, complex codebases with AI assistance.
AI coding tools excel at greenfield but struggle with brownfield (100k+ LOC production codebases).
Root cause: Context degradation. As conversations grow, AI loses coherence and makes poor decisions.
"The contents of your context window are the ONLY lever you have to affect the quality of your output."
Context quality optimizes for:
RESEARCH ──────▶ PLANNING ──────▶ IMPLEMENT
Understand Milestones Execute tasks
Map files Task list Verify & commit
Patterns Test plan Fresh context
Human review points between each phase.
Purpose: Understand the codebase as it exists today.
Principles:
Outputs:
Purpose: Create detailed, verifiable implementation plan.
Principles:
/milestone-planning)/task-sizing)Outputs:
Purpose: Execute the approved plan with verification.
Principles:
Where human attention multiplies impact:
| Phase | Error Multiplier | Review Priority |
|---|---|---|
| Research | 1 mistake → 1000s bad lines | HIGH |
| Planning | 1 mistake → 100s bad lines | HIGH |
| Implementation | 1 mistake → isolated issue | Lower |
Insight: Review research and plans, not code details.
Full workflow:
Skip to planning:
Skip to implementation:
Maintain 40-60% context utilization (see /context-health):
/milestone-planning - Break work into milestones/task-sizing - Size tasks for implementers/context-health - Context management strategies