Patterns and techniques for analyzing brownfield codebases. Use when onboarding to unfamiliar code, preparing for refactoring, conducting architecture reviews, or identifying technical debt.
Installation
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Patterns and techniques for analyzing brownfield codebases. Use when onboarding to unfamiliar code, preparing for refactoring, conducting architecture reviews, or identifying technical debt.
Codebase Analysis Skill
Systematically explore and understand existing codebases, including entry point discovery, dependency tracing, pattern detection, and technical debt identification.
Variables
Variable
Default
Description
ANALYSIS_DEPTH
standard
quick (5min), standard (30min), deep (1hr+)
OUTPUT_FORMAT
markdown
markdown, json, c4
INCLUDE_DEBT
true
Include technical debt assessment
INCLUDE_DIAGRAMS
true
Generate C4 diagrams
Instructions
MANDATORY - Follow the Workflow steps below in order. Do not skip steps.
Start with entry points, not random files
Trace dependencies before analyzing patterns
Document findings as you go
Red Flags - STOP and Reconsider
If you're about to:
Analyze random files without finding entry points first
Make architectural claims without tracing dependencies
Skip pattern detection before identifying anti-patterns
Report technical debt without severity classification
STOP -> Read the appropriate cookbook file -> Follow the workflow -> Then proceed