Official agent skill

Wiki Ado Convert

by microsoft in microsoft/skills

Converts VitePress/GFM wiki markdown to Azure DevOps Wiki-compatible format.

OfficialMITAuto-check passedDevelopment

Install Wiki Ado Convert

skills CLI
$ npx skills add microsoft/skills --skill wiki-ado-convert -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install microsoft/skills wiki-ado-convert --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/microsoft/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/plugins/deep-wiki/skills/wiki-ado-convert .claude/skills/wiki-ado-convert && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
wiki-ado-convert
GitHub stars
3.1k
Token cost
~2.3k tokens
SKILL.md length
838 words
Files
1
Skills in repo
150
Repo updated
First seen
Licence
MIT

At a glance

Converts VitePress/GFM wiki markdown to Azure DevOps Wiki-compatible format.

  • Works in 4 steps: Strip YAML Front Matter → Convert Mermaid Blocks → Convert Parent-Relative Source Links → …
  • Tasks that involve Diagrams
  • SKILL.md covers Source Repository Resolution…, Why This Is Needed, ADO Wiki Incompatibilities and ADO Wiki Mermaid Supported…, plus 5 more sections
  • Calls git

What it does

Wiki Ado Convert is an agent skill from microsoft/skills, published by the product's own GitHub organization. Converts VitePress/GFM wiki markdown to Azure DevOps Wiki-compatible format. Generates a Node.js build script that transforms Mermaid syntax, strips front matter, fixes links, and outputs ADO-compatible copies to dist/ado-wiki/.

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Diagrams, Markdown and Static sites and blogs. It works with Azure DevOps, Mermaid, VitePress and Node.js. The repository describes itself as: Skills, MCP servers, Custom Agents, Agents.md for SDKs to ground Coding Agents. The licence is MIT.

When your agent uses it

  • Tasks that involve Diagrams
  • Tasks that involve Markdown
  • Tasks that involve Static sites and blogs

Example prompts

  • “Use the wiki-ado-convert skill to convert VitePress/GFM wiki markdown to Azure DevOps Wiki-compatible format”
  • “/wiki-ado-convert”

Requirements

  • Node.js

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Strip YAML Front Matter
  2. Convert Mermaid Blocks
  3. Convert Parent-Relative Source Links
  4. Convert VitePress Container Directives (Optional)

What it can do on your machine

Read from SKILL.md and the folder at commit 354361d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Wiki Ado Convert loads about 2.3k tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 838 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~61
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from microsoft/skills at commit 354361d, republished under its MIT licence (© microsoft). 838 words, ~2,324 tokens.

Download SKILL.mdSave it as .claude/skills/wiki-ado-convert/SKILL.md (or your agent's skills folder).
name
wiki-ado-convert
description
Converts VitePress/GFM wiki markdown to Azure DevOps Wiki-compatible format. Generates a Node.js build script that transforms Mermaid syntax, strips front matter, fixes links, and outputs ADO-compatible copies to dist/ado-wiki/.
license
MIT
metadata.author
Microsoft
metadata.version
1.0.0

ADO Wiki Converter

Generate a Node.js build script that transforms VitePress/GFM markdown documentation into Azure DevOps Wiki-compatible format. The source files remain untouched — the script produces transformed copies in dist/ado-wiki/.

Source Repository Resolution (MUST DO FIRST)

Before generating the build script, resolve the source repository context:

  1. Check for git remote: Run git remote get-url origin
  2. Ask the user: "Is this a local-only repository, or do you have a source repository URL?"
    • Remote URL → store as REPO_URL, preserve linked citations in converted output
    • Local → preserve local citations as-is
  3. Do NOT proceed until resolved

Why This Is Needed

Azure DevOps Wikis use a markdown dialect that differs from GFM and VitePress in several critical ways. Documentation that renders perfectly in VitePress will have broken diagrams, raw front matter, dead links, and rendering issues when published as an ADO Wiki.

ADO Wiki Incompatibilities

CRITICAL — Will Break Rendering
IssueVitePress/GFMADO WikiFix
Mermaid code fences```mermaid ... ```::: mermaid ... :::Convert opening/closing fences
flowchart keywordflowchart TDgraph TDReplace flowchart with graph (preserve direction)
<br> in Mermaid labelsNode[Label<br>Text]Not supportedStrip <br> variants (replace with space)
Long arrows ---->A ---->BNot supportedReplace with -->
YAML front matter--- ... --- at file startRendered as visible raw textStrip entirely
Parent-relative source links[text](../../src/file.cs)Broken (wiki is separate)Convert to plain text
VitePress container directives::: tip / ::: warningNot supportedConvert to ADO alert blockquotes > [!TIP] / > [!WARNING]
MODERATE — May Not Render Optimally
IssueNotes
Mermaid style directivesADO's Mermaid version may ignore inline styling. Leave as-is (cosmetic).
Mermaid thick arrows ==>May work. Leave as-is.
Mermaid dotted arrows -.->May work. Leave as-is.
Subgraph linkingLinks to/from subgraphs not supported, but nodes inside subgraphs work fine.
NOT AN ISSUE (Compatible As-Is)
  • ✅ Standard markdown tables, blockquotes, horizontal rules
  • ✅ Unicode emoji, fenced code blocks with language identifiers
  • ✅ Same-directory relative links (./other-page.md)
  • ✅ External HTTP/HTTPS links
  • ✅ Bold, italic, strikethrough, inline code
  • ✅ Lists (ordered, unordered, nested), headings 1-6
  • ✅ Images with relative paths

ADO Wiki Mermaid Supported Diagram Types

As of 2025:

  • ✅ sequenceDiagram, gantt, graph (NOT flowchart), classDiagram
  • ✅ stateDiagram, stateDiagram-v2, journey, pie, erDiagram
  • ✅ requirementDiagram, gitGraph, timeline
  • ❌ mindmap, sankey, quadrantChart, xychart, block

Build Script Structure

The generated script should be a Node.js ESM module (scripts/build-ado-wiki.js) using only built-in Node.js modules (node:fs/promises, node:path, node:url). No external dependencies.

Transformation Functions
1. Strip YAML Front Matter

Remove --- delimited YAML blocks at file start. ADO renders these as visible text.

javascript
function stripFrontMatter(content) {
  if (!content.startsWith('---')) return content;
  const endIndex = content.indexOf('\n---', 3);
  if (endIndex === -1) return content;
  let rest = content.slice(endIndex + 4);
  if (rest.startsWith('\n')) rest = rest.slice(1);
  return rest;
}
2. Convert Mermaid Blocks

Process line-by-line, tracking mermaid block state. Apply fixes ONLY inside mermaid blocks:

  • Opening: ```mermaid → ::: mermaid
  • Closing: ``` → :::
  • flowchart → graph (preserve direction: TD, LR, TB, RL, BT)
  • Strip <br>, <br/>, <br /> (replace with space)
  • Replace long arrows (----> with 4+ dashes) with -->
javascript
function convertMermaidBlocks(content) {
  const lines = content.split('\n');
  const result = [];
  let inMermaid = false;

  for (const line of lines) {
    const trimmed = line.trimEnd();

    if (!inMermaid && /^```mermaid\s*$/.test(trimmed)) {
      result.push('::: mermaid');
      inMermaid = true;
      continue;
    }

    if (inMermaid && /^```\s*$/.test(trimmed)) {
      result.push(':::');
      inMermaid = false;
      continue;
    }

    if (inMermaid) {
      let fixed = line;
      fixed = fixed.replace(/^(\s*)flowchart(\s+)/, '$1graph$2');
      fixed = fixed.replace(/<br\s*\/?>/gi, ' ');
      fixed = fixed.replace(/-{4,}>/g, '-->');
      result.push(fixed);
    } else {
      result.push(line);
    }
  }

  return result.join('\n');
}

Convert [text](../path) to plain text. Preserves same-directory .md links and external URLs.

javascript
function convertSourceLinks(content) {
  return content.replace(
    /\[([^\]]*)\]\(\.\.\/[^)]*\)/g,
    (match, linkText) => linkText
  );
}
4. Convert VitePress Container Directives (Optional)

Convert ::: tip / ::: warning / ::: danger to ADO alert blockquotes:

javascript
function convertContainerDirectives(content) {
  // ::: tip → > [!TIP]
  // ::: warning → > [!WARNING]
  // ::: danger → > [!CAUTION]
  // ::: info → > [!NOTE]
  // closing ::: → (blank line)
}
Script Main Flow
javascript
async function main() {
  const files = await collectMarkdownFiles(ROOT);
  const stats = { frontMatter: 0, mermaid: 0, sourceLinks: 0, containers: 0 };

  for (const filePath of files) {
    let content = await readFile(filePath, 'utf-8');
    content = stripFrontMatter(content);
    content = convertMermaidBlocks(content);
    content = convertSourceLinks(content);

    const outPath = join(OUTPUT, relative(ROOT, filePath));
    await mkdir(dirname(outPath), { recursive: true });
    await writeFile(outPath, content, 'utf-8');
  }

  // Print transformation statistics
}
Skip Directories

The script should skip: node_modules, .vitepress, .git, dist, build, out, target, and any non-documentation directories.

npm Script Integration
json
{
  "scripts": {
    "build:ado": "node scripts/build-ado-wiki.js"
  }
}
Show full SKILL.md (350 more words)Show less

Verification Checklist

After the script runs, verify:

  1. File count in dist/ado-wiki/ matches source (minus skipped dirs)
  2. Zero ```mermaid fences remaining — all converted to ::: mermaid
  3. Zero flowchart keywords remaining — all converted to graph
  4. No YAML front matter in output files
  5. Parent-relative links converted to plain text
  6. Same-directory .md links preserved
  7. Directory structure preserved
  8. Non-markdown files (images, etc.) copied as-is
  9. index.md at root is a proper wiki home page (NOT a placeholder)

Index Page Generation (CRITICAL)

The ADO Wiki's index.md MUST be a proper wiki landing page, NOT a generic placeholder with "TODO" text.

Logic
  1. If VitePress source has index.md: Transform it (strip front matter, strip VitePress hero/features blocks). If meaningful content remains, use it.
  2. If no meaningful content remains (empty after stripping, or only VitePress hero markup): Generate a proper landing page with:
    • Project title as # heading
    • Overview paragraph (from README or wiki overview page)
    • Quick Navigation table (Section, Description columns linking to wiki sections)
    • Links to onboarding guides if they exist
  3. NEVER leave a placeholder — if index.md contains "TODO:", "Give a short introduction", or similar placeholder text, replace it entirely
ADO Wiki .order Files

Generate .order files in each directory to control sidebar ordering:

  • Onboarding guides first, then numbered sections
  • List page names without .md extension, one per line

Citation & Diagram Preservation

The converted ADO wiki must maintain the same quality standards:

  • Linked citations ([file:line](URL)) are standard markdown — preserve them as-is
  • <!-- Sources: ... --> comment blocks after Mermaid diagrams — preserve (HTML comments work in ADO)
  • Tables with "Source" columns — preserve as-is (standard markdown tables)
  • Mermaid diagrams — convert fences only; diagram content, types, and structure are preserved
  • All Mermaid diagram types supported by ADO (graph, sequenceDiagram, classDiagram, stateDiagram, erDiagram, etc.) pass through unchanged

Important Notes

  • Source files are NEVER modified — only copies in dist/ado-wiki/
  • Images must be copied too — if source has images, copy them with same relative paths
  • The script should work with any VitePress wiki, not just this specific one
  • Print statistics at the end showing count of each transformation type
  • Script uses zero external dependencies — only Node.js builtins

© microsoft, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .github/plugins/deep-wiki/skills/wiki-ado-convert of microsoft/skills.

Open the folder on GitHubat commit 354361d

Compare with similar skills

Wiki Ado Convert next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Wiki Ado Convert compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Wiki Ado Convert this skillmicrosoft/skills3.1k—~2.3kAutomated safety check: PassMIT
Pretty Mermaid Rendererimxv/Pretty-mermaid-skills1.5k—~2kAutomated safety check: PassMIT
Chatbot Mvp Distillationpdsuwwz/chatgpt-vue3-light-mvp578—~722Automated safety check: PassMIT
Chatbot Mvp Distillation Zhpdsuwwz/chatgpt-vue3-light-mvp578—~414Automated safety check: PassMIT
Markdown Mermaid WritingK-Dense-AI/scientific-agent-skills48k1 repos~4.2kAutomated safety check: NotesApache-2.0
Axiom Explainerdigoal/blog8.6k—~626Automated safety check: PassGPL-2.0

Similar skills

  • Pretty Mermaid Renderer

    imxv/Pretty-mermaid-skills

    Writes and renders Mermaid diagrams as themed SVG, PNG or terminal ASCII and Unicode art with a bundled Node.js CLI that needs no browser.

    1.5k GitHub stars~2k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Chatbot Mvp Distillation

    pdsuwwz/chatgpt-vue3-light-mvp

    Distill the chatgpt-vue3-light-mvp project into reusable architecture for building similar ChatGPT-style web products in other repositories.

    578 GitHub stars~722 tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Chatbot Mvp Distillation Zh

    pdsuwwz/chatgpt-vue3-light-mvp

    将 chatgpt-vue3-light-mvp 项目蒸馏为可迁移到其他项目的中文架构指南。适用于设计或实现类似 ChatGPT 的 Web 对话产品,包括 SSE/fetch 流式响应、模型适配器契约、打字机渲染、Markdown/代码/KaTeX/Mermaid 渲染、推理过程展示,以及从本 Vue 3 MVP 迁移到其他项目的方案规划。

    578 GitHub stars~414 tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Markdown Mermaid Writing

    K-Dense-AI/scientific-agent-skills

    Writes scientific Markdown documentation and Mermaid diagrams for workflows, relationships, timelines, and schemas.

    48k GitHub starsUsed in 1 repo~4.2k tokens
    DevelopmentAuto-check: notes
  • Axiom Explainer

    digoal/blog

    生成面向学生的公理/定理深度讲解文案,输出图文并茂的 Markdown 文章。触发条件:用户输入一个观点、公理、定理或数学/科学/哲学命题,并希望获得系统性讲解文章。关键词包括:"讲解"、"解释"、"公理"、"定理"、"原理"、"推导"、"怎么来的"、"有什么用"、"证明"等。即使用户只说"帮我讲讲XX定理"或"解释一下XX原理",也应使用本 skill。输出保存到项目 markdown/…

    8.6k GitHub stars~626 tokensUpdated 10 days ago
    DevelopmentAuto-check passed
  • Bug Hunter

    digoal/blog

    根据用户给出的行业名称(或默认使用热点社会新闻),抓取最新新闻热点,用"找世界bug"的视角——找出那些打眼一看就不合理的地方——深度分析根因、利益链条、监管盲区,并给出多维度解决思路,输出图文并茂(含SVG/Mermaid/ASCII图形)的Markdown文件,保存到项目markdown/目录。

    8.6k GitHub stars~1k tokensUpdated 10 days ago
    DevelopmentAuto-check passed

More from microsoft/skills

All 150 skills in this repo
  • Official

    Reference for building on Microsoft Foundry with the azure-ai-projects Python SDK: project clients, versioned agents, evaluations, connections, datasets and indexes.

    3.1k GitHub starsUsed in 6 repos~2.8k tokens
    Auto-check passed
  • Official

    Python guidance for the Azure AI Search SDK covering vector, hybrid and semantic search, index management and indexers, with Entra ID authentication preferred over keys.

    3.1k GitHub starsUsed in 6 repos~4.4k tokens
    Auto-check passed
  • Official

    Covers producer, consumer, and checkpoint-store setup for Azure Event Hubs streaming in Python, with Entra ID auth and partition targeting.

    3.1k GitHub starsUsed in 1 repo~2.3k tokens
    Auto-check passed
  • Pydantic Models Py

    microsoft/skills

    Official

    Create Pydantic models following the multi-model pattern with Base, Create, Update, Response, and InDB variants.

    3.1k GitHub starsUsed in 6 repos~496 tokens
    Auto-check passed
  • DebugView CLI

    microsoft/skills

    Official

    Captures and filters Windows user-mode and kernel debug output from the command line with the Sysinternals DebugView CLI, including bounded runs suited to agents.

    3.1k GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed
  • Frontend UI Dark TS

    microsoft/skills

    Official

    Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations.

    3.1k GitHub starsUsed in 5 repos~3.6k tokens
    Auto-check passed

Questions about Wiki Ado Convert

What does Wiki Ado Convert do?

Converts VitePress/GFM wiki markdown to Azure DevOps Wiki-compatible format. Wiki Ado Convert is an agent skill from microsoft/skills, published by the product's own GitHub organization. Converts VitePress/GFM wiki markdown to Azure DevOps Wiki-compatible format.

When should I use Wiki Ado Convert?

Wiki Ado Convert fits situations like: tasks that involve Diagrams; tasks that involve Markdown; tasks that involve Static sites and blogs.

How do I install Wiki Ado Convert in Claude Code?

Run `npx skills add microsoft/skills --skill wiki-ado-convert -a claude-code`. Or copy the skill folder (.github/plugins/deep-wiki/skills/wiki-ado-convert in microsoft/skills) into .claude/skills/wiki-ado-convert in your project. Claude Code loads it when a task matches its description.

How do I install Wiki Ado Convert in Codex?

Run `npx skills add microsoft/skills --skill wiki-ado-convert -a codex`. Or copy the skill folder (.github/plugins/deep-wiki/skills/wiki-ado-convert in microsoft/skills) into .agents/skills/wiki-ado-convert in your project. Codex loads it when a task matches its description.

Can I use Wiki Ado Convert in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add microsoft/skills --skill wiki-ado-convert -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/wiki-ado-convert, .gemini/skills/wiki-ado-convert, .github/skills/wiki-ado-convert and .opencode/skills/wiki-ado-convert in your project.

What does Wiki Ado Convert need to run?

Going by SKILL.md and its folder, Wiki Ado Convert needs the command-line tools its instructions call (git). Our summary lists: Node.js.

Does Wiki Ado Convert access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Wiki Ado Convert safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Wiki Ado Convert use?

Wiki Ado Convert is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Wiki Ado Convert use?

About 2.3k tokens (SKILL.md is roughly 9.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Wiki Ado Convert?

Skills that share tags, products or a category with Wiki Ado Convert: Pretty Mermaid Renderer (imxv/Pretty-mermaid-skills, 1.5k stars), Chatbot Mvp Distillation (pdsuwwz/chatgpt-vue3-light-mvp, 578 stars), Chatbot Mvp Distillation Zh (pdsuwwz/chatgpt-vue3-light-mvp, 578 stars) and Markdown Mermaid Writing (K-Dense-AI/scientific-agent-skills, 48k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Wiki Ado Convert?

microsoft (a GitHub organization, an official publisher) maintains it in microsoft/skills, which has 3,091 GitHub stars. The repository holds 150 skills in this directory. The repository was last updated on October 6, 2026.

Source: microsoft/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.