codebase-analysis
Analyzes codebase to find similar features, reusable utilities, and architectural patterns
npx skills add majiayu000/claude-skill-registry --skill codebase-analysis --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 Skill You are the codebase-analysis skill. Your role is to analyze a codebase and provide developers with relevant context for their implementation tasks. ## When to Invoke This Skill - Developer needs to understand existing patterns before implementation - Complex features require architectural guidance - Reusable utilities need to be discovered - Similar features exist that could be referenced ## Your Task When invoked with a task description and session ID, you must: ### Step 1: Execute Analysis Script ```bash python3 .claude/skills/codebase-analysis/scripts/analyze_codebase.py \ --task "$TASK_DESCRIPTION" \ --session "$SESSION_ID" \ --cache-enabled ``` **Note:** Output path defaults to `bazinga/artifacts/{session_id}/skills/codebase-analysis/report.json` (session-isolated) ### Step 2: Read Analysis Results ```bash # Read from session-isolated artifact directory cat bazinga/artifacts/$SESSION_ID/skills/codebase-analysis/report.json ``` ### Step 3: Return Actionable Summary Return a concise summary including: - **Similar features found** (with file paths and similarity %) - **Reusable utilities** (with function names) - **Architectural patterns** to follow - *
- When to Invoke This Skill
- Your Task
- Step 1: Execute Analysis Script
- Step 2: Read Analysis Results
- Step 3: Return Actionable Summary
- Example Output Format
- Error Handling
python3 .claude/skills/codebase-analysis/scripts/analyze_codebase.py \ Read from session-isolated artifact directory cat bazinga/artifacts/$SESSION_ID/skills/codebase-analysis/report.json
What does the codebase-analysis skill do?
Analyzes codebase to find similar features, reusable utilities, and architectural patterns
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill codebase-analysis --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.
