원클릭으로
gatomia
Generate comprehensive code documentation using hierarchical analysis and AI-powered synthesis
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Generate comprehensive code documentation using hierarchical analysis and AI-powered synthesis
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Think before building. Use when the user asks to reason about, analyze, evaluate, compare options, make an architecture decision, choose between approaches, think through a problem, or assess trade-offs. Also use when the user asks 'why did we...', 'should we...', 'what are our options', 'is this the right approach', or wants to frame/reframe a problem.
Archive a feature specification into main project memory after merge, resolving gaps and conflicts
Generate spec-kit configuration tailored to the existing codebase
Incrementally adopt SDD for existing features with reverse-engineered specs
Auto-discover project structure, tech stack, frameworks, and architecture patterns
Verify bootstrap output matches actual project structure and conventions
| name | gatomia |
| description | Generate comprehensive code documentation using hierarchical analysis and AI-powered synthesis |
This skill enables Claude to generate comprehensive, repository-level documentation in the GatomIA style by analyzing module trees and dependency graphs. The system uses a hierarchical, recursive approach to create architecture-aware documentation with visual artifacts.
Use this skill when:
module_tree.json and dependency_graph.json filesmodule_tree.json: Generated by mia wiki analyze
{
"module_path": {
"components": ["component_id_1", "component_id_2"],
"path": "path/to/module",
"children": { }
}
}
dependency_graph.json: Generated by mia wiki analyze
{
"component_id": {
"id": "component_id",
"name": "ComponentName",
"component_type": "class",
"file_path": "/path/to/file.py",
"depends_on": ["other_component_id"]
}
}
If the user doesn't have analysis files:
mia wiki analyze --repo-path /path/to/repo --output ./docs
Parse Input Files
scripts/codewiki_analyzer.py for parsingAnalyze Module Hierarchy
Build Relationship Maps
For each leaf module (modules with no children):
Component Analysis
Generate Component Documentation
## Component: [Name]
**Type**: [class/function/module]
**Path**: [file path]
**Module**: [parent module path]
### Purpose
[Inferred from dependencies and context]
### Dependencies
- Internal: [components within same module]
- External: [components from other modules]
### Used By
[Components that depend on this one]
Create Module-Level Documentation
For parent modules (bottom-up traversal):
Aggregate Child Documentation
Synthesize High-Level Documentation
Final synthesis at root level:
scripts/codewiki_analyzer.pyMain analysis engine. Usage:
python scripts/codewiki_analyzer.py <module_tree.json> <dependency_graph.json>
Features:
scripts/orchestrator.pyDocumentation orchestration. Usage:
python scripts/orchestrator.py <module_tree.json> <dependency_graph.json> [output_dir]
Features:
scripts/diagram_generator.pyMermaid diagram generation. Usage:
python scripts/diagram_generator.py <module_path> <module_tree.json> <dependency_graph.json>
Features:
See templates/module.md.template
See templates/overview.md.template
graph LR
A[Component A] -->|depends on| B[Component B]
A -->|uses| C[Component C]
B -->|depends on| D[External.Component]
style A fill:#e1f5ff
style B fill:#e1f5ff
style C fill:#e1f5ff
style D fill:#ffe1e1
graph TB
subgraph "Module A"
A1[Component 1]
A2[Component 2]
end
subgraph "Module B"
B1[Component 1]
B2[Component 2]
end
A1 -->|uses| B1
A2 -->|depends on| B2
From Dependencies:
From Dependents:
From Name & Type:
*Manager -> lifecycle/resource management*Service -> business logic*Generator -> creation/transformation*Analyzer -> inspection/analysis*Parser -> data transformation*Builder -> construction patterndocs/
├── README.md # Repository Overview
├── INDEX.md # Navigation index
├── architecture/
│ ├── overview.md # System-level architecture
│ ├── diagrams/ # Architecture diagrams
│ └── data-flows.md # Data flow documentation
└── modules/
├── module_a/
│ └── README.md # Module documentation
└── module_b/
└── README.md
A successful GatomIA documentation generation includes:
Skill Version: 0.31.0 Last Updated: January 30, 2026 Requires: GatomIA CLI v0.31.0+, Python 3.9+