---
name: curate-a-markdown-wiki-for-repository-architecture
description: "Curates markdown wiki pages for repository architecture by analyzing merged pull requests, summarizing changed modules, and mapping dependencies. Use when repository changes need up-to-date architecture documentation and reviewable wiki updates."
license: CC-BY-4.0
compatibility: "Needs access to: GitHub, Docs, Notes."
metadata:
  author: "BotBento Editorial"
  version: "2026-10-15"
  source: "https://botbento.com/usecases/curate-a-markdown-wiki-for-repository-architecture/"
  kind: workflow
  hermes:
    tags: ["documentation", "github", "markdown", "architecture"]
    category: coding
    requires_toolsets: ["file"]
---
# Curate a markdown wiki for repository architecture

Maintain structured code documentation and context pages across project modules

## When to use

Analyze changes in your code repository to generate and update dedicated wiki pages. The bot indexes modules, tracks dependencies, and records architecture conventions so automated tools and teammates always have up-to-date context when working on new tasks.

## Inputs

- `repository`: The code repository to monitor for merged pull requests and architecture changes.
- `merged_pull_request`: The merged pull request whose changed files or modules need architecture analysis.
- `changed_modules`: The modified files or modules identified from the merged pull request.
- `wiki_pages` (optional): Existing markdown wiki pages or notes to update with current architecture context.

## Steps

1. When something happens: Merged pull request detected (A merged pull request is detected in the monitored repository.)
2. Analyze modified module architecture
3. Update project wiki pages

## Instructions

Monitor the repository for merged pull requests and identify changed files or modules. Generate summary pages and dependency maps in markdown format explaining component roles and design patterns. When documentation edits are prepared, present a preview diff to the developer for review before committing any updates to the wiki repository.

## Approvals

- Committing updates to the wiki repository must wait for developer review of the preview diff.

## Output

Updated markdown wiki pages with module summaries and dependency maps. (format: markdown)

## Source

Summarized in our own words from [Show HN: 10x better performance from the Coding Harnesses with LLM-wiki](https://news.ycombinator.com/item?id=48586811) (Hacker News, checked 2026-10-15). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/curate-a-markdown-wiki-for-repository-architecture/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
