Software DevelopmentOfficial · microsoft

Wiki Architect skill for Claude

Analyzes code repositories and generates hierarchical documentation structures with onboarding guides.

When Claude uses it

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.

Wiki Architect SKILL.md

The full skill file from microsoft/skills (MIT).

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.

How to install Wiki Architect

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit microsoft/skills/.github/plugins/deep-wiki/skills/wiki-architect#main ~/.claude/skills/wiki-architect

Codex

npx degit microsoft/skills/.github/plugins/deep-wiki/skills/wiki-architect#main ~/.codex/skills/wiki-architect

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Wiki Architect skill do?

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.

+How do I install Wiki Architect in Claude Code?

Copy the skill folder into ~/.claude/skills/wiki-architect, for example with "npx degit microsoft/skills/.github/plugins/deep-wiki/skills/wiki-architect#main ~/.claude/skills/wiki-architect". Claude Code loads it automatically and uses it when a task matches.

+Does Wiki Architect work with ChatGPT or Codex?

Yes. Wiki Architect uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/wiki-architect. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Wiki Architect free?

Wiki Architect is published on GitHub by microsoft under the MIT license, which allows free use.

Related software development skills

  1. Code Review

    Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's…

    mattpocock/skills★ 327k
  2. Using Agent Skills

    Discovers and invokes agent skills. Use when starting a session, or when you need to decide which skill or workflow applies to the piece of…

    addyosmani/agent-skills★ 119k
  3. Build

    Fully automate a coding task with make-plan, do, and babysit.

    thedotmack/claude-mem★ 118k
  4. Wiki Changelog

    Official

    Analyzes git commit history and generates structured changelogs categorized by change type.

    microsoft/skills★ 3.2k
  5. Zustand Store Ts

    Official

    Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state/action separation.

    microsoft/skills★ 3.2k
  6. Apify Actor Development

    Official

    Create, modify, debug, and deploy Apify Actors, and write their input and output schemas.

    apify/agent-skills★ 2.5k
  7. Apify Actorization

    Official

    Convert existing projects into Apify Actors - serverless cloud programs.

    apify/agent-skills★ 2.5k
  8. Apify Fix Git Connection

    Official

    Repair an Apify Actor's broken Git connection - pushes to GitHub that no longer start a build, builds that fail to clone the repository, or…

    apify/agent-skills★ 2.5k
  9. Apify Generate Output Schema

    Official

    Deprecated. Output schema generation moved to the apify-actor-development skill; prefer that skill whenever it is available.

    apify/agent-skills★ 2.5k

See all software development skills →

More skills from microsoft

  1. Wiki Llms Txt

    Official

    Generates llms.txt and llms-full.txt files for LLM-friendly project documentation following the llms.txt specification.

    microsoft/skills★ 3.2k
  2. Wiki Onboarding

    Official

    Generates four audience-tailored onboarding guides in an onboarding/ folder — Contributor, Staff Engineer, Executive, and Product Manager.

    microsoft/skills★ 3.2k

All skills by microsoft →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.