analyze-code-structure
Examine code organization and identify structural patterns. Use when reviewing module design.
npx skills add majiayu000/claude-skill-registry --skill analyze-code-structure-homericintelligence-projectodyssey-2 --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.
# Analyze Code Structure Examine code organization, module hierarchy, and structural patterns to understand how components are organized. ## When to Use - Initial codebase review and orientation - Understanding existing module organization - Identifying code structure for documentation - Planning refactoring or reorganization ## Quick Reference ```bash # Quick code structure analysis find . -name "*.py" -o -name "*.mojo" | head -20 tree -L 2 --dirsfirst grep -r "^class\|^def\|^fn\|^struct" --include="*.py" --include="*.mojo" | head -30 ``` ## Workflow 1. **Survey the codebase**: Identify top-level modules and packages 2. **Map module hierarchy**: Create visual tree of module organization 3. **List main components**: Classes, structs, major functions 4. **Trace imports**: Understand module dependencies 5. **Document findings**: Summarize structure for team ## Output Format Structure analysis: - Module/package hierarchy (tree view) - Key components per module - Import dependencies - Layer organization (if applicable) - Notable patterns (MVC, singleton, factory, etc.) ## References - See `analyze-code-structure` tier-2 skill for deeper analysis - See CLAUDE.md > Modularity for design
- When to Use
- Quick Reference
- Workflow
- Output Format
- References
Quick code structure analysis find . -name "*.py" -o -name "*.mojo" | head -20 tree -L 2 --dirsfirst grep -r "^class\|^def\|^fn\|^struct" --include="*.py" --include="*.mojo" | head -30
What does the analyze-code-structure skill do?
Examine code organization and identify structural patterns. Use when reviewing module design.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill analyze-code-structure-homericintelligence-projectodyssey-2 --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.
