Codebase Analysis
Folder: .github/skills/tsh-codebase-analysing/
Used by: Architect, Business Analyst, Software Engineer
Provides a comprehensive 12-step process for analyzing an entire codebase, with support for monorepos.
12-Step Analysis Checklist
- Repository structure — File organization, folder hierarchy.
- Dependencies — Package audit, outdated dependencies.
- Scripts — Build, test, lint, deploy scripts.
- High-level architecture — System components and interactions.
- Backend — API structure, data access, business logic.
- Frontend — Components, state management, routing.
- Infrastructure — Deployment config, CI/CD, environment setup.
- Third-party integrations — External services, APIs.
- Testing — Test coverage, patterns, gaps.
- Security — Security approach and vulnerabilities.
- Improvements — Prioritized improvement opportunities.
- Dead code & duplications — Unused code and duplication detection.
Key Capabilities
- Repository type identification (monorepo vs single system).
- Architecture diagramming from code.
- Dependency audit and outdated dependency detection.
- Dead code and duplication detection.
- Security approach rating.
- Improvement prioritization (Critical / To be implemented / Nice to have).
Output
A structured report (codebase-analysis.example.md template) covering all 12 steps. For monorepos, findings are organized per app/package.