
Analyze Codebase
- 64 installs
- 31 repo stars
- Updated August 2, 2026
- shipshitdev/library
Helps with ai & agent building tasks.
About
analyze-codebase is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted development.
- analyze-codebase
- AI & Agent Building
- AI-coding skill
Analyze Codebase by the numbers
- 64 all-time installs (skills.sh)
- +3 installs in the week ending Jul 27, 2026 (Skillselion tracking)
- Ranked #6,110 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Data as of Aug 3, 2026 (Skillselion catalog sync)
npx skills add https://github.com/shipshitdev/library --skill analyze-codebaseAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 64 |
|---|---|
| repo stars | ★ 31 |
| Last updated | August 2, 2026 |
| Repository | shipshitdev/library ↗ |
What it does
Helps with ai & agent building tasks.
Files
Analyze Codebase
Generate comprehensive analysis of the codebase structure, architecture, and organization.
When to Use
- Onboarding new developers
- Architecture documentation
- Project health assessment
- Before major refactoring
- Understanding system complexity
Analysis Process
Step 1: Discovery
# Project structure
tree -L 3 -I 'node_modules|.next|dist|build|coverage'
# File counts
find . -type f -name "*.ts" | wc -l
find . -type f -name "*.tsx" | wc -lStep 2: Architecture Analysis
- Identify modules, entry points, API structure
- Map frontend components and routing
- Document service patterns and conventions
Step 3: Patterns and Standards
- Check for established patterns in docs/examples
- Analyze type system organization
- Review security patterns (auth, multi-tenancy, soft delete)
Step 4: Dependencies
- Catalog external services and libraries
- Check version currency
- Identify critical dependencies
Step 5: Generate Report
Write to .agents/memory/codebase-analysis.md with these sections:
1. Executive Summary — 3-5 sentence overview 2. Project Overview — Tech stack, purpose, architecture style 3. Directory Structure — Module layout and organization 4. Architecture Patterns — Backend and frontend patterns 5. Security Analysis — Auth, data isolation, validation 6. Performance Insights — Database, caching, background jobs 7. Code Quality — Strengths, improvements, tech debt 8. Dependencies — Critical packages and version matrix 9. Testing Strategy — Coverage, patterns, gaps 10. Recommendations — Immediate, short-term, long-term
Quick Mode
For faster analysis (skip detailed metrics):
tree -L 3 -I 'node_modules|.next|dist'
echo "TypeScript: $(find . -name '*.ts' -o -name '*.tsx' | wc -l)"
echo "Controllers: $(find . -name '*.controller.ts' | wc -l)"
echo "Services: $(find . -name '*.service.ts' | wc -l)"{
"name": "analyze-codebase",
"version": "1.0.0",
"description": "Generate comprehensive codebase analysis covering architecture, security, and quality",
"author": {
"name": "Ship Shit Dev",
"email": "hello@shipshit.dev",
"url": "https://shipshit.dev"
},
"license": "MIT",
"skills": "."
}