What problem does it solve?
This Skill automates the generation of detailed architecture documentation directly from source code, including bidirectional call graphs, cross-boundary analysis, and educational Anki flashcards.
Core Features & Use Cases
- Bidirectional Call Graph Analysis: Understand how functions call each other and who calls them.
- Cross-Boundary Detection: Identify interactions between different subsystems, kernel/BPF, or user/kernel space.
- Deep Code Insights: Analyzes code for architectural patterns and design rationale, not just function calls.
- Anki Card Generation: Creates educational flashcards to aid learning and retention.
- Diagram Generation: Supports ASCII, Mermaid, and JSON Canvas formats.
- Use Case: Documenting a complex kernel subsystem by analyzing its call flows, identifying critical interactions, and generating study materials for developers.
Quick Start
Use the co2arch skill to analyze the function pick_next_task and generate an ASCII architecture document.