repo-wiki-generate

repo-wiki-generate

Generate citation-backed documentation pages from code index. Creates markdown content with file path and line number citations for every technical claim.

1星標
0分支
更新於 1/17/2026
SKILL.md
readonlyread-only
name
repo-wiki-generate
description

Generate citation-backed documentation pages from code index. Creates markdown content with file path and line number citations for every technical claim.

version
1.0.0

Repo Wiki Generate Pages Skill

Generate citation-backed markdown documentation from the code index.

Purpose

This skill transforms the code index into comprehensive documentation pages with:

  1. Technical accuracy backed by source code citations
  2. File paths and exact line ranges for every claim
  3. Clickable permalinks to source code
  4. Structured markdown with managed blocks

When to Use

Use this skill:

  • After running repo-wiki-index
  • To fill in placeholder pages with actual content
  • When generating documentation for the first time

Step-by-Step Instructions

Step 1: Load Index and Configuration

Load .repo_wiki/code_index.json and .repo_wiki/state.json.

Step 2: Determine Citation Format

Choose between footnote or inline style based on config.

Step 3: Generate Component Pages

For each component, create documentation with:

  • Overview and purpose
  • Key files with citations
  • Public interfaces
  • Configuration options

Step 4: Generate Architecture Overview

Create system-level documentation with statistics and component relationships.

Step 5: Generate Getting Started Pages

Document setup, installation, and running instructions.

Step 6: Update Manifest

Track all citations in .repo_wiki/manifest.json.

Citation Format

The service starts an HTTP server[^1].

[^1]: [src/server.ts#L12-L48](https://github.com/org/repo/blob/abc1234/src/server.ts#L12-L48)

Success Criteria

  • ✅ All component pages have content
  • ✅ Every technical claim has a citation
  • ✅ Citations include file paths and line ranges
  • ✅ MkDocs builds without errors

Next Steps

After generation:

  1. Validate output: Read repo-wiki-validate/SKILL.md

You Might Also Like

Related Skills

update-docs

update-docs

137Kdev-docs

This skill should be used when the user asks to "update documentation for my changes", "check docs for this PR", "what docs need updating", "sync docs with code", "scaffold docs for this feature", "document this feature", "review docs completeness", "add docs for this change", "what documentation is affected", "docs impact", or mentions "docs/", "docs/01-app", "docs/02-pages", "MDX", "documentation update", "API reference", ".mdx files". Provides guided workflow for updating Next.js documentation based on code changes.

vercel avatarvercel
獲取
docstring

docstring

97Kdev-docs

Write docstrings for PyTorch functions and methods following PyTorch conventions. Use when writing or updating docstrings in PyTorch code.

pytorch avatarpytorch
獲取
docs-writer

docs-writer

94Kdev-docs

Always use this skill when the task involves writing, reviewing, or editing files in the `/docs` directory or any `.md` files in the repository.

google-gemini avatargoogle-gemini
獲取
write-concept

write-concept

66Kdev-docs

Write or review JavaScript concept documentation pages for the 33 JavaScript Concepts project, following strict structure and quality guidelines

leonardomso avatarleonardomso
獲取
resource-curator

resource-curator

66Kdev-docs

Find, evaluate, and maintain high-quality external resources for JavaScript concept documentation, including auditing for broken and outdated links

leonardomso avatarleonardomso
獲取
doc-coauthoring

doc-coauthoring

47Kdev-docs

Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.

anthropics avataranthropics
獲取