Agent skill

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.

majiayu000github.com/majiayu000GitHub ↗
claude-codecan modify filesMIT
Install
npx skills add majiayu000/claude-skill-registry --skill analyze-codebase --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 7 KB
Bundled scripts: none
Allowed tools: ReadWriteGlobGrepBashTaskAskUserQuestion
Path: skills/analysis/analyze-codebase/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Phase Overview
  2. Phase 1: Codebase Exploration
  3. Phase 2: Deep Analysis
  4. Phase 3: Output & Context Loading
  5. Error Handling
  6. Agent Coordination
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
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.

Keep going