Coding · Intermediate

Keeping repository file maps and architecture docs in sync

Audit repository file hierarchies against documentation and detect missing or stale descriptions

Use with BotBento Markdown

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

  1. When something happensCode push or pull request opened
  2. ThenScan file tree and diff path docs
  3. ResultReport drift and propose doc updates

When project files change, move, or get deleted, repository maps and architecture overviews quickly become outdated. This workflow inspects repository directory trees, compares them against documented file descriptors, identifies untracked or deleted paths, and drafts updates to keep architectural documentation accurate.

Prompt to start with

BotBentoRecommended
Run directory scans on repository branches using terminal commands. Compare the active file layout against existing path descriptions in documentation files. Flag any untracked new files, moved paths, or obsolete entries. Draft concise explanations for new paths and present a diff report. Always ask for user approval before committing changes or submitting a pull request.