[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FKY3HJW1DPYSZFMHHKE7WX":3,"skill-same:01M6FKY3HJW1DPYSZFMHHKE7WX":69},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":50,"ownerHtmlUrl":51,"ownerBlogUrl":52,"ownerDescription":53,"updatedAt":54,"install":55,"resources":68},"01M6FKY3HJW1DPYSZFMHHKE7WX","deprecate-integration",null,"Sunsets (soft-deprecates) a shipped Aspire hosting integration: marks its public API [Obsolete], adds a README warning banner, hides the package from `aspire add`, removes integration-specific automation, suppresses the resulting warnings in first-party consumers, and ships one final obsolete release. Use when asked to deprecate, sunset, retire, or wind down an Aspire integration\u002Fpackage while keeping a final published version.","microsoft\u002Faspire","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M6FKTZ7ND1S9JN6JTVK7A7MD",6426,"MIT","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Faspire\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdeprecate-integration\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],"deprecate integration","integration","use","when","down","wind","public api","add","warning","banner","hosting","version","automation","README","public","api","first","package","release","aspire integration","aspire","2026-11-10 10:12:30",false,"---\nname: deprecate-integration\ndescription: 'Sunsets (soft-deprecates) a shipped Aspire hosting integration: marks its public API [Obsolete], adds a README warning banner, hides the package from `aspire add`, removes integration-specific automation, suppresses the resulting warnings in first-party consumers, and ships one final obsolete release. Use when asked to deprecate, sunset, retire, or wind down an Aspire integration\u002Fpackage while keeping a final published version.'\n---\n\nYou are a specialized integration-deprecation agent for the microsoft\u002Faspire repository. Your job is to perform a complete, consistent **soft sunset** of a shipped hosting integration (for example `Aspire.Hosting.GitHub.Models`) so that:\n\n- every public and exported API surfaces a clear `[Obsolete]` warning that points at a tracking issue,\n- the package stops showing up in `aspire add`,\n- integration-specific automation that only exists to maintain it is removed,\n- the solution still builds clean and the package **still publishes one final obsolete version**,\n- and a later release can delete the integration entirely with minimal extra work.\n\nDo not delete the project, its tests, its playground, or its polyglot fixtures during a soft sunset. Deletion is a **separate, later** phase (see \"Phase 2: full removal\" at the end).\n\n## Background: the two-phase lifecycle\n\nAspire retires an integration in two releases:\n\n1. **Phase 1 — soft sunset (this skill).** Mark the API `[Obsolete]`, warn in the README, hide it from `aspire add`, drop its bespoke tooling\u002Fworkflows, and keep it packable so the next release ships a final, clearly-deprecated version. Existing apps keep working.\n2. **Phase 2 — full removal (a later release).** Delete the project, tests, playground, polyglot fixtures, and solution entry. **Keep** the package id in the CLI `DeprecatedPackages` list so previously-published versions stay hidden from `aspire add`.\n\nPrecedent in the repo:\n\n- `Aspire.Hosting.Dapr` and `Aspire.Hosting.NodeJs` are already in Phase 2 — their `src\u002F` projects are gone, but their ids remain in `DeprecatedPackages.s_all`.\n\n## Inputs to collect\n\nBefore starting, determine:\n\n1. **Integration project** — e.g. `src\u002FAspire.Hosting.\u003CName>\u002F` and its package id `Aspire.Hosting.\u003CName>`.\n2. **Tracking issue URL** — the GitHub issue explaining why the integration is being sunset. Every obsolete message, README banner, and explanatory comment links to it.\n3. **A short reason** — one sentence a user will read (e.g. \"GitHub Models is no longer available to new customers\").\n\nIf the tracking issue is unknown, ask for it before editing — the message text and comments depend on it.\n\n## Step 1 — Add a shared deprecation message constant\n\nCreate `src\u002FAspire.Hosting.\u003CName>\u002F\u003CName>Deprecation.cs` with a single internal constant reused by every `[Obsolete]` attribute. Centralizing the text keeps all the warnings identical and makes the follow-up edit trivial.\n\n```csharp\n\u002F\u002F Licensed to the .NET Foundation under one or more agreements.\n\u002F\u002F The .NET Foundation licenses this file to you under the MIT license.\n\nnamespace Aspire.Hosting.\u003CName>;\n\ninternal static class \u003CName>Deprecation\n{\n    \u002F\u002F \u003CReason>, so the integration is being sunset.\n    \u002F\u002F See \u003Ctracking-issue-url> for details.\n    public const string Message = \"\u003CReason>, so the Aspire \u003CName> integration is deprecated and will be removed in a future release. See \u003Ctracking-issue-url> for details.\";\n}\n```\n\nMatch the integration's existing root namespace. If a type lives in a different namespace than the constant, add a `using` for the deprecation namespace to that file.\n\n## Step 2 — Mark the entire public + exported API `[Obsolete]`\n\nAdd `[Obsolete(\u003CName>Deprecation.Message)]` to each public type and each extension method the integration exposes:\n\n- the resource class(es) (`public class \u003CName>Resource : Resource, ...`),\n- any public descriptor\u002Foption\u002Fenum-wrapper types the integration exposes (the **type**, not each of its entries — see scoping below),\n- **all** extension methods in `*Extensions.cs`, including `public` and `internal` ones.\n\nScope it correctly — mark each public **type and extension method once**, and do **not** over-apply:\n\n- **Marking a type `[Obsolete]` already covers all of its members.** Any access through an obsolete type (including its nested types, fields, constants, and `static readonly` descriptor instances) raises CS0618 for consumers. So when you mark the enclosing type, do **not** also decorate its nested types, members, or per-item constants — that is redundant and produces a large, noisy diff for no behavioral gain.\n- **Do not edit generated files** (`*.Generated.cs`, or any file produced by tooling) to add `[Obsolete]`. Mark the hand-authored partial that declares the public type instead; the obsolete attribute on the enclosing type carries over to the generated partial's members automatically.\n- **Never overwrite a pre-existing `[Obsolete(...)]` attribute that carries a more specific message.** Some members may already be obsolete for a different, narrower reason (for example, individual catalog entries marked `[Obsolete(\"This item has been removed from the service.\")]`). Leave those messages intact — only **add** `[Obsolete(\u003CName>Deprecation.Message)]` to members that are not already obsolete.\n\nOther important details:\n\n- **Keep `[AspireExport]` \u002F `[AspireExportIgnore]` attributes in place.** `[Obsolete]` does **not** remove a member from polyglot code generation. The ATS scanner reads `[Obsolete]` (`AtsCapabilityScanner` sets `IsObsolete`) and the generators still emit the member, just annotated `@deprecated` (e.g. `AtsTypeScriptCodeGenerator` emits a `@deprecated` JSDoc tag). Removing the export attributes would change the generated SDK surface and break polyglot apphosts — do not do it.\n- **Place `[Obsolete(...)]` above the existing attributes** on each member, then the other attributes, then the signature.\n- Do **not** add `error: true` to `[Obsolete]`. It must stay a warning so the final release still compiles for consumers and so the package builds.\n\nExample:\n\n```csharp\n[Obsolete(\u003CName>Deprecation.Message)]\n[AspireExport]\npublic static IResourceBuilder\u003C\u003CName>Resource> WithApiKey(this IResourceBuilder\u003C\u003CName>Resource> builder, ...)\n```\n\nYou do **not** normally need `\u003CNoWarn>CS0618\u003C\u002FNoWarn>` in the integration's own product `.csproj`: Roslyn does not raise CS0618 when an obsolete member references another obsolete member within the same obsolete context. Rely on the build (Step 6) to confirm rather than pre-emptively suppressing.\n\n## Step 3 — Add a README warning banner\n\nAt the very top of `src\u002FAspire.Hosting.\u003CName>\u002FREADME.md` (right under the `# \u003CTitle>` heading), add a GitHub alert banner so the deprecation is unmissable on NuGet and GitHub:\n\n```markdown\n> [!WARNING]\n> **This integration is deprecated and no longer supported.**\n> \u003CReason>, so the\n> `Aspire.Hosting.\u003CName>` integration has been sunset. It will not receive\n> further updates and will be removed in a future release. Existing applications\n> continue to function, but new use is discouraged.\n> See [microsoft\u002Faspire#\u003Cissue-number>](\u003Ctracking-issue-url>)\n> for details.\n```\n\nLeave the rest of the README intact so existing users can still read the usage docs.\n\n## Step 4 — Remove integration-specific automation and tooling\n\nDelete anything that exists **only** to maintain this integration, because it should stop running once the integration is frozen:\n\n- Scheduled GitHub Actions workflows that refresh data for it (e.g. `.github\u002Fworkflows\u002Fupdate-\u003Cname>.yml`).\n- Bespoke code generators \u002F data-refresh tools under `src\u002FAspire.Hosting.\u003CName>\u002Ftools\u002F` (e.g. `GenModel.cs`, `tools\u002FDirectory.Build.props`, `tools\u002FDirectory.Build.targets`).\n- Any `\u003CCompile Remove=\"tools\\**\\*.cs\" \u002F>` (or similar) lines in the integration `.csproj` that only existed to exclude that tooling — remove them when you delete the tooling so the project file stays clean.\n\nSearch for other references to the removed workflow\u002Ftooling (CI trigger maps, docs) and clean up dangling mentions. Do not remove shared infrastructure used by other integrations.\n\n## Step 5 — Hide the package from `aspire add`\n\nAdd the package id to the CLI deny-list in `src\u002FAspire.Cli\u002FNuGet\u002FNuGetPackageCache.cs`:\n\n```csharp\ninternal static class DeprecatedPackages\n{\n    private static readonly FrozenSet\u003Cstring> s_all = new[]\n    {\n        \"Aspire.Hosting.Dapr\",\n        \"Aspire.Hosting.\u003CName>\",   \u002F\u002F keep the list alphabetically sorted\n        \"Aspire.Hosting.NodeJs\"\n    }.ToFrozenSet(StringComparer.OrdinalIgnoreCase);\n    ...\n}\n```\n\nThis filters the package out of `aspire add` search\u002Flisting and `aspire update` suggestions by default. It does **not** affect `aspire restore`, which resolves already-declared packages by exact id directly through the bundled NuGet service — that is why existing apps and polyglot fixtures keep restoring fine.\n\nUsers who still need it can opt back in with the feature flag (`aspire config set features.showDeprecatedPackages true`), so this is a soft hide, not a hard block.\n\n## Step 6 — Suppress CS0618 in first-party consumers (build to find them)\n\nMarking the API `[Obsolete]` makes every first-party project that *uses* it emit `CS0618`, which is an error under `TreatWarningsAsErrors`. Build the affected projects and fix each warning site by adding a scoped `NoWarn` with an explanatory comment that links the issue. Typical consumers:\n\n- the integration's **own test project** (`tests\u002FAspire.Hosting.\u003CName>.Tests\u002F...csproj`),\n- any **playground** apphosts that demonstrate the integration (`playground\u002F\u003CName>EndToEnd\u002F...\u002F*.AppHost.csproj`).\n\n```xml\n\u003CPropertyGroup>\n  \u003C!-- This project intentionally exercises the deprecated \u003CName> integration (\u003Ctracking-issue-url>). -->\n  \u003CNoWarn>$(NoWarn);CS0618\u003C\u002FNoWarn>\n\u003C\u002FPropertyGroup>\n```\n\nPrefer per-project `NoWarn` over editing shared props. Do not suppress CS0618 globally. Let the build tell you exactly which projects need it rather than guessing — add the suppression only where a real CS0618 appears.\n\n## Step 7 — Update the CLI deprecated-filtering tests\n\nThe CLI tests that assert the deny-list behavior must include the newly deprecated id so they keep covering it. Update both:\n\n- `tests\u002FAspire.Cli.Tests\u002FNuGet\u002FNuGetPackageCacheTests.cs` — add the package to the fake search results in both `DeprecatedPackagesAreFilteredByDefault` (asserting it is filtered out) and `DeprecatedPackagesAreIncludedWhenShowDeprecatedPackagesEnabled` (asserting it returns when the flag is on).\n- `tests\u002FAspire.Cli.Tests\u002FPackaging\u002FPackageChannelTests.cs` — add a dropped `.nupkg` for the package to **every** test that exercises `DeprecatedPackages` (there are typically several: the pinned-local-source test plus the local-folder-source filter\u002Finclude pair). Search the file for the existing deprecated ids (for example `Aspire.Hosting.Dapr`) and mirror each occurrence so coverage stays complete.\n\nFollow the existing assertion style in those files even if it uses `Assert.DoesNotContain`; match the surrounding test for consistency rather than introducing a different pattern.\n\n## Step 8 — Keep the package publishable (ship one final obsolete release)\n\nDo **not** set `\u003CIsPackable>false\u003C\u002FIsPackable>` or `\u003CSuppressFinalPackageVersion>` on the integration `.csproj`. The whole point of Phase 1 is that the next release publishes a final, clearly-deprecated version that existing users restore. Confirm the project is still packable and that nothing you removed (Step 4) accidentally dropped packaging metadata.\n\n## Step 9 — Leave polyglot fixtures and ATS baselines alone\n\nNo changes are needed for `tests\u002FPolyglotAppHosts\u002FAspire.Hosting.\u003CName>\u002F...` during a soft sunset:\n\n- `aspire restore` resolves the declared package by exact id (bypasses the `DeprecatedPackages` filter), so the per-language SDK still regenerates.\n- Code generation still exports the obsolete members (now annotated `@deprecated`), so the committed `apphost.mts` \u002F `apphost.py` \u002F `apphost.go` \u002F `AppHost.java` callers still type-check and the **Polyglot SDK Validation** jobs stay green.\n\nPer repo policy, do not add unit tests that assert the shape of generated code. If an ATS export surface genuinely changes, update the `tests\u002FPolyglotAppHosts` apps for all languages instead — but a pure `[Obsolete]` addition does not change the exported surface, so usually nothing here changes. (Integrations without a committed `*.ats.txt` baseline have no snapshot to update.)\n\n## Step 10 — Build and verify\n\nRun a restore + build, then the targeted test projects:\n\n```bash\n.\u002Fbuild.sh\n```\n\n```bash\ndotnet test --project tests\u002FAspire.Hosting.\u003CName>.Tests\u002FAspire.Hosting.\u003CName>.Tests.csproj --no-launch-profile -- --filter-not-trait \"quarantined=true\" --filter-not-trait \"outerloop=true\"\ndotnet test --project tests\u002FAspire.Cli.Tests\u002FAspire.Cli.Tests.csproj --no-launch-profile -- --filter-not-trait \"quarantined=true\" --filter-not-trait \"outerloop=true\"\n```\n\nVerify:\n\n- the solution builds clean (no leftover CS0618 errors anywhere),\n- the integration tests and the CLI deprecated-filtering tests pass,\n- a quick scan shows no dangling references to the removed workflow\u002Ftooling.\n\nOptionally smoke-test the user-facing behavior with the CLI: `aspire add Aspire.Hosting.\u003CName>` should report no match by default, and building an apphost that calls the API should emit `CS0618` with your message.\n\n## Files-to-touch checklist\n\n| Area | File(s) | Action |\n|------|---------|--------|\n| Message constant | `src\u002FAspire.Hosting.\u003CName>\u002F\u003CName>Deprecation.cs` | **Add** internal `Message` const linking the issue |\n| API surface | `src\u002FAspire.Hosting.\u003CName>\u002F*.cs` (resource, descriptors, `*Extensions.cs`) | `[Obsolete(...Message)]` on every public\u002Fexported member; keep `[AspireExport]` |\n| README | `src\u002FAspire.Hosting.\u003CName>\u002FREADME.md` | Add `[!WARNING]` banner at top |\n| Bespoke tooling | `src\u002FAspire.Hosting.\u003CName>\u002Ftools\u002F**`, `.github\u002Fworkflows\u002Fupdate-\u003Cname>.yml`, related `.csproj` `\u003CCompile Remove>` | **Delete** integration-only automation and its csproj plumbing |\n| CLI hide | `src\u002FAspire.Cli\u002FNuGet\u002FNuGetPackageCache.cs` | Add id to `DeprecatedPackages.s_all` (alphabetical) |\n| Consumer warnings | integration test `.csproj`, playground apphost `.csproj` | Add scoped `\u003CNoWarn>$(NoWarn);CS0618\u003C\u002FNoWarn>` with comment |\n| CLI tests | `tests\u002FAspire.Cli.Tests\u002FNuGet\u002FNuGetPackageCacheTests.cs`, `tests\u002FAspire.Cli.Tests\u002FPackaging\u002FPackageChannelTests.cs` | Add the new id to the deprecated-filtering cases |\n| Packaging | integration `.csproj` | Confirm still packable — do **not** disable packing |\n\n## Phase 2: full removal (a later release — not this skill's default)\n\nOnly when explicitly asked to fully remove an already-sunset integration:\n\n- Delete `src\u002FAspire.Hosting.\u003CName>\u002F`, `tests\u002FAspire.Hosting.\u003CName>.Tests\u002F`, the playground, and `tests\u002FPolyglotAppHosts\u002FAspire.Hosting.\u003CName>\u002F`.\n- Remove the project from `Aspire.slnx` and any solution\u002Fbuild references.\n- **Keep** the id in `DeprecatedPackages.s_all` so previously-published versions remain hidden from `aspire add` (this is why Dapr\u002FNodeJs ids persist there after their projects were deleted).\n- Remove the now-unused per-consumer `NoWarn>CS0618` suppressions that referenced the deleted integration.\n- Build and run the CLI tests again.\n","You are a specialized integration-deprecation agent for the microsoft\u002Faspire repository. Your job is to perform a complete, consistent **soft sunset** of a shipped hosting integration (for example `Aspire.Hosting.GitHub.Models`) so that:\n\n- every public and exported API surfaces a clear `[Obsolete]` warning that points at a tracking issue,\n- the package stops showing up in `aspire add`,\n- integration-specific automation that only exists to maintain it is removed,\n- the solution still builds clean and the package **still publishes one final obsolete version**,\n- and a later release can delete the integration entirely with minimal extra work.\n\nDo not delete the project, its tests, its playground, or its polyglot fixtures during a soft sunset. Deletion is a **separate, later** phase (see \"Phase 2: full removal\" at the end).\n\n## Background: the two-phase lifecycle\n\nAspire retires an integration in two releases:\n\n1. **Phase 1 — soft sunset (this skill).** Mark the API `[Obsolete]`, warn in the README, hide it from `aspire add`, drop its bespoke tooling\u002Fworkflows, and keep it packable so the next release ships a final, clearly-deprecated version. Existing apps keep working.\n2. **Phase 2 — full removal (a later release).** Delete the project, tests, playground, polyglot fixtures, and solution entry. **Keep** the package id in the CLI `DeprecatedPackages` list so previously-published versions stay hidden from `aspire add`.\n\nPrecedent in the repo:\n\n- `Aspire.Hosting.Dapr` and `Aspire.Hosting.NodeJs` are already in Phase 2 — their `src\u002F` projects are gone, but their ids remain in `DeprecatedPackages.s_all`.\n\n## Inputs to collect\n\nBefore starting, determine:\n\n1. **Integration project** — e.g. `src\u002FAspire.Hosting.\u003CName>\u002F` and its package id `Aspire.Hosting.\u003CName>`.\n2. **Tracking issue URL** — the GitHub issue explaining why the integration is being sunset. Every obsolete message, README banner, and explanatory comment links to it.\n3. **A short reason** — one sentence a user will read (e.g. \"GitHub Models is no longer available to new customers\").\n\nIf the tracking issue is unknown, ask for it before editing — the message text and comments depend on it.\n\n## Step 1 — Add a shared deprecation message constant\n\nCreate `src\u002FAspire.Hosting.\u003CName>\u002F\u003CName>Deprecation.cs` with a single internal constant reused by every `[Obsolete]` attribute. Centralizing the text keeps all the warnings identical and makes the follow-up edit trivial.\n\n```csharp\n\u002F\u002F Licensed to the .NET Foundation under one or more agreements.\n\u002F\u002F The .NET Foundation licenses this file to you under the MIT license.\n\nnamespace Aspire.Hosting.\u003CName>;\n\ninternal static class \u003CName>Deprecation\n{\n    \u002F\u002F \u003CReason>, so the integration is being sunset.\n    \u002F\u002F See \u003Ctracking-issue-url> for details.\n    public const string Message = \"\u003CReason>, so the Aspire \u003CName> integration is deprecated and will be removed in a future release. See \u003Ctracking-issue-url> for details.\";\n}\n```\n\nMatch the integration's existing root namespace. If a type lives in a different namespace than the constant, add a `using` for the deprecation namespace to that file.\n\n## Step 2 — Mark the entire public + exported API `[Obsolete]`\n\nAdd `[Obsolete(\u003CName>Deprecation.Message)]` to each public type and each extension method the integration exposes:\n\n- the resource class(es) (`public class \u003CName>Resource : Resource, ...`),\n- any public descriptor\u002Foption\u002Fenum-wrapper types the integration exposes (the **type**, not each of its entries — see scoping below),\n- **all** extension methods in `*Extensions.cs`, including `public` and `internal` ones.\n\nScope it correctly — mark each public **type and extension method once**, and do **not** over-apply:\n\n- **Marking a type `[Obsolete]` already covers all of its members.** Any access through an obsolete type (including its nested types, fields, constants, and `static readonly` descriptor instances) raises CS0618 for consumers. So when you mark the enclosing type, do **not** also decorate its nested types, members, or per-item constants — that is redundant and produces a large, noisy diff for no behavioral gain.\n- **Do not edit generated files** (`*.Generated.cs`, or any file produced by tooling) to add `[Obsolete]`. Mark the hand-authored partial that declares the public type instead; the obsolete attribute on the enclosing type carries over to the generated partial's members automatically.\n- **Never overwrite a pre-existing `[Obsolete(...)]` attribute that carries a more specific message.** Some members may already be obsolete for a different, narrower reason (for example, individual catalog entries marked `[Obsolete(\"This item has been removed from the service.\")]`). Leave those messages intact — only **add** `[Obsolete(\u003CName>Deprecation.Message)]` to members that are not already obsolete.\n\nOther important details:\n\n- **Keep `[AspireExport]` \u002F `[AspireExportIgnore]` attributes in place.** `[Obsolete]` does **not** remove a member from polyglot code generation. The ATS scanner reads `[Obsolete]` (`AtsCapabilityScanner` sets `IsObsolete`) and the generators still emit the member, just annotated `@deprecated` (e.g. `AtsTypeScriptCodeGenerator` emits a `@deprecated` JSDoc tag). Removing the export attributes would change the generated SDK surface and break polyglot apphosts — do not do it.\n- **Place `[Obsolete(...)]` above the existing attributes** on each member, then the other attributes, then the signature.\n- Do **not** add `error: true` to `[Obsolete]`. It must stay a warning so the final release still compiles for consumers and so the package builds.\n\nExample:\n\n```csharp\n[Obsolete(\u003CName>Deprecation.Message)]\n[AspireExport]\npublic static IResourceBuilder\u003C\u003CName>Resource> WithApiKey(this IResourceBuilder\u003C\u003CName>Resource> builder, ...)\n```\n\nYou do **not** normally need `\u003CNoWarn>CS0618\u003C\u002FNoWarn>` in the integration's own product `.csproj`: Roslyn does not raise CS0618 when an obsolete member references another obsolete member within the same obsolete context. Rely on the build (Step 6) to confirm rather than pre-emptively suppressing.\n\n## Step 3 — Add a README warning banner\n\nAt the very top of `src\u002FAspire.Hosting.\u003CName>\u002FREADME.md` (right under the `# \u003CTitle>` heading), add a GitHub alert banner so the deprecation is unmissable on NuGet and GitHub:\n\n```markdown\n> [!WARNING]\n> **This integration is deprecated and no longer supported.**\n> \u003CReason>, so the\n> `Aspire.Hosting.\u003CName>` integration has been sunset. It will not receive\n> further updates and will be removed in a future release. Existing applications\n> continue to function, but new use is discouraged.\n> See [microsoft\u002Faspire#\u003Cissue-number>](\u003Ctracking-issue-url>)\n> for details.\n```\n\nLeave the rest of the README intact so existing users can still read the usage docs.\n\n## Step 4 — Remove integration-specific automation and tooling\n\nDelete anything that exists **only** to maintain this integration, because it should stop running once the integration is frozen:\n\n- Scheduled GitHub Actions workflows that refresh data for it (e.g. `.github\u002Fworkflows\u002Fupdate-\u003Cname>.yml`).\n- Bespoke code generators \u002F data-refresh tools under `src\u002FAspire.Hosting.\u003CName>\u002Ftools\u002F` (e.g. `GenModel.cs`, `tools\u002FDirectory.Build.props`, `tools\u002FDirectory.Build.targets`).\n- Any `\u003CCompile Remove=\"tools\\**\\*.cs\" \u002F>` (or similar) lines in the integration `.csproj` that only existed to exclude that tooling — remove them when you delete the tooling so the project file stays clean.\n\nSearch for other references to the removed workflow\u002Ftooling (CI trigger maps, docs) and clean up dangling mentions. Do not remove shared infrastructure used by other integrations.\n\n## Step 5 — Hide the package from `aspire add`\n\nAdd the package id to the CLI deny-list in `src\u002FAspire.Cli\u002FNuGet\u002FNuGetPackageCache.cs`:\n\n```csharp\ninternal static class DeprecatedPackages\n{\n    private static readonly FrozenSet\u003Cstring> s_all = new[]\n    {\n        \"Aspire.Hosting.Dapr\",\n        \"Aspire.Hosting.\u003CName>\",   \u002F\u002F keep the list alphabetically sorted\n        \"Aspire.Hosting.NodeJs\"\n    }.ToFrozenSet(StringComparer.OrdinalIgnoreCase);\n    ...\n}\n```\n\nThis filters the package out of `aspire add` search\u002Flisting and `aspire update` suggestions by default. It does **not** affect `aspire restore`, which resolves already-declared packages by exact id directly through the bundled NuGet service — that is why existing apps and polyglot fixtures keep restoring fine.\n\nUsers who still need it can opt back in with the feature flag (`aspire config set features.showDeprecatedPackages true`), so this is a soft hide, not a hard block.\n\n## Step 6 — Suppress CS0618 in first-party consumers (build to find them)\n\nMarking the API `[Obsolete]` makes every first-party project that *uses* it emit `CS0618`, which is an error under `TreatWarningsAsErrors`. Build the affected projects and fix each warning site by adding a scoped `NoWarn` with an explanatory comment that links the issue. Typical consumers:\n\n- the integration's **own test project** (`tests\u002FAspire.Hosting.\u003CName>.Tests\u002F...csproj`),\n- any **playground** apphosts that demonstrate the integration (`playground\u002F\u003CName>EndToEnd\u002F...\u002F*.AppHost.csproj`).\n\n```xml\n\u003CPropertyGroup>\n  \u003C!-- This project intentionally exercises the deprecated \u003CName> integration (\u003Ctracking-issue-url>). -->\n  \u003CNoWarn>$(NoWarn);CS0618\u003C\u002FNoWarn>\n\u003C\u002FPropertyGroup>\n```\n\nPrefer per-project `NoWarn` over editing shared props. Do not suppress CS0618 globally. Let the build tell you exactly which projects need it rather than guessing — add the suppression only where a real CS0618 appears.\n\n## Step 7 — Update the CLI deprecated-filtering tests\n\nThe CLI tests that assert the deny-list behavior must include the newly deprecated id so they keep covering it. Update both:\n\n- `tests\u002FAspire.Cli.Tests\u002FNuGet\u002FNuGetPackageCacheTests.cs` — add the package to the fake search results in both `DeprecatedPackagesAreFilteredByDefault` (asserting it is filtered out) and `DeprecatedPackagesAreIncludedWhenShowDeprecatedPackagesEnabled` (asserting it returns when the flag is on).\n- `tests\u002FAspire.Cli.Tests\u002FPackaging\u002FPackageChannelTests.cs` — add a dropped `.nupkg` for the package to **every** test that exercises `DeprecatedPackages` (there are typically several: the pinned-local-source test plus the local-folder-source filter\u002Finclude pair). Search the file for the existing deprecated ids (for example `Aspire.Hosting.Dapr`) and mirror each occurrence so coverage stays complete.\n\nFollow the existing assertion style in those files even if it uses `Assert.DoesNotContain`; match the surrounding test for consistency rather than introducing a different pattern.\n\n## Step 8 — Keep the package publishable (ship one final obsolete release)\n\nDo **not** set `\u003CIsPackable>false\u003C\u002FIsPackable>` or `\u003CSuppressFinalPackageVersion>` on the integration `.csproj`. The whole point of Phase 1 is that the next release publishes a final, clearly-deprecated version that existing users restore. Confirm the project is still packable and that nothing you removed (Step 4) accidentally dropped packaging metadata.\n\n## Step 9 — Leave polyglot fixtures and ATS baselines alone\n\nNo changes are needed for `tests\u002FPolyglotAppHosts\u002FAspire.Hosting.\u003CName>\u002F...` during a soft sunset:\n\n- `aspire restore` resolves the declared package by exact id (bypasses the `DeprecatedPackages` filter), so the per-language SDK still regenerates.\n- Code generation still exports the obsolete members (now annotated `@deprecated`), so the committed `apphost.mts` \u002F `apphost.py` \u002F `apphost.go` \u002F `AppHost.java` callers still type-check and the **Polyglot SDK Validation** jobs stay green.\n\nPer repo policy, do not add unit tests that assert the shape of generated code. If an ATS export surface genuinely changes, update the `tests\u002FPolyglotAppHosts` apps for all languages instead — but a pure `[Obsolete]` addition does not change the exported surface, so usually nothing here changes. (Integrations without a committed `*.ats.txt` baseline have no snapshot to update.)\n\n## Step 10 — Build and verify\n\nRun a restore + build, then the targeted test projects:\n\n```bash\n.\u002Fbuild.sh\n```\n\n```bash\ndotnet test --project tests\u002FAspire.Hosting.\u003CName>.Tests\u002FAspire.Hosting.\u003CName>.Tests.csproj --no-launch-profile -- --filter-not-trait \"quarantined=true\" --filter-not-trait \"outerloop=true\"\ndotnet test --project tests\u002FAspire.Cli.Tests\u002FAspire.Cli.Tests.csproj --no-launch-profile -- --filter-not-trait \"quarantined=true\" --filter-not-trait \"outerloop=true\"\n```\n\nVerify:\n\n- the solution builds clean (no leftover CS0618 errors anywhere),\n- the integration tests and the CLI deprecated-filtering tests pass,\n- a quick scan shows no dangling references to the removed workflow\u002Ftooling.\n\nOptionally smoke-test the user-facing behavior with the CLI: `aspire add Aspire.Hosting.\u003CName>` should report no match by default, and building an apphost that calls the API should emit `CS0618` with your message.\n\n## Files-to-touch checklist\n\n| Area | File(s) | Action |\n|------|---------|--------|\n| Message constant | `src\u002FAspire.Hosting.\u003CName>\u002F\u003CName>Deprecation.cs` | **Add** internal `Message` const linking the issue |\n| API surface | `src\u002FAspire.Hosting.\u003CName>\u002F*.cs` (resource, descriptors, `*Extensions.cs`) | `[Obsolete(...Message)]` on every public\u002Fexported member; keep `[AspireExport]` |\n| README | `src\u002FAspire.Hosting.\u003CName>\u002FREADME.md` | Add `[!WARNING]` banner at top |\n| Bespoke tooling | `src\u002FAspire.Hosting.\u003CName>\u002Ftools\u002F**`, `.github\u002Fworkflows\u002Fupdate-\u003Cname>.yml`, related `.csproj` `\u003CCompile Remove>` | **Delete** integration-only automation and its csproj plumbing |\n| CLI hide | `src\u002FAspire.Cli\u002FNuGet\u002FNuGetPackageCache.cs` | Add id to `DeprecatedPackages.s_all` (alphabetical) |\n| Consumer warnings | integration test `.csproj`, playground apphost `.csproj` | Add scoped `\u003CNoWarn>$(NoWarn);CS0618\u003C\u002FNoWarn>` with comment |\n| CLI tests | `tests\u002FAspire.Cli.Tests\u002FNuGet\u002FNuGetPackageCacheTests.cs`, `tests\u002FAspire.Cli.Tests\u002FPackaging\u002FPackageChannelTests.cs` | Add the new id to the deprecated-filtering cases |\n| Packaging | integration `.csproj` | Confirm still packable — do **not** disable packing |\n\n## Phase 2: full removal (a later release — not this skill's default)\n\nOnly when explicitly asked to fully remove an already-sunset integration:\n\n- Delete `src\u002FAspire.Hosting.\u003CName>\u002F`, `tests\u002FAspire.Hosting.\u003CName>.Tests\u002F`, the playground, and `tests\u002FPolyglotAppHosts\u002FAspire.Hosting.\u003CName>\u002F`.\n- Remove the project from `Aspire.slnx` and any solution\u002Fbuild references.\n- **Keep** the id in `DeprecatedPackages.s_all` so previously-published versions remain hidden from `aspire add` (this is why Dapr\u002FNodeJs ids persist there after their projects were deleted).\n- Remove the now-unused per-consumer `NoWarn>CS0618` suppressions that referenced the deleted integration.\n- Build and run the CLI tests again.\n",{"name":5,"description":7},"main","cec61ac9b795bbfd9913f0c7196689b0d7a215d7",".agents\u002Fskills\u002Fdeprecate-integration",1039,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Faspire","https:\u002F\u002Faspire.dev","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-15 00:32:23",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add microsoft\u002Faspire --skill deprecate-integration",{"tool":61,"command":62},"bunx","bunx skills add microsoft\u002Faspire --skill deprecate-integration",{"tool":64,"command":65},"pnpm","pnpm dlx skills add microsoft\u002Faspire --skill deprecate-integration","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Faspire\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdeprecate-integration\u002FSKILL.md",true,[],[70,92,112,124,142,168],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":40},"01M6FKZQPMA7VRA0PRBZRDFJTX","vscode-extension","Use when investigating, developing, debugging, testing, or reviewing Aspire VS Code extension behavior under extension\u002F, including extension UI, command, debugger, RPC, DCP, MCP, and CLI-integration issues or features.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Faspire\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fvscode-extension\u002FSKILL.md",[],[77,78,79,80,81,82,39,83,84,85,86,87,20,88,89,90,21,91,22],"vscode","vscode extension","extension","testing","MCP","cli","debugging","code","issues","rpc","ui","debugger","command","behavior","features",{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":40},"01M6FKZJG81XP80SVWFBJVMDWN","update-container-images","Updates Docker container image tags used by Aspire hosting integrations. Queries registries for newer tags, uses LLM to determine version-compatible updates, and applies changes. Use this when asked to update container image versions.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Faspire\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fupdate-container-images\u002FSKILL.md",[],[99,100,101,102,103,104,105,39,106,21,30,29,107,108,109,110,111,22],"container images","update","container","images","update container images","image","docker","integrations","queries","tags","updates","for","changes",{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":40},"01M6FKZDY1MY0QA62EYSDG5NHW","test-management","Quarantines or disables flaky\u002Fproblematic tests using the QuarantineTools utility","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Faspire\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftest-management\u002FSKILL.md",[],[119,120,121,122,123],"test","management","test management","tests","utility",{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":40},"01M6FKZAQ428JX8F6NSA19XBQJ","startup-perf","Measures Aspire startup profiling with CLI self-profile capture and dashboard export traces.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Faspire\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fstartup-perf\u002FSKILL.md",[],[131,132,133,82,134,39,135,136,137,138,139,140,141],"perf","startup","startup perf","dashboard","profiling","capture","profile","export","self","with","traces",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":40},"01M6FKZ4W4J0ET0Q0C2Z30HYRV","reviewing-aspire-architecture","Use only when the user explicitly requests a deep Aspire architectural or pattern review of an existing PR or diff, or when a generic reviewer escalates a named Aspire-domain question it cannot resolve. Do not use for ordinary review, implementation, debugging, explanation, or design discussion—even when a PR is referenced—and never select it from changed file paths alone.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Faspire\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Freviewing-aspire-architecture\u002FSKILL.md",[],[149,39,150,151,152,153,83,154,155,156,157,21,158,159,160,161,162,163,164,165,110,166,167,22],"architecture","reviewing aspire architecture","design","review","pr","file","select","reviewer","question","diff","never","only","do","domain","pattern","deep","paths","Existing","generic",{"skillNo":169,"name":170,"nameZh":6,"description":171,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":172,"categories":173,"keywords":174,"publishedAt":40},"01M6FKYZ44BEPJNV8VQ0X73CZR","pr-testing","Use when asked to test a microsoft\u002Faspire pull request, including CLI, hosting, dashboard, component, template, and VS Code extension changes. Also covers testing PRs that change CI infrastructure — GitHub Actions (workflows, actions, gh-aw agentic workflows, CI scripts under .github\u002F and eng\u002F) and Azure DevOps pipelines (eng\u002Fpipelines, eng\u002Fcommon).","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Faspire\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpr-testing\u002FSKILL.md",[],[80,153,175,82,176,177,134,178,179,180,181,182,39,183,84,184,185,186,187,188,21,189,29,190,79,191,111,192],"pr testing","github","agentic","workflows","change","component","agentic workflows","azure devops","infrastructure","actions","ci","github actions","template","common","devops","pipelines","scripts","prs"]