WI

wiki-architect

Analyzes codebases to build hierarchical wikis, tables of contents, and contributor onboarding guides.

Install

mkdir -p .claude/skills/wiki-architect && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/1762" && unzip -o skill.zip -d .claude/skills/wiki-architect && rm skill.zip

Installs to .claude/skills/wiki-architect

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Analyzes code repositories and generates hierarchical documentation structures with onboarding guides. Use when the user wants to create a wiki, generate documentation, map a codebase structure, or understand a project's architecture at a high level.
250 chars✓ has a “when” trigger
Advanced

Key capabilities

  • Scan code repositories
  • Generate hierarchical wiki catalogues
  • Create contributor onboarding guides
  • Map project architecture

How it works

The skill scans the file tree to detect frameworks and layers, then generates a structured JSON catalogue including onboarding and deep-dive documentation.

Inputs & outputs

You give it
Code repository path
You get back
Hierarchical documentation structure

When to use wiki-architect

  • Create a README for a new repo
  • Generate a contributor onboarding guide
  • Document project architecture

About this skill

Wiki Architect

You are a documentation architect that produces structured wiki catalogues and onboarding guides from codebases.

When to Activate

  • User asks to "create a wiki", "document this repo", "generate docs"
  • User wants to understand project structure or architecture
  • User asks for a table of contents or documentation plan
  • User asks for an onboarding guide or "zero to hero" path

Source Repository Resolution (MUST DO FIRST)

Before any analysis, you MUST determine the source repository context:

  1. Check for git remote: Run git remote get-url origin to detect if a remote exists
  2. Ask the user: "Is this a local-only repository, or do you have a source repository URL (e.g., GitHub, Azure DevOps)?"
    • Remote URL provided → store as REPO_URL, use linked citations: [file:line](REPO_URL/blob/BRANCH/file#Lline)
    • Local-only → use local citations: (file_path:line_number)
  3. Determine default branch: Run git rev-parse --abbrev-ref HEAD
  4. Do NOT proceed until source repo context is resolved

Procedure

  1. Resolve source repo (see above — MUST be first)
  2. Scan the repository file tree and README
  3. Detect project type, languages, frameworks, architectural patterns, key technologies
  4. Identify layers: presentation, business logic, data access, infrastructure
  5. Generate a hierarchical JSON catalogue with:
    • Onboarding: Contributor Guide, Staff Engineer Guide, Executive Guide, Product Manager Guide (in onboarding/ folder)
    • Getting Started: overview, setup, usage, quick reference
    • Deep Dive: architecture → subsystems → components → methods
  6. Cite real files in every section prompt using linked or local citation format

Onboarding Guide Architecture

The catalogue MUST include an Onboarding section (always first, uncollapsed) containing:

  1. Contributor Guide — For new contributors (assumes Python/JS). Progressive depth:

    • Part I: Language/framework/technology foundations with cross-language comparisons
    • Part II: This codebase's architecture and domain model
    • Part III: Dev setup, testing, codebase navigation, contributing
    • Appendices: 40+ term glossary, key file reference
  2. Staff Engineer Guide — For staff/principal ICs. Dense, opinionated. Includes:

    • The ONE core architectural insight with pseudocode in a different language
    • System architecture Mermaid diagram, domain model ER diagram
    • Design tradeoffs, decision log, dependency rationale, "where to go deep" reading order
  3. Executive Guide — For VP/director-level leaders. NO code snippets. Includes:

    • Capability map, risk assessment, technology investment thesis
    • Cost/scaling model, dependency map, actionable recommendations
  4. Product Manager Guide — For PMs. ZERO engineering jargon. Includes:

    • User journey maps, feature capability map, known limitations
    • Data/privacy overview, configuration/feature flags, FAQ

Language Detection

Detect primary language from file extensions and build files, then select a comparison language:

  • C#/Java/Go/TypeScript → Python as comparison
  • Python → JavaScript as comparison
  • Rust → C++ or Go as comparison

Constraints

  • Max nesting depth: 4 levels
  • Max 8 children per section
  • Small repos (≤10 files): Getting Started only (skip Deep Dive, still include onboarding)
  • Every prompt must reference specific files
  • Derive all titles from actual repository content — never use generic placeholders

Output

JSON code block following the catalogue schema with items[].children[] structure, where each node has title, name, prompt, and children fields.

When not to use it

  • When the repository contains fewer than 10 files (use Getting Started only)
  • When the repository context is not resolved

Prerequisites

git remote URL or local path

Limitations

  • Max nesting depth of 4 levels
  • Max 8 children per section
  • Requires resolved repository context

How it compares

It produces a standardized, hierarchical documentation structure based on actual code analysis rather than manual README writing.

Compared to similar skills

wiki-architect side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
wiki-architect (this skill)113moNo flagsAdvanced
specification-writing22moNo flagsIntermediate
c4-context24moNo flagsIntermediate
Generate RFC06moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

More by microsoft

View all by microsoft

fix-dependabot-alerts

microsoft

Fix Dependabot security alerts by updating vulnerable npm dependencies. Use when the user mentions "dependabot", "security alerts", "vulnerability", "CVE", or wants to update packages with security issues.

1872

azure-ai-vision-imageanalysis-py

microsoft

Azure AI Vision Image Analysis SDK for captions, tags, objects, OCR, people detection, and smart cropping. Use for computer vision and image understanding tasks. Triggers: "image analysis", "computer vision", "OCR", "object detection", "ImageAnalysisClient", "image caption".

622

fastapi-router-py

microsoft

Create FastAPI routers with CRUD operations, authentication dependencies, and proper response models. Use when building REST API endpoints, creating new routes, implementing CRUD operations, or adding authenticated endpoints in FastAPI applications.

525

playwright-mcp-dev

microsoft

Explains how to add and debug playwright MCP tools and CLI commands.

529

react-flow-node-ts

microsoft

Create React Flow node components with TypeScript types, handles, and Zustand integration. Use when building custom nodes for React Flow canvas, creating visual workflow editors, or implementing node-based UI components.

530

release-note-generation

microsoft

Toolkit for generating PowerToys release notes from GitHub milestone PRs or commit ranges. Use when asked to create release notes, summarize milestone PRs, generate changelog, prepare release documentation, request Copilot reviews for PRs, update README for a new release, manage PR milestones, or collect PRs between commits/tags. Supports PR collection by milestone or commit range, milestone assignment, grouping by label, summarization with external contributor attribution, and README version bumping.

537

You might also like

specification-writing

EpicenterHQ

Write technical specifications that give agents enough context to implement features while leaving room for autonomous research and decision-making. Use when planning features, documenting architecture decisions, or creating implementation guides.

25

c4-context

sickn33

Expert C4 Context-level documentation specialist. Creates high-level system context diagrams, documents personas, user journeys, system features, and external dependencies. Synthesizes container and component documentation with system documentation to create comprehensive context-level architecture. Use when creating the highest-level C4 system context documentation.

24

Generate RFC

wsxjs

Instructions for generating detailed RFC documentation in Chinese with Mermaid diagrams

00

adr

Cosmian

Create an Architectural Decision Record (ADR) under documentation/docs/adr/. Use when making or documenting an architectural decision.

00

mcaf-architecture-overview

Zendevve

Create or update `docs/Architecture/Overview.md` (architecture diagrams): maintain Mermaid diagrams for system/modules, interfaces/contracts, and key classes/types; document dependency rules; link to ADRs/features. Use when onboarding, refactoring, or adding modules/boundaries.

00

understand-codebase-architecture

isaac-scarrott

Build an interactive onboarding map of a codebase's architecture as a self-contained HTML report — click a box to drill into a subsystem, breadcrumbs to climb back, detail behind clicks so nothing overloads. Use when the user wants the generated visual artifact: a "map", "diagram", "visualise the ar

00

Search skills

Search the agent skills registry