writing-release-notes

作者: microsoft

為DocumentDB VS Code擴充套件產生發行說明和變更日誌條目。用於準備版本發佈、建立修補程式更新說明、撰寫…

npx skills add https://github.com/microsoft/vscode-documentdb --skill writing-release-notes

Writing Release Notes and Changelog

Generate professional release documentation for the DocumentDB extension for Visual Studio Code.

Product name: use DocumentDB extension for Visual Studio Code in titles and first mentions, then "the extension". The old name "DocumentDB for VS Code" is retired; see Product name.

When to Use

  • Creating release notes for a new version (X.Y.0)
  • Appending patch release notes (X.Y.Z where Z > 0)
  • Writing changelog entries for any version
  • Documenting new features, improvements, or fixes
  • Announcing a release or patch release on GitHub Discussions

Quick Reference

Version TypeRelease Notes ActionChangelog Action
Major/Minor (1.0.0, 1.1.0)Create new docs/release-notes/X.Y.mdAdd new ## X.Y.0 section at top
Patch (1.1.1, 1.1.2)Append to existing docs/release-notes/X.Y.mdAdd new ## X.Y.Z section at top

Input Format

You will receive:

  1. Version number (e.g., 0.7.0, 0.6.4)
  2. List of changes with:
    • Brief description of change
    • Issue link(s) and/or PR link(s)
    • Category: Feature, Fix, Improvement, or Security

Output Files

Changelog (CHANGELOG.md)

Location: /CHANGELOG.md (repository root)

Style: Concise, technical, factual

For format and examples, see CHANGELOG-FORMAT.md

Release Notes (docs/release-notes/X.Y.md)

Location: /docs/release-notes/{major}.{minor}.md

Style: Enthusiastic, user-focused, marketing-oriented

For format and examples, see RELEASE-NOTES-FORMAT.md

Workflow

Step 1: Confirm the Screenshot Plan

Before drafting or updating release notes, remind the operator to consider whether screenshots would help explain the changes. Ask whether the release will include screenshots unless the operator already answered this in the current request.

Suggested question: Will this release include any screenshots?

If screenshots are planned, check docs/parked-images/README.md for ready images. Otherwise, the operator provides the raw captures. Frame them with the documentation-screenshots skill so they match the existing release notes (brand background, consistent text size, numbered steps where needed). Store the framed images under docs/release-notes/images/ using {version}_{feature_name}.png and reference them using the markup in RELEASE-NOTES-FORMAT.md. When using a parked image, move it into the release-notes image folder, add the version prefix and remove its row from the parked-images README. Do not add image placeholders.

Step 2: Determine Version Type

Version X.Y.Z:
├── Z = 0 (major/minor release)
│   ├── Create new release notes file: docs/release-notes/X.Y.md
│   └── Add new changelog section at TOP of CHANGELOG.md
└── Z > 0 (patch release)
    ├── Append patch section to existing docs/release-notes/X.Y.md
    └── Add new changelog section at TOP of CHANGELOG.md

Step 3: Generate Changelog Entry

  1. Read CHANGELOG-FORMAT.md for format
  2. Add entry at TOP of CHANGELOG.md (below # Change Log heading)
  3. Keep descriptions brief (1-2 sentences max)
  4. Include issue/PR links in format: [#123](https://github.com/microsoft/vscode-documentdb/issues/123)

Step 4: Generate Release Notes

  1. Read RELEASE-NOTES-FORMAT.md for format
  2. For X.Y.0: Create new file with full header and "What's New" sections
  3. For X.Y.Z: Append patch section to existing X.Y.md file
  4. Use exciting language for features, clear language for fixes
  5. If screenshots were requested, do not mark the release notes complete until each selected image is stored and referenced using RELEASE-NOTES-FORMAT.md.

Step 5: Update Release Notes Index

  1. Open docs/index.md
  2. Find the Release Notes section
  3. For X.Y.0: Add a new line - [X.Y](./release-notes/X.Y) at the top of the list
  4. For X.Y.Z (patch): Append , [X.Y.Z](./release-notes/X.Y#patch-release-vXYZ) to the existing line for that major.minor version (where vXYZ uses no dots, e.g., v071)
  5. Follow the existing pattern of other entries in the list

Step 6: Announce on GitHub Discussions

Once the release notes are committed, post the announcement in the Announcements category. Follow ANNOUNCING-ON-DISCUSSIONS.md for the commands and the image handling.

Before publishing, always ask the operator: Is there already a placeholder discussion for this release? If so, what is its URL? If a URL was already supplied, confirm that it is the placeholder to update instead of asking for it again. Wait for the answer; do not create a new discussion unless the operator confirms there is no placeholder. Reuse a confirmed placeholder by updating its title and body.

  • X.Y.0: one discussion (reuse the placeholder if present), titled DocumentDB extension for Visual Studio Code vX.Y Released! <emoji>, with the release notes as the body. Point releaseNotesUrl in package.json at it and pin it.
  • X.Y.Z (patch): first create or update the dedicated discussion titled Patch Release vX.Y.Z 📎 whose body is the ## Patch Release vX.Y.Z section; then post the same text as a comment on the X.Y.0 announcement. A patch placeholder is for the dedicated patch discussion, not the parent X.Y.0 announcement. Find that announcement by title (vX.Y Released) and content, not through releaseNotesUrl: a patch can target an older version. If the lookup is not a single clear match, ask the operator. Keep this order: it puts the X.Y.0 announcement first and the patch post second in the recently updated Announcements list.

Writing Guidelines

Changelog Tone

  • Technical and factual
  • No marketing language
  • Focus on WHAT changed

Release Notes Tone

  • Enthusiastic and user-focused
  • Highlight benefits to developers
  • Use emojis sparingly (⭐ for major features, 💠 for patch items)
  • Focus on WHY this helps users

Link Format

<!-- Issue link -->

[#123](https://github.com/microsoft/vscode-documentdb/issues/123)

<!-- PR link -->

[#456](https://github.com/microsoft/vscode-documentdb/pull/456)

<!-- Combined -->

[#123](https://github.com/microsoft/vscode-documentdb/issues/123), [#456](https://github.com/microsoft/vscode-documentdb/pull/456)

Validation Checklist

Before completing:

  • Changelog added at TOP of CHANGELOG.md
  • All issue/PR links are correct and clickable
  • Version numbers match across all files
  • Categories are appropriate (Features, Fixes, Improvements)
  • Release notes start with the front matter header (title, parent: 'Release Notes', nav_order)
  • Patch releases append to existing file with --- separator
  • docs/index.md Release Notes section updated with link to new version
  • Screenshot question was answered
  • Every requested screenshot is framed with documentation-screenshots, saved under docs/release-notes/images/ and referenced
  • Placeholder question answered (or supplied URL confirmed), and any confirmed placeholder reused
  • Announcement posted per ANNOUNCING-ON-DISCUSSIONS.md (for a patch: create or update the dedicated Patch Release vX.Y.Z 📎 discussion first, then post the same text as a comment on the X.Y.0 announcement)

來自 microsoft 的更多技能

oss-growth
microsoft
開源增長駭客角色
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檢測Web應用程式的指南。提供遙測模式、SDK設定與組態參考。適用時機:如何檢測應用程式、App Insights SDK、遙測模式、什麼是App Insights、Application Insights指南、檢測範例、APM最佳實踐。
devops
applicationinsights-web-ts
microsoft
使用Application Insights JavaScript SDK(@microsoft/applicationinsights-web)為瀏覽器/Web應用程式進行檢測。適用於真實使用者監控(RUM)——頁面檢視、點擊、AJAX/fetch依賴、例外、自訂事件,以及與後端OpenTelemetry追蹤關聯的瀏覽器端GenAI代理追蹤。涵蓋SDK載入器指令碼與npm設定、框架擴充(React、React Native、Angular)、點擊分析、遙測初始化器,以及從瀏覽器發出的代理/工具/模型span的OTel GenAI語意慣例。
devops
azure-ai-anomalydetector-java
microsoft
使用適用於 Java 的 Azure AI 異常偵測器 SDK 建置異常偵測應用程式。在實作單變量/多變量異常偵測、時間序列分析或 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。用於機器學習工作區、作業、模型、資料集、計算資源與管線。 觸發詞:「azure-ai-ml」、「MLClient」、「workspace」、「model registry」、「training jobs」、「datasets」。
development