| name | documentor-workflow |
| description | Editorial quality workflows for Azure documentation — SEO optimization, metadata generation, engagement analysis, markdown auto-fix, sensitive identifier replacement, and link validation. Replicates DocuMentor extension capabilities for use in agent mode or without the extension. |
| argument-hint | Describe the editorial task: review SEO, suggest title/description, fix markdown, check engagement, validate links, or run a full editorial review on the current article |
| user-invocable | true |
Documentor Workflow — Editorial Quality for Azure Docs
Use this skill to run editorial quality workflows on Azure documentation articles. It covers SEO optimization, metadata generation, engagement improvement, markdown formatting fixes, link validation, and sensitive identifier replacement.
Dual-mode: If the DocuMentor extension (@docuMentor) is installed, you can also use its chat participant directly. This skill provides the same capabilities for agent mode or environments without the extension.
Workflow Selection
Choose the appropriate workflow based on the task:
Quick Edit Review
Scan the article for common issues and suggest targeted fixes:
- Check frontmatter completeness (title, description, ms.date, ms.topic, ms.service, ms.custom, customer intent)
- Verify title (30-65 chars, title case, primary keyword near beginning)
- Verify description (120-165 chars, unique from title/H1, includes CTA)
- Scan for passive voice — rewrite to active voice using "you" to address readers
- Check for sensitivity issues — replace any real GUIDs, secrets, or IDs with approved placeholders (see
references/sensitive-identifiers.md)
- Verify sentence-style capitalization on all headings (except product names)
- Check that procedures have ≤ 10 steps and begin with a verb
- Present findings as a numbered list of suggested edits with before/after examples
Full Edit Review
Comprehensive editorial review covering all quality dimensions:
- Run all Quick Edit Review checks
- Apply SEO Review checklist
- Apply Engagement Review analysis
- Verify writing style against Microsoft Writing Style Guide:
- Use contractions (it's, you'll, don't)
- Get to the point fast — lead with what matters most
- Use bigger ideas, fewer words
- Write like you speak — read it aloud
- Address reader as "you," refer to Microsoft as "we"
- Check formatting rules (see
references/autofix-rules.md):
- Code fences have correct language identifiers
- Alert blocks use proper syntax (
> [!NOTE], > [!TIP], etc.)
- Tables are properly formatted
- Lists follow Azure docs conventions
- Validate all links
- Produce a comprehensive report organized by: Critical, Important, Suggestions
Suggest Title
Generate or improve the article title following these rules:
- Length: 30-65 characters (including spaces)
- Case: Title case (capitalize major words)
- Keywords: Include primary keyword near the beginning
- Uniqueness: Must differ from H1 and description
- No gerunds: Avoid -ing words at start
- Error codes: Prefix with error code if article is troubleshooting
- Provide 3 title options ranked by SEO effectiveness
- Show character count for each option
Suggest Description
Generate or improve the meta description:
- Length: 120-165 characters (including spaces)
- Keywords: Include primary keyword at the beginning
- Uniqueness: Must differ from title and H1
- CTA: Include a call-to-action (Learn how to..., Find out..., Discover...)
- Active language: Use active voice, compelling copy
- Provide 3 description options ranked by click-through potential
- Show character count for each option
Suggest Customer Intent
Generate the customer intent metadata field using agile user story format:
As a <type of user>, I want <what?> so that <why?>
- Identify the target user role from the article content
- Identify the primary task or goal
- Identify the business value or outcome
- Generate 2-3 customer intent options
- Validate each follows the exact format above
SEO Review
Audit the article against the SEO checklist (see references/seo-checklist.md):
- Title — 30-65 chars, title case, primary keyword, unique from H1/description
- Description — 120-165 chars, CTA, primary keyword at beginning, unique
- H1 — Sentence case (NOT title case), primary keyword, no gerunds
- Intro paragraph — Primary keyword in first or second sentence
- Subheadings — Sentence case (NOT title case), secondary keywords, no gerunds, preserve standard template headings (Prerequisites, Related content, Next steps)
- Image alt text — 40-150 chars, starts with "Screenshot of..." or "Diagram of..."
- Present results as a checklist with pass/fail status and remediation for each item
Engagement Review
Analyze the article for engagement metric improvements (see references/engagement-checklist.md):
- Bounce rate — Check intro hooks, visual elements, content relevance, page load factors
- Click-through rate — Check link placement, anchor text quality, CTA clarity
- Copy-try-scroll rate — Check code sample quality, procedure clarity, scanability
- Dwell rate — Check content depth, readability, multimedia, internal linking
- Exit rate — Check next steps section, related content links, progressive disclosure
- For each metric, provide: current assessment, specific issues found, remediation steps
Auto-Fix Markdown
Systematically fix markdown formatting issues (see references/autofix-rules.md):
- Fix heading hierarchy (no skipped levels, single H1)
- Ensure blank lines before and after headings, code blocks, lists, and alerts
- Fix list formatting (consistent markers, proper nesting, blank lines between top-level items)
- Fix code fence language identifiers (use
azurecli not bash for Azure CLI, azurepowershell not powershell for Azure PowerShell)
- Fix alert syntax to standard format:
> [!NOTE], > [!TIP], > [!IMPORTANT], > [!CAUTION], > [!WARNING]
- Fix table alignment and formatting
- Remove trailing whitespace
- Ensure file ends with single newline
- Apply all fixes and show a summary of changes made
Validate Links
Check all links in the article:
- Identify all markdown links
[text](url) and reference links
- For relative links — verify the target file exists in the repository
- For absolute links — flag any links to
learn.microsoft.com that should be relative
- For anchor links — verify the heading target exists
- Check for bare URLs that should be formatted as markdown links
- Report: working links, broken links, links needing conversion, and suggested fixes
Update Date
Update the ms.date frontmatter field:
- Locate the
ms.date field in the YAML frontmatter
- Update to today's date in
MM/DD/YYYY format
- Confirm the change
Reference Files
For detailed checklists and rules, load these resources as needed:
references/seo-checklist.md — Complete SEO optimization rules and examples
references/metadata-rules.md — Title, description, and customer-intent specifications
references/engagement-checklist.md — Engagement metric troubleshooting and remediation
references/sensitive-identifiers.md — Approved GUID/secret replacement values by type and severity
references/autofix-rules.md — Markdown formatting rules and code fence language identifiers