analyze-codebase
Analyze a codebase to generate a comprehensive architecture and structure report. Use when user wants to understand a codebase, explore project structure, or generate analysis.
npx skills add majiayu000/claude-skill-registry --skill analyze-codebase --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Codebase Analysis Workflow Execute a 3-phase codebase analysis workflow. This workflow explores a codebase, analyzes its architecture, and generates a comprehensive report. **CRITICAL: Complete ALL 3 phases.** After completing each phase, immediately proceed to the next phase without waiting for user prompts. ## Phase Overview 1. **Codebase Exploration** - Explore structure, patterns, and dependencies 2. **Deep Analysis** - Analyze findings to identify architecture and patterns 3. **Output & Context Loading** - Present options and deliver results in user's preferred format --- ## Phase 1: Codebase Exploration **Goal:** Thoroughly explore the codebase to gather raw findings. 1. Determine the analysis path: - If `$ARGUMENTS` was provided, use that path - Otherwise, use the current working directory - Inform the user of the scope being analyzed 2. **Launch 3 code-explorer agents in parallel** using the Task tool with `subagent_type: "dev-tools:code-explorer"`: **Agent 1: Project Structure & Configuration** ``` Explore and analyze the project structure and configuration. Path to analyze: [path] Focus on: - Project root structure (directories and their purposes) - Entry points (main f
- Phase Overview
- Phase 1: Codebase Exploration
- Phase 2: Deep Analysis
- Phase 3: Output & Context Loading
- Error Handling
- Agent Coordination
What does the analyze-codebase skill do?
Analyze a codebase to generate a comprehensive architecture and structure report. Use when user wants to understand a codebase, explore project structure, or generate analysis.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill analyze-codebase --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
