Canonical: https://botbento.com/usecases/codebase-documentation/
Format: Markdown representation of the public HTML page.

[Home](/) / [Use cases](/usecases/) / [Coding](/usecases/?category=coding)

Coding · Intermediate

# Draft documentation for an existing codebase

A starter map of a repository for new contributors.

[Use with BotBento ](https://app.botbento.com/?ref=usecases&utm_source=botbento.com&utm_medium=usecases&utm_campaign=codebase-documentation)Copy promptShare[Markdown](/text/usecases/codebase-documentation/index.md)

Opens BotBento. Paste the prompt into a bot; nothing is preconfigured.

- When you askYou name a repo
- ThenReads folders and modules
- ResultOne paragraph per area

Have a bot walk a repository and draft short explanations of each folder and main module so new contributors have a starting map.

## Prompt to start with

BotBentoRecommended

```
Read the repository and write one short paragraph per top-level folder and main module: what it does and where to start. Mark anything you inferred rather than read.
```

CopyMuse CodeSetup sketch

```
Run muse in the project directory, then ask: Read the repository and write one short paragraph per top-level folder and main module: what it does and where to start. Mark anything you inferred rather than read.
```

Copy

Muse Code is Meta's terminal and CI coding agent; its docs describe planning, editing and running commands with approvals. [Docs ](https://dev.meta.ai/docs/muse-code)

## Tools it uses

GitHubDocs

## Works with

BotBentoMuse Code

## Tags

- documentation
- codebase
- onboarding

## Source

[Autodoc: Toolkit for auto-generating codebase documentation using LLMs](https://news.ycombinator.com/item?id=35297766)
Hacker News · checked 2026-10-14

Summarized in our own words. Any results described there are the authors’ own, not measured by BotBento.

By BotBento Editorial · Added 2026-10-14 · Updated 2026-10-14 · [Suggest a correction](/contact/)

## Related use cases

-

Codingintermediate

## [System Architecture Diagram Generator](/usecases/system-architecture-diagram-generator/)

Turn complex infrastructure specs into structured, readable layout diagrams automatically

TerminalGitHubDocs
-

Codingintermediate

## [Automated Code Hygiene and Anti-Pattern Reviewer](/usecases/automated-code-hygiene-and-anti-pattern-reviewer/)

Audit incoming pull requests for excessive boilerplate, convoluted logic, and anti-patterns.

GitHubSlack
-

Codingadvanced

## [Autonomous Linear Issue Resolver and Code Reviewer](/usecases/autonomous-linear-issue-resolver-and-code-reviewer/)

Pulls assigned issue tickets, implements code changes via CLI, runs tests, and drafts pull requests

LinearGitHubTerminalChat
