CodeBoarding/CodeBoarding

Interactive architecture diagrams for codebases

What it solves

CodeBoarding 提供代码库的可视化地图,防止开发者和 AI 编码代理引入错误或技术债务。它解决了快速理解大型、复杂仓库的问题,并在 AI 代理进行更改时保持系统架构可见。

How it works

该工具结合静态代码分析与 LLM 推理,生成架构图和组件级文档。它使用增量分析引擎检测代码变更,仅更新受影响的文档部分。过程包括管理工作流的 orchestrator、提供代码洞察的 static analyzer,以及负责最终图表和 Markdown 文档结构化分析的 LLM agent core。

Who it’s for

需要在大型仓库中导航的开发者、使用 AI 编码代理自动化开发的团队,以及希望将架构可视化集成到 IDE、CI/CD 流水线和项目文档中的工程师。

Highlights

  • Multi-language support: Works with Python, TypeScript, JavaScript, Java, Go, PHP, Rust, and C#.
  • Crosspoint integration: Available as a CLI, VS Code extension, and GitHub Action.
  • LSP-powered analysis: Downloads language server binaries for accurate static analysis.
  • Flexible LLM providers: Supports OpenAI, Anthropic, Google, Ollama, OpenRouter, and others via LiteLLM.
  • Automated documentation: Generates Mermaid diagrams and Markdown files in a .codeboarding/ directory.