code-wiki

Generate wiki documentation and Mermaid diagrams for any codebase.

16|Updated Sep 22, 2026
One-click install
npx skills add https://github.com/igniteenow/robo --skill code-wiki-igniteenow
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: code-wiki
Source: https://github.com/igniteenow/robo/tree/main/optional-skills/software-development/code-wiki
Command: npx skills add https://github.com/igniteenow/robo --skill code-wiki-igniteenow

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pygount.

What problem does it solve? Onboarding to an unfamiliar repository or documenting an undocumented codebase requires hours of manual reading and writing. This Skill automates the creation of a structured wiki — overview, architecture, per-module deep-dives, and Mermaid diagrams — for any local or remote repository. ## Core Features & Use Cases - Structured Wiki Generation: Produces README, architecture, getting-started, per-module docs, and optional API reference in a consistent format. - Mermaid Diagrams: Creates flowchart, class, and sequence diagrams that render natively on GitHub, grounded in actual source code. - Incremental Re-Runs: Tracks repository SHA in a state file to detect changes and offer regeneration of only modified modules. - Use Case: Point the Skill at a private GitHub repository you just inherited; it clones it, scans the structure, picks the core modules, and writes a complete wiki to ~/.robo/wikis/<repo-name>/ with architecture and sequence diagrams. ## Quick Start Ask the agent to generate a wiki with architecture diagrams for the repository at a given local path or GitHub URL.

Frequently Asked Questions about code-wiki

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate documentation for an entire codebase automatically?▼

Run the code-wiki skill against a local path or GitHub URL. It scans the repository structure, selects 8-10 core modules, and writes a README, architecture doc, per-module deep-dives, and Mermaid diagrams to ~/.robo/wikis/<repo-name>/.

How to create Mermaid architecture diagrams from source code?▼

The skill reads entry points and key files, then writes flowchart, classDiagram, and sequenceDiagram blocks into markdown files. Every diagram node is verified against real components in the source to avoid fabricated architecture.

Does code-wiki work with private or local repositories?▼

Yes, it works on local directories, the current working directory, or any git-cloneable URL including private repos. Cloned repos go to a temp directory and output defaults to ~/.robo/wikis/, never into the repo unless explicitly requested.

What languages does automated codebase documentation support?▼

It is language-agnostic with heuristics for Python, JavaScript/TypeScript, Rust, and Go module layouts. For languages without classes like Go or C, class diagrams are replaced with struct relationships or prose explanations.

When should I not use automated wiki generation?▼

Skip it for single-file or single-function questions, one-off API endpoint lookups, and codebases you are actively editing in the session. It produces reference documentation, not strategic narrative about why a project exists.

How do I update a generated wiki after code changes?▼

The skill writes a .codewiki-state.json with the source SHA. On re-run it compares SHAs and offers to regenerate only modules whose files changed, using git diff between the old and current commits.