Loading...
Loading...
Generate a SYSTEM_OVERVIEW.md that orients a senior engineer new to an unfamiliar codebase, with a Mermaid architecture diagram, a sequence diagram for data flow, and a legacy-pattern assessment. Use when user says 'give me a system overview', 'onboard me on this repo', 'walk me into this legacy codebase', 'document the high-level architecture', or 'create a SYSTEM_OVERVIEW.md'. Do NOT use for code walkthroughs (use explain), persistent architecture chapters (use arc42), or ADRs (use document-decision).
npx skill4agent add thommann/skills system-overviewSYSTEM_OVERVIEW.mdREADME.mdCLAUDE.mdAGENTS.mdmain.pyapp/src/index.tscmd/Dockerfiledocker-compose.ymltree -L 2 -I 'node_modules|.git|.venv|__pycache__|dist|build'
find . -maxdepth 2 -name 'README*' -not -path '*/node_modules/*'pyproject.tomlpackage.jsongo.modCargo.tomlpom.xml# HTTP / RPC entry points
grep -rln "FastAPI\|express()\|http.HandleFunc\|@RestController\|@SpringBootApplication" \
--include='*.py' --include='*.ts' --include='*.js' --include='*.go' --include='*.java' .
# External integrations (DB, cache, queues, third-party APIs)
grep -rEn "psycopg|sqlalchemy|redis|kafka|amqp|boto3|requests\.|httpx\.|fetch\(" \
--include='*.py' --include='*.ts' --include='*.js' . | head -30SYSTEM_OVERVIEW.md# System Overview
> Audience: a senior engineer new to this system. Drafted by an LLM, requires human review.
## CORE ANALYSIS (Required)
- Tools, frameworks, and design patterns used across the repository
- Data models and API design
- Mermaid architecture diagram of the system and its dependencies at a high level
## SYSTEM DESIGN (Required)
- File-by-file explanation of the central modules and how they link
- Mermaid sequence diagram for the primary data flow
- Mermaid flowcharts for any complex branching flows
## LEGACY ASSESSMENT (If applicable)
- Inconsistencies in architectural patterns
- Deviations from language or framework conventions
- Distinctions between old and new architectural approachespath/to/file.ext:lineUNVERIFIED:EventBus.publishapp/events/bus.py:42app/events/registry.py:18-31UNVERIFIED:# If mmdc is available
npx -y @mermaid-js/mermaid-cli -i SYSTEM_OVERVIEW.md -o /tmp/overview.svgSYSTEM_OVERVIEW.mdCORE ANALYSISSYSTEM DESIGNLEGACY ASSESSMENTUNVERIFIED:repository.pyUNVERIFIED:LEGACY ASSESSMENT