doc-writer

작성자: microsoft

새로운 기능이나 업데이트된 기능에 대한 VS Code 문서를 계획하고 작성합니다. 사용자가 "문서화", "문서 추가", "문서 작성" 등을 요청할 때 항상 이 스킬을 사용하세요.

npx skills add https://github.com/microsoft/vscode-docs --skill doc-writer

Document a Feature

Help document a new or updated VS Code feature in the project documentation (the docs/ folder) and keep its required navigation metadata current. 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.

When to Use

Use this skill whenever the request maps to any of these — do not start editing docs directly without first running Phase 1:

  • The user says "document this", "document this functionality/feature", "add docs for…", "write docs for…", or "update the docs for…".
  • The user pastes a GitHub issue or PR link and asks you to document or address it in the docs.
  • Documenting a new or changed VS Code or GitHub Copilot feature.
  • Turning a GitHub issue or PR into concrete docs/ updates.
  • Auditing whether existing docs need updating after a feature change.

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.

Guardrails

  • Docs and sitemap only. Limit content changes to the docs/ folder. When you add an article or change an article URL, update build/sitemap.xml in the same change. Do not update release notes or API docs (api/) unless the user explicitly asks.
  • Public functionality only. Do not add or retain documentation for internal builds, dogfood-only functionality, hidden settings or commands, source-only implementation, or manually settable internal feature flags.
  • Never edit 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.
  • Screenshots are human work. When a screenshot needs to be added or updated, insert a TODO comment in the doc for a human to capture and insert it later — do not fabricate image references.
  • Style compliance. All writing must follow the docs-writing style guide.

Phase 1 — Research & Propose a Plan (no edits)

Do not modify any files in this phase.

  1. Understand the feature. Read the feature description, issue, or PR provided. If the description is ambiguous or lacks detail, ask clarifying questions before continuing.

  2. 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.

  3. 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 documentedPrimary source repo
    Core editor, workbench, debug, terminal, tasks, settings, commands, keybindingsmicrosoft/vscode
    Copilot Chat, inline chat, agent mode, chat tools, chat participants, MCP in chatmicrosoft/vscode-copilot-chat
    Enterprise policiesmicrosoft/vscode (policy definitions)
  4. 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.

  5. 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. Include docs/toc.json and build/sitemap.xml in the plan when you add an article or change an article URL.

  6. Present the plan. Summarize:

    • The primary persona, reader intent, and article purpose.
    • Which docs/ files and required navigation metadata you propose to create or change, and a short description of each edit.
    • Any TODO screenshot placeholders that will be needed.
    • Open questions or assumptions.

    If you conclude that no documentation update is needed, say so and ask the user to confirm before closing out.

  7. Stop and wait for approval. Do not proceed to Phase 2 until the user explicitly approves the plan (or adjusts it).

Phase 2 — Confirm the Branch & Implement (after approval)

Once the user approves the plan:

  1. Confirm the branch before editing. Use the user-question tool to ask whether to create a new branch from main before implementing the documentation updates. Offer these choices:

    • Yes, create a new branch from main (Recommended)
    • No, continue on the current branch

    Do not modify documentation files until the user answers. If the user chooses a new branch, ask for a branch name unless they already supplied one, then create the branch from main before editing. If uncommitted changes prevent safe branch creation, stop and explain the conflict instead of stashing or reverting changes. If the user chooses the current branch, continue without changing branches.

  2. Apply the documentation edits exactly as agreed, following the docs-writing style guide and the approved content framing.

  3. Add TODO comments where screenshots need to be captured by a human.

  4. Respect the guardrails above (docs content and required sitemap updates only; no release notes/API docs unless asked; never edit generated policies.md).

  5. Verify that the introduction, main content, examples, and next steps serve the approved primary persona and reader intent.

  6. Summarize the changes you made and call out any remaining TODOs for the user.

Orchestrate your documentation updates

  • Act as a reviewer and coordinator
  • Delegate work to GPT-5.6 Sol subagents, in parallel when feasible.
  • The subagents should not themselves run validation on their work, that's your job! You own the plan; delegate work in parallel when reasonable.
  • Monitor the progress of subagents and integrate their contributions into the final documentation.

microsoft의 다른 스킬

oss-growth
microsoft
OSS 성장 해커 페르소나
agent-framework-azure-ai-py
microsoft
Microsoft Agent Framework Python SDK(agent-framework-azure-ai)를 사용하여 Azure AI Foundry 에이전트를 구축합니다. AzureAIAgentsProvider로 지속적 에이전트를 만들 때, 호스팅 도구(코드 인터프리터, 파일 검색, 웹 검색)를 사용할 때, MCP 서버를 통합할 때, 대화 스레드를 관리할 때, 또는 스트리밍 응답을 구현할 때 사용합니다. 함수 도구, 구조화된 출력, 다중 도구 에이전트를 다룹니다.
development
airunway-aks-setup
microsoft
AKS에서 AI Runway 설정 — 빈 클러스터에서 실행 중인 모델까지. 클러스터 검증, 컨트롤러 설치, GPU 평가, 공급자 설정, 첫 배포를 다룹니다. 시기: "AI Runway 설정", "AKS 클러스터 온보딩", "AI Runway 설치", "airunway 설정", "AKS에 모델 배포", "AKS에서 GPU 추론", "AKS에서 KAITO 설정", "AKS에서 LLM 실행", "AKS에서 vLLM", "AKS에서 모델 서빙 설정", "AI Runway 컨트롤러".
devops
appinsights-instrumentation
microsoft
Azure Application Insights로 웹앱을 계측하기 위한 지침입니다. 원격 분석 패턴, SDK 설정, 구성 참조를 제공합니다. WHEN: 앱 계측 방법, App Insights SDK, 원격 분석 패턴, App Insights란 무엇인가, Application Insights 지침, 계측 예시, APM 모범 사례.
devops
applicationinsights-web-ts
microsoft
브라우저/웹 앱을 Application Insights JavaScript SDK(@microsoft/applicationinsights-web)로 계측합니다. Real User Monitoring(RUM) — 페이지 뷰, 클릭, AJAX/fetch 종속성, 예외, 사용자 지정 이벤트, 백엔드 OpenTelemetry 트레이스와 상관관계가 있는 브라우저 측 GenAI 에이전트 트레이스에 사용합니다. SDK Loader Script 및 npm 설정, 프레임워크 확장(React, React Native, Angular), Click Analytics, 텔레메트리 이니셜라이저, 브라우저에서 생성된 에이전트/도구/모델 스팬에 대한 OTel GenAI 의미론적 규칙을 다룹니다.
devops
azure-ai-anomalydetector-java
microsoft
Azure AI Anomaly Detector SDK for Java로 이상 탐지 애플리케이션을 구축하세요. 단변량/다변량 이상 탐지, 시계열 분석 또는 AI 기반 모니터링을 구현할 때 사용하세요.
development
azure-ai-language-conversations-py
microsoft
azure-ai-language-conversations Python SDK를 사용하여 대화형 언어 이해(CLU)를 구현합니다. ConversationAnalysisClient로 대화 의도와 엔터티를 분석하거나, NLP 기능을 구축하거나, 애플리케이션에 언어 이해를 통합할 때 사용합니다.
development
azure-ai-ml-py
microsoft
Azure Machine Learning SDK v2 for Python. ML 작업 영역, 작업, 모델, 데이터 세트, 컴퓨팅 및 파이프라인에 사용합니다. 트리거: "azure-ai-ml", "MLClient", "workspace", "model registry", "training jobs", "datasets".
development