Plan and write VS Code documentation for a new or updated feature. ALWAYS use this skill when the user asks to "document", "add docs for", "write docs for", or "update the docs for" a feature, or provides a GitHub issue/PR link to document — even if the change seems small. Proposes a documentation plan and asks clarifying questions first — it does not edit any files until you approve the plan.
67
82%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
Help document a new or updated VS Code feature in the project documentation (the docs/ folder). This skill works in two phases: it first researches the feature and proposes a documentation plan, then implements the changes only after you approve. It is acceptable to conclude that no documentation update is needed.
Use this skill whenever the request maps to any of these — do not start editing docs directly without first running Phase 1:
docs/ updates.This applies even when the change looks small (a clarification, a few added steps, a single section). Run the plan-first workflow rather than jumping straight to edits.
Do not use this skill for release notes, API reference docs, redirects, image swaps, or pure copy-edits — those are handled by other skills (release-note-writer, content-redirect, frontmatter-description) or direct edits.
docs/ folder. Do not update release notes or API docs (api/) unless the user explicitly asks.enterprise/policies.md. This file is generated from the enterprise policy definitions in the VS Code source. Edit enterprise/policies-template.md instead, which is used to regenerate policies.md.TODO comment in the doc for a human to capture and insert it later — do not fabricate image references.Do not modify any files in this phase.
Understand the feature. Read the feature description, issue, or PR provided. If the description is ambiguous or lacks detail, ask clarifying questions before continuing.
Establish the content framing. Identify the primary persona, reader intent, and article purpose by following the content-framing guidance. Infer them from the existing content, documentation journey, source material, and writer's request. If any part of the framing remains ambiguous and different interpretations would change the content, ask the writer to confirm before planning edits.
Check the source if needed. To understand the implementation, inspect the source code in the microsoft/vscode repo. Use the gh CLI for all GitHub interactions (issues, PRs, code). See user memory gh-cli-powershell.md for PowerShell-specific gh patterns.
| Area being documented | Primary source repo |
|---|---|
| Core editor, workbench, debug, terminal, tasks, settings, commands, keybindings | microsoft/vscode |
| Copilot Chat, inline chat, agent mode, chat tools, chat participants, MCP in chat | microsoft/vscode-copilot-chat |
| Enterprise policies | microsoft/vscode (policy definitions) |
Verify public availability. Check every feature, setting, and command against the public product channel intended for the article. Public Preview, Experimental, and Insiders functionality qualifies when labeled clearly. Source-code existence or manual configurability is not enough. Inspect registration metadata, product quality gates, feature flags, and the relevant public release. Treat metadata such as included: false as internal unless product evidence shows otherwise. If functionality is not public, do not document it. During an audit or review, propose removing existing coverage.
Identify affected docs. Search the docs/ folder for the pages that need to be created or updated. Map each change to a specific file and section.
Present the plan. Summarize:
docs/ files you propose to create or change, and a short description of each edit.TODO screenshot placeholders that will be needed.If you conclude that no documentation update is needed, say so and ask the user to confirm before closing out.
Stop and wait for approval. Do not proceed to Phase 2 until the user explicitly approves the plan (or adjusts it).
Once the user approves the plan:
TODO comments where screenshots need to be captured by a human.policies.md).TODOs for the user.193d3e4
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.