Patterns and techniques for analyzing brownfield codebases. Use when onboarding to unfamiliar code, preparing for refactoring, conducting architecture reviews, or identifying technical debt.
설치
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
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