AGENT SKILL

Aspire 新特性发布说明编写

whatsnew

这是一个带步骤参数的技能,将编写 Aspire “What's new in N.N” 发布说明页面(src/frontend/src/content/docs/whats-new/aspire-N-N.mdx)规范为一套可重复的生命周期流程。以 `/whatsnew {modality}` 形式调用,其中 modality 为以下之一:draft/scaffold(init,初始化)、research(研究)、critique(评审)、validate(验证)、polish(润色)、review(审查)。适用于:为某个版本启动/搭建新的“新特性”页面,将版本变更研究整理成资料档案并撰写草稿正文,评审草稿,对差异进行事实核查/验证,润色并执行数据导入,或对 PR 做最终签核。不适用于:通用文档页面(使用 doc-writer)、审查任意文档 PR(使用 doc-pr-reviewer),或产品仓库的改动。编排的技能包括:doc-writer、doc-pr-reviewer、doc-tester、twoslash-validator、update-integrations、update-samples、container-images。

License 许可
MIT
最近更新
2026-11-15
Stars
★ 206
Forks
99

01 前言 Front Matter

name
whatsnew
description
Step-argument skill that formalizes writing an Aspire "What's new in N.N" release-notes page (src/frontend/src/content/docs/whats-new/aspire-N-N.mdx) as a repeatable lifecycle. Invoke as `/whatsnew {modality}` where modality is one of: draft/scaffold (init), research, critique, validate, polish, review. USE FOR: start/scaffold a new what's-new page for a release, research a release's changes into a dossier and author the draft prose, critique a draft, fact-check/validate the diff, polish and run data ingestion, or sign off the PR. DO NOT USE FOR: general docs pages (use doc-writer), reviewing an arbitrary docs PR (use doc-pr-reviewer), or product-repo changes. ORCHESTRATES: doc-writer, doc-pr-reviewer, doc-tester, twoslash-validator, update-integrations, update-samples, container-images.

02 资源文件 8

03 SKILL.md 正文

What's-new release-notes skill

Formalizes the previously ad-hoc process of writing an Aspire "What's new in Aspire N.N" page as a single, step-argument skill with a repeatable lifecycle. Invoke it as /whatsnew {modality} — the modality argument selects one phase:

{draft/scaffold} → {research} → {critique} → {validate} → {polish} → {review}
   init/structure   dossier+draft  self-review   fact-check   edits+data    sign-off

Each phase has a dedicated spec under references/. This skill orchestrates existing skills — it does not duplicate them. {research} is the phase that authors the article body from its dossier; {critique}/{validate} then review and fact-check that draft, and {polish} finalizes it. Because {polish} edits content after {validate}, it must end with a fresh {validate} pass so nothing ships unchecked (see below).

Dispatch on the modality argument

Read the argument, then follow the matching spec. draft, scaffold, and init are aliases for the same phase. If no argument is given, ask which phase to run (or infer from context — e.g. a fresh release with no page → draft).

Modality Alias Purpose Spec Edits content?
draft scaffold, init Stand up branch, draft PR, skeleton MDX, banner, sidebar, version constants. Structure only. 01-draft-scaffold.md Skeleton only
research — Enumerate every change into an impact-focused dossier, then author the first-draft prose into the MDX from it. 02-research.md Yes — drafts the body
critique — Content-quality self-review of draft vs dossier; severity-ranked findings. 03-critique.md No — reports only
validate — Ralph loop with doc-pr-reviewer until 100% factual; samples/links/assets. No bun run build. 04-validate.md Fixes only
polish — Editorial pass + CI triage + diagnostics-author @mentions + automated data ingestion, then a final {validate} pass. 05-polish.md Yes
review — Undraft PR, description, reviewers + doc-tester blind run of every in-article scenario. 06-review.md No

Supporting references

  • whats-new-template.mdx — structure-only skeleton the draft phase copies (scaffold tokens, publishDate frontmatter, and the mandated section taxonomy).
  • writing-guidelines.md — humanized voice + the maintainer content standards. Defers to doc-writer for canonical style.

Cross-cutting rules (apply to every phase)

Git / branching / PR

  • Release work happens on a release/{N.N} branch in the repository.
  • Cut release/{N.N} from the latest default branch (e.g. main) — fetch first so you branch from an up-to-date base and avoid merge conflicts.
  • Iterate via a draft PR from release/{N.N} into the repository's default branch. Open it after the scaffold is committed (a branch with no commits ahead of the default branch has no diff, so the PR can't be created); {review} marks it ready for review.

Voice & quality (see writing-guidelines.md + doc-writer)

  • Impact first, positives first, KISS. No walls of text, no marketing fluff.
  • Judicious <Aside> — a spotlight, not a floodlight. Don't burn the reader's eyes.
  • Content standards: Deployment and Integrations are separate sections; a distinct "New integrations" section for brand-new ones; a "Default container image updates" section for tag bumps. The release-date badge + GitHub release-notes link render automatically from publishDate + slug — never hand-place them.
  • Resource artwork: Every new release page must set resourceImage to newly captured screenshots demonstrating a feature introduced in that release, with matching light/dark variants. Verify the running product version and capture its actual UI; do not substitute generic dashboard artwork, an older release's screenshots, or fabricated UI. Store the files in the release's assets folder before adding their paths, and show them beside the feature in the article. The resource directory discovers release pages and consumes this frontmatter automatically; do not add a duplicate catalog entry. Verify the card's image and release metadata in the resource-catalog tests and browser preview.

Safety / mechanics

  • Never run bun run build locally — validate build-readiness by inspection.
  • Each modality is idempotent — safe to re-run; critique/validate loop to convergence.
  • Re-validate after polish. Any edit {polish} makes lands after the {validate} gate, so {polish} must finish with a fresh {validate} pass and {review} confirms it — the committed article never bypasses validation.
  • Prefer built-in tools over shell; Windows-friendly paths.

Key repository paths

What Path
What's-new pages src/frontend/src/content/docs/whats-new/aspire-N-N.mdx (JA under .../ja/whats-new/)
Version constants src/frontend/config/aspire-versions.mjs (currentAspireMajorMinorVersion, currentAspireVersion, currentAspireReleaseDate, currentAspirePreviewVersion)
Sidebar src/frontend/config/sidebar/docs.topics.ts (What's-new items)
Announcement banner banner: frontmatter on src/frontend/src/content/docs/index.mdx, src/frontend/src/content/docs/docs.mdx, src/frontend/src/content/docs/community/index.mdx, and each src/frontend/src/content/docs/{locale}/index.mdx (+ .../ja/docs.mdx); rendered by src/frontend/src/components/starlight/Banner.astro
Assets src/frontend/src/assets/whats-new/aspire-<version>/
Container image data src/frontend/src/data/container-images.json
Diagnostics articles src/frontend/src/content/docs/diagnostics/aspire<area><NNN>.mdx → /diagnostics/aspire<NNN>/
Data ingestion src/frontend/scripts/update-integration-data.ps1 (bun run update:all)

Orchestrated skills

doc-writer (voice/style) · doc-pr-reviewer (validate loop) · doc-tester (review blind run) · twoslash-validator (TS samples) · update-integrations / update-samples / container-images (polish data ingestion).

04 同仓库更多 Skills

microsoft
microsoft/aspire.dev

Aspire 入门指南

getting-started-with-aspire

当开发者询问如何开始使用 Aspire 时使用本技能——包括安装 Aspire CLI、创建新的 Aspire 应用、在本地运行,或在 aspire.dev 上查找权威文档、集成目录或 API 参考。适用于“如何安装 aspire?”“如何创建新的 aspire 应用?”“如何运行我的 aspire 应用?”“aspire 的文档在哪里?”等问题。不适用于:操作现有的 Aspire AppHost(使用 github.com/microsoft/aspire/tree/main/.agents/skills/aspire 上的官方 `aspire` 技能)、编写 AppHost 代码,或向现有应用添加集成。

软件开发工程师学习引导
★ 206
microsoft
microsoft/aspire.dev

Aspire 示例数据同步

update-samples

通过从 microsoft/aspire-samples GitHub 仓库获取示例元数据来更新示例数据文件。在添加新示例、刷新示例数据,或确保 samples.json 与上游仓库保持同步时使用。

软件开发工程师示例与演示技能
★ 206
microsoft
microsoft/aspire.dev

集成文档与 API 参考同步

update-integrations

通过将 NuGet 包名与其文档 URL 同步,并生成每个包的 API schema,来更新集成文档链接和 API 参考数据。在添加新集成、刷新包数据、确保 integration-docs.json 与 aspire-integrations.json 保持同步,或重新生成 API 参考 JSON 文件时使用。

技术文档工程师技术文档编写
★ 206
microsoft
microsoft/aspire.dev

Twoslash 示例校验与修复

twoslash-validator

为 aspire.dev 校验并修复双斜杠(twoslash)TypeScript 示例。在添加或编辑 `twoslash` 代码块、TypeScript AppHost 示例、生成的 TypeScript API 数据,或处理 `bun run test:unit:twoslash-blocks` 的失败时使用。

软件开发工程师代码实现
★ 206
microsoft
microsoft/aspire.dev

Playwright 浏览器自动化测试

playwright-cli

自动化浏览器交互,用于 Web 测试、表单填写、截图和数据提取。当用户需要浏览网站、与网页交互、填写表单、截取截图、测试 Web 应用或从网页提取信息时使用。

测试工程师测试与质量保障
★ 206
microsoft
microsoft/aspire.dev

终端应用自动化操作

hex1b

用于自动化任何终端应用程序的 CLI 工具——TUI 应用、shell、CLI 工具、REPL 等。当需要在虚拟终端中启动进程、捕获其屏幕输出、注入键盘或鼠标输入、截取屏幕截图、录制会话或对可见内容进行断言时使用。

软件开发工程师桌面自动化与界面操作
★ 206