Agent skill · Design & Presentation

analyze-code-structure

Examine code organization and identify structural patterns. Use when reviewing module design or understanding architecture.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill analyze-code-structure-homericintelligence-projectodyssey-3 --agent claude-code

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

Facts
Files in the skill folder: 2
SKILL.md size: 2 KB
Bundled scripts: none
Path: skills/analysis/analyze-code-structure-homericintelligence-projectodyssey-3/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

# Analyze Code Structure Examine code organization, dependencies, and architectural patterns to understand how modules are organized. ## When to Use - Reviewing module design before implementation - Understanding how components connect - Identifying structural improvements needed - Planning refactoring strategies ## Quick Reference ```bash # Analyze Python file structure python3 << 'EOF' import ast import sys def analyze_structure(filepath): with open(filepath) as f: tree = ast.parse(f.read()) classes = [n.name for n in ast.walk(tree) if isinstance(n, ast.ClassDef)] functions = [n.name for n in ast.walk(tree) if isinstance(n, ast.FunctionDef)] print(f"Classes: {classes}") print(f"Functions: {functions}") analyze_structure(sys.argv[1]) EOF ``` ## Workflow 1. **Identify module components**: List classes, functions, and major imports 2. **Map dependencies**: Trace how modules import and reference each other 3. **Analyze layers**: Categorize code into logical layers (interface, business logic, persistence) 4. **Document patterns**: Note recurring architectural patterns (factory, singleton, observer) 5. **Propose improvements**: Identify coupling issues or missing separation of concerns

What's inside
Steps it walks through
  1. When to Use
  2. Quick Reference
  3. Workflow
  4. Output Format
  5. References
Ships with 1 file
  • metadata.json
Commands it runs
Analyze Python file structure
python3 << 'EOF'
More from claude-skill-registry
All skills →
About this skill
What does the analyze-code-structure skill do?

Examine code organization and identify structural patterns. Use when reviewing module design or understanding architecture.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill analyze-code-structure-homericintelligence-projectodyssey-3 --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