Generated banner for Documentation
Generated logo for Documentation

Documentation

MicrosoftOfficialPublished by Microsoft

  • Skill
  • Guidelines
  • Agent tooling
  • MIT
  • No issues found

From the author

Canonical documentation capability for audit, drift, validate, and author modes in hve-core.
— the description by Microsoft

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

This skill provides a unified framework for the Documentation agent to manage repository documentation. It centralizes reference materials, templates, and operational heuristics for auditing content, detecting documentation drift, validating standards, and authoring new content. By decoupling capability prose from agent logic, it allows for consistent application of conventions across different operational modes.

What it does

  • Provides standardized reference files for writing styles, accessibility checks, and content sensitivity.
  • Maps code and AI artifact changes to relevant documentation pages for drift analysis.
  • Defines operational modes for auditing, validating, and authoring documentation.
  • Offers templates for creating narrative guides and technical reference pages.
  • Establishes conventions for recording session state and handling CI-related evidence.
  • Routes complex accessibility or security assessments to specialized planners.

When to use it

  • When performing an audit of existing documentation coverage and quality.
  • When checking for drift between code changes and corresponding documentation.
  • When validating documentation against accessibility, RAI, and content sensitivity standards.
  • When authoring new technical guides or reference documentation.

Advantages

  • Ensures consistent documentation standards across the repository.
  • Reduces duplication by centralizing guidance and templates.
  • Provides clear heuristics for identifying and addressing documentation drift.
  • Facilitates structured handoffs to specialized planners for complex assessments.

Usage examples

“Audit the current documentation for coverage gaps.”
The agent uses the coverage-method reference to identify missing documentation and records findings in a session file.
“Check for documentation drift after updating a prompt file.”
The agent uses the code-doc-mapping table to identify the relevant reference page and checks for factual discrepancies.
“Validate the accessibility of the new contributor guide.”
The agent applies the accessibility-checks reference to verify image alt text, heading structure, and link descriptions.
“Author a new reference page for a recently added skill.”
The agent uses the reference.md template to structure the documentation according to repository conventions.

Install

  1. Download the skill as a ZIP:

    https://mp-staging.autogineer.com/agent-skills/microsoft/documentation/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip documentation.zip -d .agents/skills

Documentation by Microsoft

documentation

Overview

This skill provides the shared documentation capability used by the Documentation agent. It centralizes the durable knowledge for audit, drift, validate, and author flows in a single package so thin wrappers can load mode-specific guidance instead of embedding capability prose inline.

Mode map

The Documentation agent should load the relevant skill sections by mode:

ModePrimary load targetsNotes
auditreferences/conventions.md, references/coverage-method.md, references/validation-toolchain.md, references/content-sensitivity.mdReplaces the former Doc Ops workflow with a skill-driven audit loop.
driftreferences/conventions.md, references/code-doc-mapping.md, references/content-sensitivity.mdUses the repo-local mapping table and drift heuristics.
validatereferences/validation-toolchain.md, references/accessibility-checks.md, references/content-sensitivity.md, references/rai-guardrails.mdRuns docs validation and escalates formal review when needed.
authortemplates/guide.md, templates/reference.md, references/conventions.md, references/accessibility-checks.md, references/content-sensitivity.md, references/rai-guardrails.mdProduces narrative or reference docs with the repository's documented conventions.

Success criteria

For audit and validate modes, record results for all applicable local-safe checks and record existing CI status separately. Keep each CI-owned check that did not run as Pending CI, Skipped, Deferred, or Unavailable; do not report it as Passed.

Non-goals

This skill does not author ADRs, BRDs, PRDs, or other planning artifacts. It also does not embed accessibility, RAI, or security standards logic inline; it points to the dedicated reference files and routes formal assessment to the appropriate planner when the scenario requires it.

Working conventions

  • Prefer existing repository instructions and scripts over duplicated prose.

  • In audit and validate modes, run local-safe checks by default and summarize existing CI status separately. Invoke a CI-owned lane locally only when the task specifically asks to reproduce that named lane.

  • Treat browser installation, model or moderation environments, services, credentials, and interactive UI as separate prerequisites rather than automatic failure recovery.

  • Keep documentation changes factual and scoped to the current task.

  • Use the reference files below for mode-specific methods, heuristics, and checklists.

  • Escalate to planners for formal accessibility, RAI, or security review if the work requires a specialist assessment.

Stop rules

For audit and validate modes, stop after recording local-safe results and any separate CI evidence. Report missing specialized setup or required CI evidence separately; do not infer it, provision it automatically, or report it as passed.

Session tracking

Write session state to .copilot-tracking/documentation/ using a {{YYYY-MM-DD}}-session.md file for the run, following the standard session file conventions.

Reference files

  • references/conventions.md — Synthesis of the repository's markdown, writing-style, and Docusaurus conventions.

  • references/code-doc-mapping.md — Code-to-documentation mapping table and drift heuristics.

  • references/coverage-method.md — Gap and coverage analysis method for audit mode.

  • references/validation-toolchain.md — Validation command catalog and result interpretation.

  • references/accessibility-checks.md — Inline documentation checks and handoff triggers.

  • references/content-sensitivity.md — Pre-publish PII, secrets, confidentiality, and AI-disclosure checks.

  • references/rai-guardrails.md — Injection-boundary, attribution, human-review, and disclaimer guidance.

Templates

  • templates/guide.md — Structure template for narrative guides and how-to pages.

  • templates/reference.md — Structure template for reference and API-style documentation.

Files

references/code-doc-mapping.md


title: Code-to-documentation mapping description: Mapping of implementation surfaces to the documentation artifacts that should be reviewed for drift.

Code-to-documentation mapping

This reference preserves the mapping used by the former drift checker and makes it available to the new drift mode. For a documentable AI artifact, inspect its paired asset reference page before the broader conceptual and contributor documentation.

Changed path patternPaired asset referenceAdditional documentation to review
.github/agents/<path>/<name>.agent.mddocs/reference/agents/<path>/<name>.mddocs/agents/, docs/contributing/custom-agents.md, docs/customization/custom-agents.md
.github/prompts/<path>/<name>.prompt.mddocs/reference/prompts/<path>/<name>.mddocs/contributing/prompts.md, docs/customization/prompts.md
.github/instructions/<path>/<name>.instructions.mddocs/reference/instructions/<path>/<name>.mddocs/contributing/instructions.md, docs/customization/instructions.md
.github/skills/<path>/<skill>/**docs/reference/skills/<path>/<skill>.mddocs/contributing/skills.md, docs/customization/skills.md
scripts/**Not applicablescripts/README.md, docs/architecture/workflows.md
extension/**Not applicableextension/PACKAGING.md
plugin.jsonNot applicabledocs/customization/packages.md, docs/plugins/hve-core.md
<repository-root>/.github/plugin/marketplace.jsonNot applicabledocs/getting-started/packages.md, docs/plugins/hve-core.md
.devcontainer/**Not applicabledocs/getting-started/, docs/customization/environment.md
.github/workflows/**Not applicabledocs/architecture/workflows.md

The placeholder <path> preserves every directory between the artifact kind and the asset name, including nested subagents/ directories. A skill has one paired page for its whole directory; changes to SKILL.md, references/, scripts/, or other files in that directory all map to the same page. Root-level repo-specific artifacts and deprecated artifacts are not documentable and have no paired page.

Drift assessment heuristics

  • Read the paired asset reference page first when the changed path matches an AI artifact mapping.

  • Confirm the paired page exists, its generated regions describe the current source, and its authored usage sections remain accurate after the change.

  • Review the additional conceptual and contributor documentation when behavior, invocation, file paths, commands, or options changed.

  • Prioritize factual discrepancies over style concerns.

  • If the change is purely cosmetic, skip it.

  • If no documentation target exists for the changed surface, note that no drift check is required.

Requirements and compatibility

Written for: GitHub Copilot

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Published by
Microsoft
Publisher
Microsoft (Official)
Source
microsoft/hve-core · .github/skills/hve-core/documentation · commit f425e94
Licence
MIT License (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Microsoft.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download documentation.zip