← Back to list

analyze-code-structure
by mvillmow
Training framework written in Mojo
⭐ 11🍴 4📅 Jan 24, 2026
SKILL.md
name: analyze-code-structure description: "Examine code organization and identify structural patterns. Use when reviewing module design." mcp_fallback: none category: analysis tier: 1 user-invocable: false
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
# 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
- Survey the codebase: Identify top-level modules and packages
- Map module hierarchy: Create visual tree of module organization
- List main components: Classes, structs, major functions
- Trace imports: Understand module dependencies
- 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-structuretier-2 skill for deeper analysis - See CLAUDE.md > Modularity for design principles
- See
identify-architectureskill for ML-specific structure
Score
Total Score
60/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon