Show GN: Cluedoc: A Documentation-Writing Agent Skill to Help Understand Codebases
Key point
It's a tool that lets an AI agent automatically write and maintain documentation in an academic-paper format, reflecting code changes in real time.
Details
Cluedoc is an Agent Skill designed to have an AI agent write and maintain human-readable documentation alongside every code change it makes. To address the problem of people being unable to keep up with the pace at which code is generated, it structures documentation beyond a simple README, into an academic-paper format organized by Feature.
The key characteristics are as follows:
- Feature-centric hierarchical structure: The system is divided into features, and each feature is written as a paper (including Abstract, Introduction, Figures, etc.) and stored in the
.cluedoc/directory. - Capability Tree: Provides an overall design model of the system through a hierarchical structure that visualizes the relationships between features.
- Progressive Sync: Tracks code changes to update related documentation in real time, and maintains connectivity between documents through Citation relationships between features.
- Local-first & Versioned: Managed as Markdown files within the code repository, without an external server or vector database, allowing it to be version-controlled together with the code.
While existing tools like Doxygen or Sphinx generate references at the function or symbol level, Cluedoc focuses on providing explanations at the Capability level that a designer can understand.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.