.claude/skills/analyze-codebase/SKILL.md
Run codebase analysis with specialized agents. Use for architecture, dependencies, performance, or code quality review.
npx skillsauth add akashmeshram/claude-disco analyze-codebaseInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Launch appropriate analysis agent(s) based on user request.
| Agent | Use For |
|-------|---------|
| repo-architecture-scanner | Structure, tech stack, entry points |
| codebase-analyzer | Trace specific flows, call graphs |
| dependency-analyzer | Imports, cycles, coupling |
| performance-analyzer | Bottlenecks, complexity, scaling |
| dead-code-analyzer | Unused code, doc drift |
| error-flow-analyzer | Error handling, silent failures |
| state-flow-analyzer | State mutations, race conditions |
| domain-logic-mapper | Business logic, invariants |
| interface-contract-analyzer | API contracts, validation |
| cross-cutting-concern-analyzer | Auth, logging, resilience |
| architecture-synthesizer | Combine multiple reports |
| report-critic | Review report accuracy |
| User Request | Agent to Launch | |--------------|-----------------| | "How is this organized?" | repo-architecture-scanner | | "Trace this function" | codebase-analyzer | | "Find circular imports" | dependency-analyzer | | "Why is this slow?" | performance-analyzer | | "Find unused code" | dead-code-analyzer | | "Check error handling" | error-flow-analyzer | | "Full codebase review" | Multiple → architecture-synthesizer |
Use subagent_type: [agent-name]
tools
Scaffold new projects with proper structure and boilerplate. Use for creating APIs, CLIs, web apps, or libraries from scratch.
tools
Initialize development configurations: CI/CD, linting, testing, Docker. Use for setting up project tooling.
testing
Generate comprehensive analysis report by running multiple agents. Use for full audits, onboarding docs, or architecture reviews.
development
Generate new features, components, services, and modules that follow existing codebase patterns.