[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69B8JC3YJKYZFC0BX9N47SC":3,"skill-same:01M69B8JC3YJKYZFC0BX9N47SC":80},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":51,"linkOnly":52,"markdownContent":53,"markdownBody":54,"frontMatter":55,"refName":56,"commitSha":57,"skillDirectory":58,"forksCount":59,"repositoryHtmlUrl":60,"repositoryHomepageUrl":61,"ownerHtmlUrl":62,"ownerBlogUrl":63,"ownerDescription":64,"updatedAt":65,"install":66,"resources":79},"01M69B8JC3YJKYZFC0BX9N47SC","update-integrations","集成文档与 API 参考同步","Update integration documentation links and API reference data by synchronizing NuGet package names with their documentation URLs and generating per-package API schemas. Use when adding new integrations, refreshing package data, ensuring integration-docs.json stays in sync with aspire-integrations.json, or regenerating API reference JSON files.","通过将 NuGet 包名与其文档 URL 同步，并生成每个包的 API schema，来更新集成文档链接和 API 参考数据。在添加新集成、刷新包数据、确保 integration-docs.json 与 aspire-integrations.json 保持同步，或重新生成 API 参考 JSON 文件时使用。","microsoft\u002Faspire.dev","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69B7HZWV2YNDYYCP5G712FG",206,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Faspire.dev\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fupdate-integrations\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BVB0FJ0RR8KXYVFTKEA3XX","技术文档工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C5C7NGT4DWWBE15R6QGEX5","技术文档编写","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],"update integrations","update","integrations","api","new","when","links","with","files","reference","use","json","docs","data","integration","package","nuget","documentation","aspire","sync","2026-11-10 10:12:30",false,"---\nname: update-integrations\ndescription: Update integration documentation links and API reference data by synchronizing NuGet package names with their documentation URLs and generating per-package API schemas. Use when adding new integrations, refreshing package data, ensuring integration-docs.json stays in sync with aspire-integrations.json, or regenerating API reference JSON files.\n---\n\n# Update Integration Documentation Links & API Reference Data\n\nThis skill synchronizes the integration package catalog with documentation URL mappings and generates per-package API reference schemas. It ensures every NuGet package listed in the integrations data file has a corresponding documentation link and an up-to-date API reference JSON file.\n\n> **Automation note:** The scheduled `update-integration-data` workflow (`.github\u002Fworkflows\u002Fupdate-integration-data.yml`) runs this update deterministically — no agent\u002FLLM. It executes `src\u002Ffrontend\u002Fscripts\u002Fupdate-integration-data.ps1`, which runs `bun run update:all`, detects `\"version\":` changes in `src\u002Ffrontend\u002Fsrc\u002Fdata\u002Faspire-integrations.json`, and — only when a version actually moves — runs the C# and TypeScript API regeneration (and the twoslash bundle) before opening or refreshing a PR via the Aspire bot GitHub App. That PR is approved and squash-merged automatically by `.github\u002Fpolicies\u002Fauto-merge.yml` once the required `ci-gate` check passes; removing its `:octocat: auto-merge` label holds it for manual review. You can reproduce the full flow locally with `pwsh src\u002Ffrontend\u002Fscripts\u002Fupdate-integration-data.ps1` (add `-SkipRegen` for a fast data-only run). Use this skill for **manual or one-off runs that need judgment** — for example: adding a new integration, reconciling `integration-docs.json`, validating release-branch feed resolution, troubleshooting a regen failure flagged by the workflow's PR, or regenerating data outside the scheduled cadence.\n\n## Overview\n\nThe automated flow also reconciles documentation mappings and runs `bun run test:unit:structured-data` before API regeneration or PR creation. This uses a data-only Vitest configuration so validation does not rewrite Astro's generated assets. Mapping changes are included in the generated PR.\n\nThe aspire.dev site maintains three key data locations:\n\n- **`src\u002Ffrontend\u002Fsrc\u002Fdata\u002Faspire-integrations.json`** — Package metadata fetched from the configured package feeds (titles, descriptions, icons, versions, download counts).\n- **`src\u002Ffrontend\u002Fsrc\u002Fdata\u002Fintegration-docs.json`** — Mappings from package names to site-relative documentation URLs.\n- **`src\u002Ffrontend\u002Fsrc\u002Fdata\u002Fpkgs\u002F`** — Per-package API reference JSON files (e.g. `Aspire.Hosting.Redis.13.1.2.json`) generated by the `PackageJsonGenerator` tool. These feed the auto-generated API reference pages at `\u002Freference\u002Fapi\u002F`.\n- **`src\u002Ffrontend\u002Fsrc\u002Fdata\u002Fts-modules\u002F`** — Per-package TypeScript API reference JSON files (e.g. `Aspire.Hosting.Redis.13.2.0.json`) generated by the `AtsJsonGenerator` tool. These feed the auto-generated TypeScript API reference pages at `\u002Freference\u002Fapi\u002Ftypescript\u002F`.\n- **`src\u002Ffrontend\u002Fsrc\u002Fdata\u002Ftwoslash\u002Faspire.d.ts`** — A single consolidated TypeScript declaration bundle generated from the `ts-modules` JSON by `scripts\u002Fgenerate-twoslash-types.ts`. Consumed by `expressive-code-twoslash` to provide hover tooltips for TypeScript code samples in the docs. **Source-controlled** — commit the diff whenever `ts-modules` changes.\n\nThis skill keeps the documentation mappings in sync with the package catalog and regenerates both the C# and TypeScript API reference data.\n\n## Prerequisites\n\n- Node.js installed and available on `PATH`\n- .NET SDK installed and available on `PATH` (required for the `PackageJsonGenerator` tool)\n- PowerShell (pwsh) available on `PATH` (for running the generation script)\n- Working directory is the repository root\n- The frontend project dependencies are installed (`bun install` in `src\u002Ffrontend\u002F`)\n\n### Release branch package source behavior\n\n- On `main` and all non-`release\u002F*` branches, official Aspire packages resolve from `https:\u002F\u002Fapi.nuget.org\u002Fv3\u002Findex.json`\n- On `release\u002F*` branches, official packages (`Aspire.*`) must resolve from the branch-specific public Azure Artifacts feed instead of nuget.org\n- Community Toolkit packages (`CommunityToolkit.Aspire.*`) always resolve from nuget.org\n- The branch name in this repo is expected to match the corresponding branch in `microsoft\u002Faspire` (for example `release\u002F13.2`)\n- The release feed name follows `darc-pub-microsoft-aspire-{shortSha}` where `{shortSha}` is the first 8 characters of the head commit SHA for the matching Aspire release branch\n- The automation derives the NuGet service index from that feed name as `https:\u002F\u002Fpkgs.dev.azure.com\u002Fdnceng\u002Fpublic\u002F_packaging\u002F{feed-name}\u002Fnuget\u002Fv3\u002Findex.json`\n\n#### Release feed resolution\n\nThe scripts use this precedence on `release\u002F*` branches:\n\n1. `ASPIRE_RELEASE_FEED_URL` — accepts the full NuGet service index URL, the Azure DevOps feed page URL, or the raw feed name\n2. `ASPIRE_RELEASE_FEED_NAME` — explicit feed name such as `darc-pub-microsoft-aspire-aad16017`\n3. `ASPIRE_RELEASE_COMMIT` \u002F `ASPIRE_RELEASE_COMMIT_SHA` — derives the feed name from the commit SHA prefix\n4. Automatic lookup of the matching branch head via `git ls-remote` against `https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Faspire`\n\nIf the Aspire release branch is not publicly reachable yet, set one of the override environment variables above. The scripts intentionally fail on `release\u002F*` if the official release feed cannot be resolved, to avoid accidentally ingesting stale nuget.org packages.\n\nWhen the commit-specific feed is unavailable but a shared feed contains the required\nbuild, set `ASPIRE_RELEASE_FEED_URL` and `ASPIRE_RELEASE_VERSION` together. The\nversion must be an exact package version matching the release branch, not a range.\nOfficial packages select only that version; Toolkit packages keep their normal\nnuget.org selection. Packages absent from that build retain an existing catalog\nentry, if any, rather than importing a different release. An unavailable pin for\nthe entire integration set, an unlisted\u002Fdeprecated pinned version, or a pinned\nregistration lookup failure stops the update before the catalog is written.\nSelected-version registration metadata supplies release descriptions and tags.\nWhere no published nuget.org icon metadata exists, the updater reports use of the\npublic Aspire site icon instead of embedding an unpublished or authenticated-feed\nimage URL.\n\nFor an app-managed worktree whose branch name is not `release\u002F*`, set\n`BUILD_SOURCEBRANCH=refs\u002Fheads\u002Frelease\u002FN.N` in the update process alongside those\noverrides. This supplies the existing branch-resolution context without renaming\nor switching the worktree. Do not set these variables globally. Review the\nresolved source and version before regeneration; C# and TypeScript generators\nconsume the resulting catalog's exact versions.\n\n## Step-by-Step Process\n\n### 1. Run the update script\n\nFetch the latest package data from the configured package feeds:\n\n```bash\nbun run --cwd .\u002Fsrc\u002Ffrontend update:integrations\n```\n\nThis writes updated package metadata to `src\u002Ffrontend\u002Fsrc\u002Fdata\u002Faspire-integrations.json`. The script queries the NuGet v3 API for packages matching `owner:aspire`, `Aspire.Hosting.`, and `CommunityToolkit.Aspire`, then filters out deprecated, unlisted, and excluded packages.\n\nIt also removes documentation mappings for Aspire and Community Toolkit packages absent from the updated catalog. Manually curated third-party mappings are preserved, and new documentation URLs still require manual resolution.\n\nOn `release\u002F*` branches, the script queries the branch-specific official Aspire feed for `Aspire.*` packages and continues to query nuget.org for `CommunityToolkit.Aspire.*` packages.\n\n### 2. Read the updated package data\n\nLoad `src\u002Ffrontend\u002Fsrc\u002Fdata\u002Faspire-integrations.json` and extract all package names from the `title` field of each entry in the JSON array.\n\n### 3. Update integration documentation mappings\n\nLoad `src\u002Ffrontend\u002Fsrc\u002Fdata\u002Fintegration-docs.json` and reconcile it with the package list:\n\n- **For each package name** (from `title` field) in `aspire-integrations.json`:\n  - Check if a matching entry exists in `integration-docs.json` (where `match` equals the package name)\n  - If an entry exists, verify the `href` is correct\n  - If no entry exists, determine the appropriate documentation URL\n\n- **Remove stale entries** for catalog-managed Aspire and Community Toolkit packages no longer in `aspire-integrations.json`. Preserve mappings for third-party packages outside the catalog's sources.\n\n- **Preserve existing correct mappings** — do not change entries that are already accurate\n\n### 4. Determining documentation URLs\n\nWhen a package has no existing mapping, determine the URL based on:\n\n#### Package name patterns\n\n| Package prefix | Documentation path pattern |\n|---|---|\n| `Aspire.Hosting.Azure.*` | `\u002Fintegrations\u002Fcloud\u002Fazure\u002F{service-name}\u002F` |\n| `Aspire.Azure.*` | `\u002Fintegrations\u002Fcloud\u002Fazure\u002F{service-name}\u002F` |\n| `Aspire.Hosting.{Tech}` | `\u002Fintegrations\u002F{category}\u002F{tech}\u002F` |\n| `Aspire.{Client}.{Driver}` | `\u002Fintegrations\u002F{category}\u002F{tech}\u002F` |\n| `CommunityToolkit.Aspire.Hosting.*` | `\u002Fintegrations\u002F{category}\u002F{tech}\u002F` |\n| `CommunityToolkit.Aspire.*` | `\u002Fintegrations\u002F{category}\u002F{tech}\u002F` |\n\n#### Technology categories\n\nThe documentation site organizes integrations into these categories:\n\n| Category path | Technologies |\n|---|---|\n| `\u002Fintegrations\u002Fai\u002F` | OpenAI, Ollama, Milvus, Qdrant |\n| `\u002Fintegrations\u002Fcaching\u002F` | Redis, Valkey, Garnet, Memcached |\n| `\u002Fintegrations\u002Fcloud\u002Fazure\u002F` | All Azure services |\n| `\u002Fintegrations\u002Fcompute\u002F` | Orleans, Dapr |\n| `\u002Fintegrations\u002Fdatabases\u002F` | PostgreSQL, SQL Server, MySQL, MongoDB, Cosmos DB, Oracle, Elasticsearch, Milvus, Qdrant |\n| `\u002Fintegrations\u002Fdatabases\u002Fefcore\u002F` | EF Core variants of database integrations |\n| `\u002Fintegrations\u002Fdevtools\u002F` | Developer tools and utilities |\n| `\u002Fintegrations\u002Fframeworks\u002F` | Framework integrations |\n| `\u002Fintegrations\u002Fmessaging\u002F` | Kafka, RabbitMQ, NATS, Azure Service Bus, Event Hubs |\n| `\u002Fintegrations\u002Fobservability\u002F` | OpenTelemetry, Seq, logging |\n| `\u002Fintegrations\u002Freverse-proxies\u002F` | YARP |\n| `\u002Fintegrations\u002Fsecurity\u002F` | Keycloak, Key Vault |\n\n#### URL resolution strategy\n\n1. Match against existing similar package mappings in `integration-docs.json`\n2. Infer from the package name and technology category\n3. **Verify the page exists** — check the file system under `src\u002Ffrontend\u002Fsrc\u002Fcontent\u002Fdocs\u002F`, then use Playwright CLI to confirm the route renders\n4. If no valid documentation page can be found, flag the package for manual review\n\n### 5. Generate API reference data\n\nAfter updating the integration catalog, regenerate the per-package API reference JSON files. The `generate-package-json.ps1` script automates this:\n\n```bash\ncd src\u002Ftools\u002FPackageJsonGenerator && pwsh .\u002Fgenerate-package-json.ps1\n```\n\nThe script performs the following for every package listed in `aspire-integrations.json`:\n\n1. Resolves the correct package source per package: official Aspire packages use the branch-specific release feed on `release\u002F*`, while Community Toolkit packages continue to use nuget.org.\n2. Queries that package source for the latest stable version (falls back to latest preview if no stable exists).\n3. Downloads the package into the local NuGet cache via `dotnet restore` if not already cached.\n   Provisioning SDK overlays restore with the same-version `Aspire.Hosting`\n   reference to model their AppHost context; other packages retain standalone\n   per-package restore graphs. Dependency errors remain fatal.\n   Restores run in parallel, up to 8 at a time by default (`-Parallelism` changes\n   the limit; `-Sequential` restores one package at a time). A failed `dotnet restore`\n   is attempted up to three times before the package counts as failed.\n4. Selects the best-matching target framework folder (prefers `net10.0`, then `net9.0`, etc.).\n5. Uses Roslyn to analyze the assembly and extract all public types, members, XML docs, and attributes.\n6. Writes a `{Package}.{Version}.json` file to `src\u002Ffrontend\u002Fsrc\u002Fdata\u002Fpkgs\u002F`.\n\nAn assembly that opts into an `AspireExportProvider` can expose generated ATS\nAPIs without public C# types. For those assemblies, the generator retains package\nidentity and provenance with `types: []` and `package.hasGeneratedExports: true`.\nThis record feeds TypeScript generation and requires a corresponding TypeScript\nmodule at semantic validation. It does not add an empty C# package to API navigation.\nBuild-only packages without public types or generated-export opt-ins remain explicit skips.\n\nThe generated JSON follows this schema:\n\n```json\n{\n  \"package\": {\n    \"name\": \"Aspire.Hosting.Redis\",\n    \"version\": \"13.1.2\",\n    \"targetFramework\": \"net10.0\"\n  },\n  \"types\": [\n    {\n      \"name\": \"TypeName\",\n      \"fullName\": \"Namespace.TypeName\",\n      \"namespace\": \"Namespace\",\n      \"kind\": \"class\",\n      \"accessibility\": \"public\",\n      \"members\": [ ... ],\n      \"docs\": { ... }\n    }\n  ]\n}\n```\n\nThese files are consumed by the `packages` content collection defined in `src\u002Ffrontend\u002Fsrc\u002Fcontent.config.ts` and used to render API reference pages at `\u002Freference\u002Fapi\u002F{package}\u002F{type}\u002F`.\n\n#### Selective regeneration\n\nTo regenerate API data for specific packages only:\n\n```bash\npwsh .\u002Fgenerate-package-json.ps1 -Packages @(\"Aspire.Hosting.Redis\", \"Aspire.Hosting.PostgreSQL\")\n```\n\n#### Targeting a different framework\n\nTo use a different target framework (e.g. `net10.0`):\n\n```bash\npwsh .\u002Fgenerate-package-json.ps1 -Framework \"net10.0\"\n```\n\n#### Handling failures\n\nThe script reports a summary of successes, failures, and skipped packages. Common reasons for skips or failures:\n\n- Package has no `lib\u002F` folder (meta-packages, build-only packages)\n- No DLLs found for the preferred TFM\n- NuGet API resolution failure\n\nPackages that fail should be investigated individually — they may need a different framework target or may not ship a public API surface.\nBecause restores are retried, a restore failure in the summary usually has a persistent cause, such as a pinned version that's no longer published on the package's feed.\n\nIf an official release feed is required but not yet publicly reachable, rerun with one of the release feed override environment variables set.\n\n### 5a. Generate TypeScript API reference data\n\nAfter updating `aspire-integrations.json`, regenerate the TypeScript API reference JSON files for the hosting packages that expose ATS capabilities:\n\n```bash\nbun run --cwd .\u002Fsrc\u002Ffrontend update:ts-api\n```\n\nThe companion `generate-ts-api-json.ps1` script reads the generated C# package JSON files in `src\u002Ffrontend\u002Fsrc\u002Fdata\u002Fpkgs\u002F`, selects `Aspire.Hosting`, `Aspire.Hosting.*`, and `CommunityToolkit.Aspire.Hosting.*` packages, and passes each package\u002Fversion through to `aspire sdk dump`. This keeps `src\u002Ffrontend\u002Fsrc\u002Fdata\u002Fts-modules\u002F` aligned with the same package set and versions that already flowed through C# API generation.\n\nRadius versions exporting the generic `IDotnetProgramResource` overload are\nscanned with `Aspire.Hosting.Dotnet` as supporting context. Its exact version\ncomes from the generated C# metadata, so the scanner can retain the export on\n`DotnetProjectResource` while the concrete overload serves legacy project\nresources. Generate the Dotnet module first when regenerating Radius selectively.\nThe transformer excludes core and supporting APIs using their generated modules;\nit preserves Radius's real capability IDs and expanded receiver targets.\nA scanner collision that removes the generic export must be fixed upstream,\nnot hidden by changing the C# metadata or weakening API-reference validation.\n\nFor generated-export overlays, the script also obtains the matching\n`aspire sdk export --language typescript` document. Referenced SDK enum definitions\nmissing from the raw dump are taken from that canonical export, with package identity\nand unambiguous ownership checks. Union members are preserved during transformation;\nmissing or unsupported enum definitions fail generation rather than becoming empty\ninterface stubs. Semantic validation checks enum members in the final Twoslash bundle.\nThe bundle represents enums as string unions with companion constant objects.\nWhen independent packages export the same enum short name, the shared bundle\ncombines their literals; each package's API JSON retains its exact enum surface.\nUse the package-specific SDK to validate behavior that depends on those differences.\nThe generator rejects nonzero SDK dump exits and error diagnostics even when a JSON\nfile was produced. An incomplete dump isn't a successful API-generation result.\nThe one exception is a known scanner defect: a method inherited by several proxy\ntypes is exported once per derived type under the base type's capability ID, and the\nscanner reports each collision as a `Duplicate capability` error. When a dump exits\nnonzero after writing its JSON, the script passes `--tolerate-known-scanner-diagnostics`\nto the transformer, which accepts only that diagnostic shape, and only when the dump's\n`HandleTypes` show that each defining type is, or derives from, the type that owns the\ncapability ID. Any other error diagnostic, or a nonzero exit without one, still fails the\npackage. The script lists tolerated diagnostics in its summary, and\n`update-integration-data.ps1` raises a CI warning and lists the affected packages in the\npull request body. Remove the tolerance\nonce the shipped Aspire CLI includes [microsoft\u002Faspire#20443](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Faspire\u002Fpull\u002F20443).\n\nPackages are generated in waves: `Aspire.Hosting` first, then packages that don't need\nsupporting scan context, then packages that do. Packages in a wave run concurrently,\nup to 8 at a time by default; set `ASPIRE_TS_API_PARALLELISM` to change the limit (`1`\nprocesses one package at a time). `-AspireRepoPath` runs always process one package at\na time because they build shared repo projects. Each `aspire` CLI call is limited to 10\nminutes and each helper tool call to 5 minutes. A dump or export that fails without\nproducing a result, for example after a timeout or a transient restore failure, is\nattempted up to three times.\n\nWhen a TypeScript module is regenerated for a new package version, stale `ts-modules` JSON files for older versions of that same package are deleted automatically. Regenerated modules with no functions or types are omitted from `src\u002Ffrontend\u002Fsrc\u002Fdata\u002Fts-modules\u002F`.\n\nAfter the JSON is refreshed, `update-ts-api` automatically chains `generate-twoslash-types.ts` to rebuild `src\u002Ffrontend\u002Fsrc\u002Fdata\u002Ftwoslash\u002Faspire.d.ts`. This bundle is source-controlled and its diff must be committed alongside the `ts-modules` JSON changes — without it, docs hover tooltips fall back to `any`. If you only need to refresh the bundle (e.g. after a generator script change) without running the full SDK dump, use:\n\n```bash\ncd src\u002Ffrontend && bun run twoslash-types\n```\n\n### 6. Verify all links\n\nFor every entry in the updated `integration-docs.json`:\n\n- **Site-relative links** must end with a trailing `\u002F`\n- **External links** (e.g., AWS docs) are allowed and should use full URLs\n- **All site-relative links must point to existing documentation pages** — check by verifying a corresponding `.mdx` file exists under `src\u002Ffrontend\u002Fsrc\u002Fcontent\u002Fdocs\u002F`\n\nDo not assume a page exists without verification.\n\n### 7. Save the result\n\nWrite the updated `integration-docs.json` maintaining consistent formatting (2-space indentation, trailing newline). The API reference JSON files in `src\u002Ffrontend\u002Fsrc\u002Fdata\u002Fpkgs\u002F` are written directly by the generation script and require no additional save step.\n\nRun the structured-data tests after changing the catalog or documentation map:\n\n```bash\nbun run --cwd .\u002Fsrc\u002Ffrontend test:unit:structured-data\n```\n\n## Entry format\n\nEach entry in `integration-docs.json` follows this structure:\n\n```json\n{\n  \"match\": \"Aspire.Hosting.Redis\",\n  \"href\": \"\u002Fintegrations\u002Fcaching\u002Fredis\u002Fredis-get-started\u002F\"\n}\n```\n\n- `match` — The exact NuGet package name (from the `title` field in `aspire-integrations.json`)\n- `href` — A site-relative path (with trailing `\u002F`) or an external URL\n\n## Handling unmapped packages\n\nWhen a package name has no clear documentation mapping:\n\n1. **Do not invent a URL** — only use paths that correspond to real pages\n2. **List the package** for manual review with a note explaining why no mapping was found\n3. These packages likely need new documentation pages written (hand off to the `doc-writer` skill)\n\n## Example output\n\nAfter running this skill, the agent should report:\n\n- Number of packages in `aspire-integrations.json`\n- Number of mapped entries in `integration-docs.json`\n- Any new mappings added\n- Any stale mappings removed\n- Any packages that could not be mapped (flagged for manual review)\n- Number of API reference JSON files generated (success \u002F failed \u002F skipped)\n- Any packages that failed API generation, with reasons\n- Confirmation that `src\u002Ffrontend\u002Fsrc\u002Fdata\u002Ftwoslash\u002Faspire.d.ts` was refreshed (and that the diff will be committed)\n","# Update Integration Documentation Links & API Reference Data\n\nThis skill synchronizes the integration package catalog with documentation URL mappings and generates per-package API reference schemas. It ensures every NuGet package listed in the integrations data file has a corresponding documentation link and an up-to-date API reference JSON file.\n\n> **Automation note:** The scheduled `update-integration-data` workflow (`.github\u002Fworkflows\u002Fupdate-integration-data.yml`) runs this update deterministically — no agent\u002FLLM. It executes `src\u002Ffrontend\u002Fscripts\u002Fupdate-integration-data.ps1`, which runs `bun run update:all`, detects `\"version\":` changes in `src\u002Ffrontend\u002Fsrc\u002Fdata\u002Faspire-integrations.json`, and — only when a version actually moves — runs the C# and TypeScript API regeneration (and the twoslash bundle) before opening or refreshing a PR via the Aspire bot GitHub App. That PR is approved and squash-merged automatically by `.github\u002Fpolicies\u002Fauto-merge.yml` once the required `ci-gate` check passes; removing its `:octocat: auto-merge` label holds it for manual review. You can reproduce the full flow locally with `pwsh src\u002Ffrontend\u002Fscripts\u002Fupdate-integration-data.ps1` (add `-SkipRegen` for a fast data-only run). Use this skill for **manual or one-off runs that need judgment** — for example: adding a new integration, reconciling `integration-docs.json`, validating release-branch feed resolution, troubleshooting a regen failure flagged by the workflow's PR, or regenerating data outside the scheduled cadence.\n\n## Overview\n\nThe automated flow also reconciles documentation mappings and runs `bun run test:unit:structured-data` before API regeneration or PR creation. This uses a data-only Vitest configuration so validation does not rewrite Astro's generated assets. Mapping changes are included in the generated PR.\n\nThe aspire.dev site maintains three key data locations:\n\n- **`src\u002Ffrontend\u002Fsrc\u002Fdata\u002Faspire-integrations.json`** — Package metadata fetched from the configured package feeds (titles, descriptions, icons, versions, download counts).\n- **`src\u002Ffrontend\u002Fsrc\u002Fdata\u002Fintegration-docs.json`** — Mappings from package names to site-relative documentation URLs.\n- **`src\u002Ffrontend\u002Fsrc\u002Fdata\u002Fpkgs\u002F`** — Per-package API reference JSON files (e.g. `Aspire.Hosting.Redis.13.1.2.json`) generated by the `PackageJsonGenerator` tool. These feed the auto-generated API reference pages at `\u002Freference\u002Fapi\u002F`.\n- **`src\u002Ffrontend\u002Fsrc\u002Fdata\u002Fts-modules\u002F`** — Per-package TypeScript API reference JSON files (e.g. `Aspire.Hosting.Redis.13.2.0.json`) generated by the `AtsJsonGenerator` tool. These feed the auto-generated TypeScript API reference pages at `\u002Freference\u002Fapi\u002Ftypescript\u002F`.\n- **`src\u002Ffrontend\u002Fsrc\u002Fdata\u002Ftwoslash\u002Faspire.d.ts`** — A single consolidated TypeScript declaration bundle generated from the `ts-modules` JSON by `scripts\u002Fgenerate-twoslash-types.ts`. Consumed by `expressive-code-twoslash` to provide hover tooltips for TypeScript code samples in the docs. **Source-controlled** — commit the diff whenever `ts-modules` changes.\n\nThis skill keeps the documentation mappings in sync with the package catalog and regenerates both the C# and TypeScript API reference data.\n\n## Prerequisites\n\n- Node.js installed and available on `PATH`\n- .NET SDK installed and available on `PATH` (required for the `PackageJsonGenerator` tool)\n- PowerShell (pwsh) available on `PATH` (for running the generation script)\n- Working directory is the repository root\n- The frontend project dependencies are installed (`bun install` in `src\u002Ffrontend\u002F`)\n\n### Release branch package source behavior\n\n- On `main` and all non-`release\u002F*` branches, official Aspire packages resolve from `https:\u002F\u002Fapi.nuget.org\u002Fv3\u002Findex.json`\n- On `release\u002F*` branches, official packages (`Aspire.*`) must resolve from the branch-specific public Azure Artifacts feed instead of nuget.org\n- Community Toolkit packages (`CommunityToolkit.Aspire.*`) always resolve from nuget.org\n- The branch name in this repo is expected to match the corresponding branch in `microsoft\u002Faspire` (for example `release\u002F13.2`)\n- The release feed name follows `darc-pub-microsoft-aspire-{shortSha}` where `{shortSha}` is the first 8 characters of the head commit SHA for the matching Aspire release branch\n- The automation derives the NuGet service index from that feed name as `https:\u002F\u002Fpkgs.dev.azure.com\u002Fdnceng\u002Fpublic\u002F_packaging\u002F{feed-name}\u002Fnuget\u002Fv3\u002Findex.json`\n\n#### Release feed resolution\n\nThe scripts use this precedence on `release\u002F*` branches:\n\n1. `ASPIRE_RELEASE_FEED_URL` — accepts the full NuGet service index URL, the Azure DevOps feed page URL, or the raw feed name\n2. `ASPIRE_RELEASE_FEED_NAME` — explicit feed name such as `darc-pub-microsoft-aspire-aad16017`\n3. `ASPIRE_RELEASE_COMMIT` \u002F `ASPIRE_RELEASE_COMMIT_SHA` — derives the feed name from the commit SHA prefix\n4. Automatic lookup of the matching branch head via `git ls-remote` against `https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Faspire`\n\nIf the Aspire release branch is not publicly reachable yet, set one of the override environment variables above. The scripts intentionally fail on `release\u002F*` if the official release feed cannot be resolved, to avoid accidentally ingesting stale nuget.org packages.\n\nWhen the commit-specific feed is unavailable but a shared feed contains the required\nbuild, set `ASPIRE_RELEASE_FEED_URL` and `ASPIRE_RELEASE_VERSION` together. The\nversion must be an exact package version matching the release branch, not a range.\nOfficial packages select only that version; Toolkit packages keep their normal\nnuget.org selection. Packages absent from that build retain an existing catalog\nentry, if any, rather than importing a different release. An unavailable pin for\nthe entire integration set, an unlisted\u002Fdeprecated pinned version, or a pinned\nregistration lookup failure stops the update before the catalog is written.\nSelected-version registration metadata supplies release descriptions and tags.\nWhere no published nuget.org icon metadata exists, the updater reports use of the\npublic Aspire site icon instead of embedding an unpublished or authenticated-feed\nimage URL.\n\nFor an app-managed worktree whose branch name is not `release\u002F*`, set\n`BUILD_SOURCEBRANCH=refs\u002Fheads\u002Frelease\u002FN.N` in the update process alongside those\noverrides. This supplies the existing branch-resolution context without renaming\nor switching the worktree. Do not set these variables globally. Review the\nresolved source and version before regeneration; C# and TypeScript generators\nconsume the resulting catalog's exact versions.\n\n## Step-by-Step Process\n\n### 1. Run the update script\n\nFetch the latest package data from the configured package feeds:\n\n```bash\nbun run --cwd .\u002Fsrc\u002Ffrontend update:integrations\n```\n\nThis writes updated package metadata to `src\u002Ffrontend\u002Fsrc\u002Fdata\u002Faspire-integrations.json`. The script queries the NuGet v3 API for packages matching `owner:aspire`, `Aspire.Hosting.`, and `CommunityToolkit.Aspire`, then filters out deprecated, unlisted, and excluded packages.\n\nIt also removes documentation mappings for Aspire and Community Toolkit packages absent from the updated catalog. Manually curated third-party mappings are preserved, and new documentation URLs still require manual resolution.\n\nOn `release\u002F*` branches, the script queries the branch-specific official Aspire feed for `Aspire.*` packages and continues to query nuget.org for `CommunityToolkit.Aspire.*` packages.\n\n### 2. Read the updated package data\n\nLoad `src\u002Ffrontend\u002Fsrc\u002Fdata\u002Faspire-integrations.json` and extract all package names from the `title` field of each entry in the JSON array.\n\n### 3. Update integration documentation mappings\n\nLoad `src\u002Ffrontend\u002Fsrc\u002Fdata\u002Fintegration-docs.json` and reconcile it with the package list:\n\n- **For each package name** (from `title` field) in `aspire-integrations.json`:\n  - Check if a matching entry exists in `integration-docs.json` (where `match` equals the package name)\n  - If an entry exists, verify the `href` is correct\n  - If no entry exists, determine the appropriate documentation URL\n\n- **Remove stale entries** for catalog-managed Aspire and Community Toolkit packages no longer in `aspire-integrations.json`. Preserve mappings for third-party packages outside the catalog's sources.\n\n- **Preserve existing correct mappings** — do not change entries that are already accurate\n\n### 4. Determining documentation URLs\n\nWhen a package has no existing mapping, determine the URL based on:\n\n#### Package name patterns\n\n| Package prefix | Documentation path pattern |\n|---|---|\n| `Aspire.Hosting.Azure.*` | `\u002Fintegrations\u002Fcloud\u002Fazure\u002F{service-name}\u002F` |\n| `Aspire.Azure.*` | `\u002Fintegrations\u002Fcloud\u002Fazure\u002F{service-name}\u002F` |\n| `Aspire.Hosting.{Tech}` | `\u002Fintegrations\u002F{category}\u002F{tech}\u002F` |\n| `Aspire.{Client}.{Driver}` | `\u002Fintegrations\u002F{category}\u002F{tech}\u002F` |\n| `CommunityToolkit.Aspire.Hosting.*` | `\u002Fintegrations\u002F{category}\u002F{tech}\u002F` |\n| `CommunityToolkit.Aspire.*` | `\u002Fintegrations\u002F{category}\u002F{tech}\u002F` |\n\n#### Technology categories\n\nThe documentation site organizes integrations into these categories:\n\n| Category path | Technologies |\n|---|---|\n| `\u002Fintegrations\u002Fai\u002F` | OpenAI, Ollama, Milvus, Qdrant |\n| `\u002Fintegrations\u002Fcaching\u002F` | Redis, Valkey, Garnet, Memcached |\n| `\u002Fintegrations\u002Fcloud\u002Fazure\u002F` | All Azure services |\n| `\u002Fintegrations\u002Fcompute\u002F` | Orleans, Dapr |\n| `\u002Fintegrations\u002Fdatabases\u002F` | PostgreSQL, SQL Server, MySQL, MongoDB, Cosmos DB, Oracle, Elasticsearch, Milvus, Qdrant |\n| `\u002Fintegrations\u002Fdatabases\u002Fefcore\u002F` | EF Core variants of database integrations |\n| `\u002Fintegrations\u002Fdevtools\u002F` | Developer tools and utilities |\n| `\u002Fintegrations\u002Fframeworks\u002F` | Framework integrations |\n| `\u002Fintegrations\u002Fmessaging\u002F` | Kafka, RabbitMQ, NATS, Azure Service Bus, Event Hubs |\n| `\u002Fintegrations\u002Fobservability\u002F` | OpenTelemetry, Seq, logging |\n| `\u002Fintegrations\u002Freverse-proxies\u002F` | YARP |\n| `\u002Fintegrations\u002Fsecurity\u002F` | Keycloak, Key Vault |\n\n#### URL resolution strategy\n\n1. Match against existing similar package mappings in `integration-docs.json`\n2. Infer from the package name and technology category\n3. **Verify the page exists** — check the file system under `src\u002Ffrontend\u002Fsrc\u002Fcontent\u002Fdocs\u002F`, then use Playwright CLI to confirm the route renders\n4. If no valid documentation page can be found, flag the package for manual review\n\n### 5. Generate API reference data\n\nAfter updating the integration catalog, regenerate the per-package API reference JSON files. The `generate-package-json.ps1` script automates this:\n\n```bash\ncd src\u002Ftools\u002FPackageJsonGenerator && pwsh .\u002Fgenerate-package-json.ps1\n```\n\nThe script performs the following for every package listed in `aspire-integrations.json`:\n\n1. Resolves the correct package source per package: official Aspire packages use the branch-specific release feed on `release\u002F*`, while Community Toolkit packages continue to use nuget.org.\n2. Queries that package source for the latest stable version (falls back to latest preview if no stable exists).\n3. Downloads the package into the local NuGet cache via `dotnet restore` if not already cached.\n   Provisioning SDK overlays restore with the same-version `Aspire.Hosting`\n   reference to model their AppHost context; other packages retain standalone\n   per-package restore graphs. Dependency errors remain fatal.\n   Restores run in parallel, up to 8 at a time by default (`-Parallelism` changes\n   the limit; `-Sequential` restores one package at a time). A failed `dotnet restore`\n   is attempted up to three times before the package counts as failed.\n4. Selects the best-matching target framework folder (prefers `net10.0`, then `net9.0`, etc.).\n5. Uses Roslyn to analyze the assembly and extract all public types, members, XML docs, and attributes.\n6. Writes a `{Package}.{Version}.json` file to `src\u002Ffrontend\u002Fsrc\u002Fdata\u002Fpkgs\u002F`.\n\nAn assembly that opts into an `AspireExportProvider` can expose generated ATS\nAPIs without public C# types. For those assemblies, the generator retains package\nidentity and provenance with `types: []` and `package.hasGeneratedExports: true`.\nThis record feeds TypeScript generation and requires a corresponding TypeScript\nmodule at semantic validation. It does not add an empty C# package to API navigation.\nBuild-only packages without public types or generated-export opt-ins remain explicit skips.\n\nThe generated JSON follows this schema:\n\n```json\n{\n  \"package\": {\n    \"name\": \"Aspire.Hosting.Redis\",\n    \"version\": \"13.1.2\",\n    \"targetFramework\": \"net10.0\"\n  },\n  \"types\": [\n    {\n      \"name\": \"TypeName\",\n      \"fullName\": \"Namespace.TypeName\",\n      \"namespace\": \"Namespace\",\n      \"kind\": \"class\",\n      \"accessibility\": \"public\",\n      \"members\": [ ... ],\n      \"docs\": { ... }\n    }\n  ]\n}\n```\n\nThese files are consumed by the `packages` content collection defined in `src\u002Ffrontend\u002Fsrc\u002Fcontent.config.ts` and used to render API reference pages at `\u002Freference\u002Fapi\u002F{package}\u002F{type}\u002F`.\n\n#### Selective regeneration\n\nTo regenerate API data for specific packages only:\n\n```bash\npwsh .\u002Fgenerate-package-json.ps1 -Packages @(\"Aspire.Hosting.Redis\", \"Aspire.Hosting.PostgreSQL\")\n```\n\n#### Targeting a different framework\n\nTo use a different target framework (e.g. `net10.0`):\n\n```bash\npwsh .\u002Fgenerate-package-json.ps1 -Framework \"net10.0\"\n```\n\n#### Handling failures\n\nThe script reports a summary of successes, failures, and skipped packages. Common reasons for skips or failures:\n\n- Package has no `lib\u002F` folder (meta-packages, build-only packages)\n- No DLLs found for the preferred TFM\n- NuGet API resolution failure\n\nPackages that fail should be investigated individually — they may need a different framework target or may not ship a public API surface.\nBecause restores are retried, a restore failure in the summary usually has a persistent cause, such as a pinned version that's no longer published on the package's feed.\n\nIf an official release feed is required but not yet publicly reachable, rerun with one of the release feed override environment variables set.\n\n### 5a. Generate TypeScript API reference data\n\nAfter updating `aspire-integrations.json`, regenerate the TypeScript API reference JSON files for the hosting packages that expose ATS capabilities:\n\n```bash\nbun run --cwd .\u002Fsrc\u002Ffrontend update:ts-api\n```\n\nThe companion `generate-ts-api-json.ps1` script reads the generated C# package JSON files in `src\u002Ffrontend\u002Fsrc\u002Fdata\u002Fpkgs\u002F`, selects `Aspire.Hosting`, `Aspire.Hosting.*`, and `CommunityToolkit.Aspire.Hosting.*` packages, and passes each package\u002Fversion through to `aspire sdk dump`. This keeps `src\u002Ffrontend\u002Fsrc\u002Fdata\u002Fts-modules\u002F` aligned with the same package set and versions that already flowed through C# API generation.\n\nRadius versions exporting the generic `IDotnetProgramResource` overload are\nscanned with `Aspire.Hosting.Dotnet` as supporting context. Its exact version\ncomes from the generated C# metadata, so the scanner can retain the export on\n`DotnetProjectResource` while the concrete overload serves legacy project\nresources. Generate the Dotnet module first when regenerating Radius selectively.\nThe transformer excludes core and supporting APIs using their generated modules;\nit preserves Radius's real capability IDs and expanded receiver targets.\nA scanner collision that removes the generic export must be fixed upstream,\nnot hidden by changing the C# metadata or weakening API-reference validation.\n\nFor generated-export overlays, the script also obtains the matching\n`aspire sdk export --language typescript` document. Referenced SDK enum definitions\nmissing from the raw dump are taken from that canonical export, with package identity\nand unambiguous ownership checks. Union members are preserved during transformation;\nmissing or unsupported enum definitions fail generation rather than becoming empty\ninterface stubs. Semantic validation checks enum members in the final Twoslash bundle.\nThe bundle represents enums as string unions with companion constant objects.\nWhen independent packages export the same enum short name, the shared bundle\ncombines their literals; each package's API JSON retains its exact enum surface.\nUse the package-specific SDK to validate behavior that depends on those differences.\nThe generator rejects nonzero SDK dump exits and error diagnostics even when a JSON\nfile was produced. An incomplete dump isn't a successful API-generation result.\nThe one exception is a known scanner defect: a method inherited by several proxy\ntypes is exported once per derived type under the base type's capability ID, and the\nscanner reports each collision as a `Duplicate capability` error. When a dump exits\nnonzero after writing its JSON, the script passes `--tolerate-known-scanner-diagnostics`\nto the transformer, which accepts only that diagnostic shape, and only when the dump's\n`HandleTypes` show that each defining type is, or derives from, the type that owns the\ncapability ID. Any other error diagnostic, or a nonzero exit without one, still fails the\npackage. The script lists tolerated diagnostics in its summary, and\n`update-integration-data.ps1` raises a CI warning and lists the affected packages in the\npull request body. Remove the tolerance\nonce the shipped Aspire CLI includes [microsoft\u002Faspire#20443](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Faspire\u002Fpull\u002F20443).\n\nPackages are generated in waves: `Aspire.Hosting` first, then packages that don't need\nsupporting scan context, then packages that do. Packages in a wave run concurrently,\nup to 8 at a time by default; set `ASPIRE_TS_API_PARALLELISM` to change the limit (`1`\nprocesses one package at a time). `-AspireRepoPath` runs always process one package at\na time because they build shared repo projects. Each `aspire` CLI call is limited to 10\nminutes and each helper tool call to 5 minutes. A dump or export that fails without\nproducing a result, for example after a timeout or a transient restore failure, is\nattempted up to three times.\n\nWhen a TypeScript module is regenerated for a new package version, stale `ts-modules` JSON files for older versions of that same package are deleted automatically. Regenerated modules with no functions or types are omitted from `src\u002Ffrontend\u002Fsrc\u002Fdata\u002Fts-modules\u002F`.\n\nAfter the JSON is refreshed, `update-ts-api` automatically chains `generate-twoslash-types.ts` to rebuild `src\u002Ffrontend\u002Fsrc\u002Fdata\u002Ftwoslash\u002Faspire.d.ts`. This bundle is source-controlled and its diff must be committed alongside the `ts-modules` JSON changes — without it, docs hover tooltips fall back to `any`. If you only need to refresh the bundle (e.g. after a generator script change) without running the full SDK dump, use:\n\n```bash\ncd src\u002Ffrontend && bun run twoslash-types\n```\n\n### 6. Verify all links\n\nFor every entry in the updated `integration-docs.json`:\n\n- **Site-relative links** must end with a trailing `\u002F`\n- **External links** (e.g., AWS docs) are allowed and should use full URLs\n- **All site-relative links must point to existing documentation pages** — check by verifying a corresponding `.mdx` file exists under `src\u002Ffrontend\u002Fsrc\u002Fcontent\u002Fdocs\u002F`\n\nDo not assume a page exists without verification.\n\n### 7. Save the result\n\nWrite the updated `integration-docs.json` maintaining consistent formatting (2-space indentation, trailing newline). The API reference JSON files in `src\u002Ffrontend\u002Fsrc\u002Fdata\u002Fpkgs\u002F` are written directly by the generation script and require no additional save step.\n\nRun the structured-data tests after changing the catalog or documentation map:\n\n```bash\nbun run --cwd .\u002Fsrc\u002Ffrontend test:unit:structured-data\n```\n\n## Entry format\n\nEach entry in `integration-docs.json` follows this structure:\n\n```json\n{\n  \"match\": \"Aspire.Hosting.Redis\",\n  \"href\": \"\u002Fintegrations\u002Fcaching\u002Fredis\u002Fredis-get-started\u002F\"\n}\n```\n\n- `match` — The exact NuGet package name (from the `title` field in `aspire-integrations.json`)\n- `href` — A site-relative path (with trailing `\u002F`) or an external URL\n\n## Handling unmapped packages\n\nWhen a package name has no clear documentation mapping:\n\n1. **Do not invent a URL** — only use paths that correspond to real pages\n2. **List the package** for manual review with a note explaining why no mapping was found\n3. These packages likely need new documentation pages written (hand off to the `doc-writer` skill)\n\n## Example output\n\nAfter running this skill, the agent should report:\n\n- Number of packages in `aspire-integrations.json`\n- Number of mapped entries in `integration-docs.json`\n- Any new mappings added\n- Any stale mappings removed\n- Any packages that could not be mapped (flagged for manual review)\n- Number of API reference JSON files generated (success \u002F failed \u002F skipped)\n- Any packages that failed API generation, with reasons\n- Confirmation that `src\u002Ffrontend\u002Fsrc\u002Fdata\u002Ftwoslash\u002Faspire.d.ts` was refreshed (and that the diff will be committed)\n",{"name":5,"description":7},"main","f05f5561b1b858344124cd848ff06469627d7e6e",".agents\u002Fskills\u002Fupdate-integrations",99,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Faspire.dev","https:\u002F\u002Faspire.dev","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-15 03:12:15",{"source":9,"skillName":5,"commands":67,"prompt":77,"zipAvailable":78},[68,71,74],{"tool":69,"command":70},"npx","npx skills add microsoft\u002Faspire.dev --skill update-integrations",{"tool":72,"command":73},"bunx","bunx skills add microsoft\u002Faspire.dev --skill update-integrations",{"tool":75,"command":76},"pnpm","pnpm dlx skills add microsoft\u002Faspire.dev --skill update-integrations","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Faspire.dev\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fupdate-integrations\u002FSKILL.md",true,[],[81,110,140,160,185,214],{"skillNo":82,"name":83,"nameZh":84,"description":85,"descriptionZh":86,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":87,"categories":88,"keywords":95,"publishedAt":51},"01M69B8W7K62DJP002TEBRZDTC","getting-started-with-aspire","Aspire 入门指南","Use this skill when a developer asks how to begin using Aspire — installing the Aspire CLI, creating a new Aspire app, running it locally, or finding the authoritative docs, integration catalog, or API reference on aspire.dev. Use it for questions like \"how do I install aspire?\", \"how do I create a new aspire app?\", \"how do I run my aspire app?\", or \"where is the documentation for aspire?\". Do not use it for operating an existing Aspire AppHost (use the official `aspire` skill at github.com\u002Fmicrosoft\u002Faspire\u002Ftree\u002Fmain\u002F.agents\u002Fskills\u002Faspire), authoring AppHost code, or adding integrations to an existing app.","当开发者询问如何开始使用 Aspire 时使用本技能——包括安装 Aspire CLI、创建新的 Aspire 应用、在本地运行，或在 aspire.dev 上查找权威文档、集成目录或 API 参考。适用于“如何安装 aspire？”“如何创建新的 aspire 应用？”“如何运行我的 aspire 应用？”“aspire 的文档在哪里？”等问题。不适用于：操作现有的 Aspire AppHost（使用 github.com\u002Fmicrosoft\u002Faspire\u002Ftree\u002Fmain\u002F.agents\u002Fskills\u002Faspire 上的官方 `aspire` 技能）、编写 AppHost 代码，或向现有应用添加集成。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Faspire.dev\u002Fblob\u002Fmain\u002Fsrc\u002Ffrontend\u002Fpublic\u002F.well-known\u002Fagent-skills\u002Fgetting-started-with-aspire\u002FSKILL.md",[89,92],{"categoryNo":90,"categoryName":91,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TM27KFNXBV69GEXBTVN","学习引导",{"categoryNo":93,"categoryName":94,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",[49,96,97,38,98,43,99,10,100,48,101,102,103,34,104,105,56,106,107,108,109,36,35],"getting started with aspire","getting started","cli","github","official","create","run","code","how","install","app","how to","operating","at",{"skillNo":111,"name":112,"nameZh":113,"description":114,"descriptionZh":115,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":116,"categories":117,"keywords":120,"publishedAt":51},"01M69B8R4MPE6HAYDV46VBB40J","whatsnew","Aspire 新特性发布说明编写","Step-argument skill that formalizes writing an Aspire \"What's new in N.N\" release-notes page (src\u002Ffrontend\u002Fsrc\u002Fcontent\u002Fdocs\u002Fwhats-new\u002Faspire-N-N.mdx) as a repeatable lifecycle. Invoke as `\u002Fwhatsnew {modality}` where modality is one of: draft\u002Fscaffold (init), research, critique, validate, polish, review. USE FOR: start\u002Fscaffold 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\u002Fvalidate 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.","这是一个带步骤参数的技能，将编写 Aspire “What's new in N.N” 发布说明页面（src\u002Ffrontend\u002Fsrc\u002Fcontent\u002Fdocs\u002Fwhats-new\u002Faspire-N-N.mdx）规范为一套可重复的生命周期流程。以 `\u002Fwhatsnew {modality}` 形式调用，其中 modality 为以下之一：draft\u002Fscaffold（init，初始化）、research（研究）、critique（评审）、validate（验证）、polish（润色）、review（审查）。适用于：为某个版本启动\u002F搭建新的“新特性”页面，将版本变更研究整理成资料档案并撰写草稿正文，评审草稿，对差异进行事实核查\u002F验证，润色并执行数据导入，或对 PR 做最终签核。不适用于：通用文档页面（使用 doc-writer）、审查任意文档 PR（使用 doc-pr-reviewer），或产品仓库的改动。编排的技能包括：doc-writer、doc-pr-reviewer、doc-tester、twoslash-validator、update-integrations、update-samples、container-images。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Faspire.dev\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwhatsnew\u002FSKILL.md",[118,119],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[112,121,122,123,43,124,125,126,127,49,128,129,102,32,130,131,132,133,134,135,136,137,138,139,35],"frontend","writing","review","research","init","validate","scaffold","notes","pr","release-notes","product","critique","reviewer","ingestion","images","writer","argument","validator","invoke",{"skillNo":141,"name":142,"nameZh":143,"description":144,"descriptionZh":145,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":146,"categories":147,"keywords":152,"publishedAt":51},"01M69B8ND3PR8M9EEKC2TQ94G2","update-samples","Aspire 示例数据同步","Update the samples data file by fetching sample metadata from the microsoft\u002Faspire-samples GitHub repository. Use when adding new samples, refreshing sample data, or ensuring samples.json stays in sync with the upstream repo.","通过从 microsoft\u002Faspire-samples GitHub 仓库获取示例元数据来更新示例数据文件。在添加新示例、刷新示例数据，或确保 samples.json 与上游仓库保持同步时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Faspire.dev\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fupdate-samples\u002FSKILL.md",[148,149],{"categoryNo":93,"categoryName":94,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":150,"categoryName":151,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSYDSNXQT2W2GMZGF0ZHH4","示例与演示技能",[153,32,99,10,50,49,154,155,156,44,42,157,41,158,159,38,36,35],"update samples","metadata","file","repository","repo","upstream","sample",{"skillNo":161,"name":162,"nameZh":163,"description":164,"descriptionZh":165,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":166,"categories":167,"keywords":172,"publishedAt":51},"01M69B8F4MQJEG381FDZZ32AW4","twoslash-validator","Twoslash 示例校验与修复","Validate and fix two-slash TypeScript examples for aspire.dev. Use when adding or editing `twoslash` code fences, TypeScript AppHost samples, generated TypeScript API data, or failures from `bun run test:unit:twoslash-blocks`.","为 aspire.dev 校验并修复双斜杠（twoslash）TypeScript 示例。在添加或编辑 `twoslash` 代码块、TypeScript AppHost 示例、生成的 TypeScript API 数据，或处理 `bun run test:unit:twoslash-blocks` 的失败时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Faspire.dev\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftwoslash-validator\u002FSKILL.md",[168,169],{"categoryNo":93,"categoryName":94,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":170,"categoryName":171,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BT7QVANT4709358VEJK53E","代码实现",[173,138,174,175,126,49,102,103,176,177,34,178,179,180,41,181,182,183,184,36],"twoslash validator","typescript","test","dev","examples","editing","generated","fix","bun","unit","blocks","for",{"skillNo":186,"name":187,"nameZh":188,"description":189,"descriptionZh":190,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":191,"categories":192,"keywords":199,"publishedAt":51},"01M69B8CEPDW2FFXZ89YE4F4T3","playwright-cli","Playwright 浏览器自动化测试","Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.","自动化浏览器交互，用于 Web 测试、表单填写、截图和数据提取。当用户需要浏览网站、与网页交互、填写表单、截取截图、测试 Web 应用或从网页提取信息时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Faspire.dev\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fplaywright-cli\u002FSKILL.md",[193,196],{"categoryNo":194,"categoryName":195,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师",{"categoryNo":197,"categoryName":198,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障",[98,200,201,202,203,175,204,205,44,206,41,207,208,209,210,211,212,38,184,213,36],"playwright","playwright cli","testing","screenshots","web","browser","applications","take","test web","forms","pages","form","information","navigate",{"skillNo":215,"name":216,"nameZh":217,"description":218,"descriptionZh":219,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":220,"categories":221,"keywords":226,"publishedAt":51},"01M69B89R72XJT8JP8JZRGCV0C","hex1b","终端应用自动化操作","CLI tool for automating any terminal application — TUI apps, shells, CLI tools, REPLs, and more. Use when you need to launch a process in a virtual terminal, capture its screen output, inject keystrokes or mouse input, take screenshots, record sessions, or assert on what's visible.","用于自动化任何终端应用程序的 CLI 工具——TUI 应用、shell、CLI 工具、REPL 等。当需要在虚拟终端中启动进程、捕获其屏幕输出、注入键盘或鼠标输入、截取屏幕截图、录制会话或对可见内容进行断言时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Faspire.dev\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fhex1b\u002FSKILL.md",[222,223],{"categoryNo":93,"categoryName":94,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":224,"categoryName":225,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH2SFTXSGVVGVBMDTMWK","桌面自动化与界面操作",[216,203,98,227,228,229,230,231,232,41,207,233,234,235,236,237,238,239,240,184,36],"terminal","launch","sessions","Tools","tool","virtual","record","apps","screen","input","cli tool","output","you","more"]