Skip to content
azure-devops-wiki logo

Azure DevOps Wiki Skill

azure-devops-wiki

Azure DevOps Wiki management skill. Use when working with Azure DevOps wikis for: (1) Creating and organizing wiki pages - provisioned or code-as-wiki, (2) Markdown formatting - TOC, Mermaid diagrams, YAML metadata, code blocks, (3) Wiki structure - .order files, subpages, attachments, (4) Best p...

SKILL.md

Full skill instructions

Azure DevOps Wiki Skill

Complete guide for managing Azure DevOps wikis with best practices and CLI operations.

Wiki Types

Azure DevOps supports two wiki types:

TypeDescriptionUse Case
Provisioned WikiBuilt-in wiki created per projectQuick team documentation, single wiki per project
Published Code WikiGit repo published as wikiSDK docs, versioned content, multiple wikis per project

Quick Start

Create Provisioned Wiki

# Via Azure DevOps CLI
az devops wiki create --name "Project Wiki" --type projectwiki \
  --org https://dev.azure.com/​ORG --project PROJECT

Publish Code as Wiki

# Publish existing Git repo as wiki
az devops wiki create --name "API Docs" --type codewiki \
  --repository REPO_NAME --mapped-path / --version main \
  --org https://dev.azure.com/​ORG --project PROJECT

Repository Structure

Wiki files are stored in Git with this structure:

ProjectName.wiki/
├── .attachments/           # All attachments
├── .order                  # Root page sequence
├── Home.md                 # Home page
├── Getting-Started.md      # Top-level page
├── Getting-Started/        # Folder for subpages
│   ├── .order              # Subpage sequence
│   ├── Installation.md     # Subpage
│   └── Configuration.md    # Subpage
└── API-Reference.md        # Another top-level page

Key conventions:

  • Wiki repo name: <ProjectName>.wiki
  • Root branch: wikiMain
  • Spaces in titles → hyphens in filenames: Getting Started → Getting-Started.md
  • Subpages require matching folder: Page.md + Page/ folder

The .order File

Controls page sequence in table of contents:

Home
Getting-Started
API-Reference
Troubleshooting

Rules:

  • One page name per line (without .md extension)
  • Pages not listed appear alphabetically at the end
  • Delete .order to restore alphabetical sorting

Essential Markdown Features

Table of Contents

Add auto-generated TOC to any page:

[[_TOC_]]

## Section 1
Content here...

## Section 2
More content...

Mermaid Diagrams

::: mermaid
graph LR
    A[Start] --> B{Decision}
    B -->|Yes| C[Action 1]
    B -->|No| D[Action 2]
:::

Supported diagram types:

  • Sequence diagrams
  • Flowcharts (graph not flowchart)
  • Gantt charts
  • Class diagrams
  • State diagrams
  • User journeys
  • Pie charts
  • Entity Relationship diagrams
  • Timeline diagrams

YAML Metadata

Add searchable metadata at page start:

---
title: API Reference
author: Team Name
tags:
  - api
  - reference
  - v2
---

# Page Content

Code Blocks with Syntax Highlighting

```javascript
const config = {
  baseUrl: 'https://api.example.com',
  timeout: 5000
};

Supported languages: `javascript`, `typescript`, `python`, `csharp`, `bash`, `yaml`, `json`, `sql`, and [more](https://github.com/highlightjs/highlight.js/tree/stable-11/src/languages).

### Collapsible Sections

```html
<details>
<summary>Click to expand</​summary>

Hidden content here...

</​details>

Work Item Links

Link to work item: #123
Link with text: [User Story #123](#123)

User Mentions

@<alias> - mentions user
@<GroupName> - mentions group

Images with Sizing

![Alt text](/​.attachments/​image.png =500x300)
![Width only](/​.attachments/​image.png =500x)

CLI Operations

List Wikis

az devops wiki list --org https://dev.azure.com/​ORG --project PROJECT -o table

Create Page

az devops wiki page create --wiki "Project Wiki" --path "NewPage" \
  --content "# Page Title\n\nPage content here" \
  --org https://dev.azure.com/​ORG --project PROJECT

Update Page

az devops wiki page update --wiki "Project Wiki" --path "ExistingPage" \
  --content "Updated content" --version ETAG \
  --org https://dev.azure.com/​ORG --project PROJECT

Delete Page

az devops wiki page delete --wiki "Project Wiki" --path "PageToDelete" \
  --org https://dev.azure.com/​ORG --project PROJECT -y

Show Page

az devops wiki page show --wiki "Project Wiki" --path "PageName" \
  --org https://dev.azure.com/​ORG --project PROJECT

Git-Based Workflow

Clone Wiki Locally

# Get wiki clone URL
az devops wiki show --wiki "Project Wiki" \
  --org https://dev.azure.com/​ORG --project PROJECT \
  --query remoteUrl -o tsv

# Clone
git clone https://dev.azure.com/​ORG/​PROJECT/​_git/​PROJECT.wiki
cd PROJECT.wiki

Edit and Push

# Create/​edit pages
echo "# New Page\n\nContent" > New-Page.md

# Update .order
echo -e "Home\nNew-Page\nExisting-Page" > .order

# Commit and push
git add .
git commit -m "Add new documentation page"
git push origin wikiMain

Best Practices

Structure & Organization

PracticeDescription
Flat hierarchyKeep max 3 levels deep for easy navigation
Consistent namingUse kebab-case: api-reference, getting-started
Logical groupingGroup related pages in subfolders
Index pagesCreate overview pages for each section
Home pageAlways have a clear entry point

Content Guidelines

PracticeDescription
Use TOCAdd [[_TOC_]] to pages with multiple sections
Descriptive titlesUse clear, searchable page titles
Cross-linkingLink related pages for discoverability
Keep updatedArchive outdated content, don't delete
DiagramsUse Mermaid for architecture/​flow visualization

File Naming

DoDon't
getting-started.mdGetting Started.md (spaces)
api-v2-reference.mdapi_v2_reference.md (underscores)
faq.mdFAQ.md (uppercase)

Searchability

  • Add YAML metadata with tags
  • Use descriptive headings
  • Include keywords in content
  • Link work items for context

Provisioned vs Code Wiki Comparison

FeatureProvisionedCode Wiki
Multiple wikis per projectNo (1 only)Yes
VersioningGit historyGit branches
Edit from ReposNoYes
Branch policiesLimitedFull support
Revert from wiki UIYesNo (use Git)
Best forTeam docsSDK/​Product docs

Troubleshooting

IssueSolution
Page not appearingCheck .order file includes page name
Broken linksUse relative paths: ./​subpage or /​absolute/​path
Images not showingUpload to .attachments/ folder
TOC not renderingEnsure [[_TOC_]] is on its own line
Mermaid not workingUse graph instead of flowchart
YAML metadata brokenCheck for proper --- delimiters

File Restrictions

RestrictionLimit
Page file size18 MB max
Attachment size19 MB max
Path length235 characters max
Special chars in namesNo /, \, #
Period in namesNot at start/​end

Scripts

  • scripts/​wiki-clone.sh <project> <wiki-name> - Clone wiki repository
  • scripts/​wiki-publish.sh <project> <repo> <path> - Publish repo as wiki

References

For detailed documentation:

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View