vscode-extension
Skill6.3k starsChanged 6 months agoMITView on GitHub
Use when investigating, developing, debugging, testing, or reviewing Aspire VS Code extension behavior under extension/, including extension UI, command, debugger, RPC, DCP, MCP, and CLI-integration issues or features.
2 other projects use a version of this.
Trending
Quiet since September.about the whole repository
Most recently taken up by
- ThuPhuong1010/claude-factorytheir own version, first seen Mar 29, 2026
- inbharatai/claude-skillstheir own version, first seen Mar 14, 2026
Who's talking about microsoft/aspire
- Azure/azure-functions-core-tools“azure-functions-core-tools 4.13.2 Linux x64 package references a missing CDN blob”GitHub · Aug 9, 2026 · 18 reactions
- apple/container“[Request]: `cp` command tar stream support”GitHub · Jul 6, 2026 · 6 reactions
- CommunityToolkit/Aspire“Add Dekaf Kafka client integration and Schema Registry hosting support”GitHub · Sep 21, 2026 · 2 reactions
- thomhurst/TUnit“chore(deps): update aspire to 13.5.2”GitHub · Aug 21, 2026 · 2 reactions
- kubernetes-client/csharp“UnobservedTaskException from orphaned ReadLineAsync task in Watcher<T>.CreateWatchEventEnumerator during …”GitHub · Jun 22, 2026 · 2 reactions
The biggest 5 of 20 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 20
Talked about on GitHub and Bluesky (20 times).
On GitHub · 18
- Aug 9, 2026azure-functions-core-tools 4.13.2 Linux x64 package references a missing CDN blob — Azure/azure-functions-core-tools18 reactions · 11 comments
- Jul 6, 2026[Request]: `cp` command tar stream support — apple/container6 reactions · 2 comments
- Sep 21, 2026Add Dekaf Kafka client integration and Schema Registry hosting support — CommunityToolkit/Aspire2 reactions
- Aug 21, 2026chore(deps): update aspire to 13.5.2 — thomhurst/TUnit2 reactions · 3 comments
- Jun 22, 2026UnobservedTaskException from orphaned ReadLineAsync task in Watcher<T>.CreateWatchEventEnumerator during cancellation — kubernetes-client/csharp2 reactions · 2 comments
13 more on GitHub
- Jun 17, 2026chore(deps): update aspire monorepo to 13.4.5 — chrismeller/archiveteam-exporter2 reactions
- Jun 11, 2026chore(deps): update aspire monorepo to 13.4.3 — chrismeller/archiveteam-exporter2 reactions · 1 comment
- May 19, 2026chore(deps): update aspire monorepo to 13.3.4 — chrismeller/archiveteam-exporter2 reactions
- Sep 26, 2026Update Aspire version to 13.6.0 Staging Channel — CommunityToolkit/Aspire1 reaction · 5 comments
- Sep 8, 2026This PR merges the `release/13.5` branch back to `main` after the v13.5.0 release. — cli/cli1 reaction · 1 comment
- Aug 24, 2026Azure.Provisioning.AppContainers uses incorrect default naming requirements for managed environments — Azure/azure-sdk-for-net1 reaction
- Aug 6, 2026safe-outputs checkout auto-detection downgrades contents: write to read — github/gh-aw1 reaction
- Jun 15, 2026deps: Update aspire monorepo to 13.4.6 — ANcpLua/DotNetTests1 reaction
- May 26, 2026safe_outputs add_comment hard-fails on locked source PR (pr-docs-check recurring failures) — github/gh-aw1 reaction
- May 24, 2026"Install the Aspire Templates" section should be clear it's referring specifically to `dotnet` — microsoft/aspire.dev1 reaction · 1 comment
- May 13, 2026Azure.Provisioning.ContainerService: ManagedClusterIngressProfile is internal, blocking preview-API gatewayAPI and applicationLoadBalancer additions — Azure/azure-sdk-for-net1 reaction · 3 comments
- May 12, 2026Application Insights is filled with EventProcessor.Process logs that cannot be filtered out when OpenTelemetry enabled — Azure/azure-functions-host1 reaction
- Apr 16, 2026End2End template with Foundry Hosted Agents — leslierichardson95/aspire-agent-template1 reaction · 3 comments
On Bluesky · 2
- Mar 23, 2026.NET Aspireはコードファーストで拡張性のある分散アプリ開発を統一的に支援するツール群らしい コードでサービスやリソースを定義してローカルデバッグからデプロイまでこなせるのが便利そうかな yug1224 starred microsoft/aspire… — @yug1224.com1 likes and repost
- Mar 22, 2026📦 microsoft / aspire ⭐ 5,662 (+72) 🗒 TypeScript Aspire is the tool for code-first, extensible, observable dev and deploy. — @github-trending-js.bsky.social1 likes and repost
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- inbharatai/claude-skills★ 37same name
- ThuPhuong1010/claude-factory★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository24 other files it gives its agents.
- AGENTS.mdAGENTS.md
- api-reviewSkill
- azdo-internalSkill
- backport-prSkill
- bump-aspire-versionSkill
- ci-test-failuresSkill
- cli-channel-debuggingSkill
- cli-e2e-testingSkill
- code-reviewSkill
- connection-propertiesSkill
- create-prSkill
- dashboard-testingSkill
- dependency-updateSkill
- deployment-e2e-testingSkill
- deprecate-integrationSkill
- fix-flaky-testSkill
- hex1bSkill
- hosting-integration-authoringSkill
- issue-investigationSkill
- pr-testingSkill
- reviewing-aspire-architectureSkill
- startup-perfSkill
- test-managementSkill
- update-container-imagesSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
19 rules. About 0 are common, 7 are distinctive, and 12 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
12
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 15
All commands below are run from the extension/ directory unless noted.
- Very specific: line 36
If ./.dotnet/dotnet --version (Linux/macOS) or .\.dotnet\dotnet.exe --version (Windows) succeeds, add .dotnet to PATH (export …
- Very specific: line 40
If neither succeeds, run ./restore.sh (Linux/macOS) or .\restore.cmd (Windows) once, then add the installed .dotnet directory to PATH as …
- Very specific: line 55
Use yarn for extension commands (corepack yarn ...
- Very specific: line 58
If corepack yarn install fails with registry 401/404 or EACCES, see the Troubleshooting section of extension/CONTRIBUTING.md — these are …
- Very specific: line 68
When you change a CLI contract or expectation (command output shape, JSON schema, new flags, new behavior the extension relies on), you …
- Very specific: line 85
Prefer TypeScript (.ts) files.
- Distinctive: line 86
Use static imports, not dynamic imports, unless dynamic import is absolutely necessary.
- Distinctive: line 87
Use the latest TypeScript features consistent with the existing code style.
- Distinctive: line 93
Every string shown to the user must be localized.
- Very specific: line 101
Do not hand-edit generated localization bundles (the l10n/ output, *.xlf, or */localize/templatestrings.*.json).
- Very specific: line 137
Add new tests as extension/src/test/<area>.test.ts mirroring nearby tests (e.g.
- Very specific: line 141
When adding, changing, or investigating user-visible UI behavior or interactions, strongly prefer adding or updating VS Code extension E2E …
- Very specific: line 144
If you run these tests against an older published CLI for compatibility validation, set …
- Distinctive: line 162
When asked to find the root cause of or reproduce an issue, do not stop at reading source code.
- Distinctive: line 167
Use Playwright or an Extension Development Host only as exploratory help when the right E2E shape is not yet clear.
- Distinctive: line 174
When opening a PR for a user-visible VS Code extension change, include proof in the PR body.
- Distinctive: line 176
If you include a before screenshot, include an actual after screenshot of the changed state too.
- Very specific: line 186
Do not modify package.json / yarn.lock / package-lock.json unless explicitly asked.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Aspire VS Code Extension
This skill covers working on the Aspire VS Code extension, which lives entirely under
extension/. It is a TypeScript extension built with yarn (pinned via
packageManager in extension/package.json) and webpack, and it communicates with the Aspire
CLI over RPC.
Orientation
All commands below are run from the extension/ directory unless noted.
| Path | What it is |
extension/src/extension.ts | Activation entry point |
extension/src/commands/ | Command implementations |
extension/src/views/ | Tree views, welcome views, panel UI |
extension/src/debugger/ | Debug adapter + per-language debuggers (dotnet, node, python, go) |
extension/src/server/, extension/src/mcp/, extension/src/dcp/ | RPC server, MCP provider, DCP integration |
extension/src/loc/strings.ts | Localized strings (TypeScript-side) |
extension/package.nls.json | Localized strings referenced from package.json (%key%) |
extension/src/test/ | Mocha unit tests (*.test.ts) run via vscode-test |
extension/package.json | Manifest: contributes, activationEvents, scripts |
Prerequisites
Do NOT run the repo-root ./build.sh when you are only working on the Aspire CLI and/or the VS
Code extension. The root build compiles the entire product (all of src/, native AOT, packages)
and is slow and unnecessary for this work. Root restore is needed only to bootstrap the repository's
.NET SDK. Check the SDK from the repository root:
- If
./.dotnet/dotnet --version(Linux/macOS) or.\.dotnet\dotnet.exe --version(Windows) succeeds, add.dotnettoPATH(export PATH="$PWD/.dotnet:$PATH"on Linux/macOS or$env:PATH = "$PWD\.dotnet;$env:PATH"in PowerShell) and skip root restore. - Otherwise, if
dotnet --versionsucceeds, skip root restore and use that host. - If neither succeeds, run
./restore.sh(Linux/macOS) or.\restore.cmd(Windows) once, then add the installed.dotnetdirectory toPATHas shown above.
The extension build script does not install .NET.
Once the required SDK is available, build the extension and CLI together with the extension build
script. From extension/, run ./build.sh (Linux/macOS) or ./build.ps1 (Windows). This script builds the Aspire CLI
(dotnet build ../src/Aspire.Cli/Aspire.Cli.csproj) and the extension, and installs extension
dependencies (seeds Corepack and runs corepack yarn install). You do not install Yarn yourself —
it is pinned via packageManager.
For changes limited to extension/, src/Aspire.Cli/, and/or tests/Aspire.Cli*/, start with the
extension build script once either SDK check succeeds. It performs the project restore and build
steps needed by this workflow. Run targeted CLI test projects separately after the build.
Use yarn for extension commands (corepack yarn ... or yarn run ...), not npm / npx.
The dependency graph and scripts are pinned for Yarn via extension/package.json and yarn.lock.
If corepack yarn install fails with registry 401/404 or EACCES, see the Troubleshooting section
of extension/CONTRIBUTING.md — these are environment/npm-mirror
issues, not code issues.
Extension ↔ CLI compatibility (IMPORTANT)
The extension and the Aspire CLI are tightly coupled: new features or changes in the extension
often require corresponding changes in the CLI. When you add or modify extension behavior, expect
to also touch src/Aspire.Cli/ and rebuild both with extension/build.sh / extension/build.ps1.
When you change a CLI contract or expectation (command output shape, JSON schema, new flags, new
behavior the extension relies on), you must remain backwards compatible and keep working with older
Aspire CLI versions. A user may have a newer extension paired with an older aspire CLI on their
PATH. Do not assume the CLI supports a capability just because the current build does.
Detect what the installed CLI supports at runtime instead of assuming, by reading capabilities from extension functionality that wraps aspire config info.
Hidden or probe-style CLI calls from the extension should avoid paying for or emitting interactive
startup UX. When the extension runs a CLI command for JSON or other machine-readable output, pass
--nologo when the target CLI version supports it, keep the command's stdout parseable, and add a
fallback/retry path for older CLIs that reject --nologo. Add or update CLI-side machine-readable
detection if you introduce a new structured-output flag or hidden JSON command. This prevents
first-run/banner/identity text from corrupting stdout and keeps extension startup comparable to
direct aspire run / aspire start.
Develop / modify the extension
- Prefer TypeScript (
.ts) files; never create.jssource files for extension code. - Use static imports, not dynamic imports, unless dynamic import is absolutely necessary.
- Use the latest TypeScript features consistent with the existing code style.
- New user-facing commands, views, settings, or debugger config go in the
contributessection ofextension/package.json.
Localization (REQUIRED for any user-facing string)
Every string shown to the user must be localized. There are two surfaces:
- TypeScript code → add to
extension/src/loc/strings.tsusingvscode.l10n.t(...). Follow the existing pattern (plainconstfor static strings, an arrow function for strings with placeholders like{0}). Import fromloc/stringsrather than inlining literals. package.jsonmanifest (command titles, view names, setting descriptions, debugger properties) → use a%key%reference and define the key inextension/package.nls.json.
Do not hand-edit generated localization bundles (the l10n/ output, *.xlf, or
*/localize/templatestrings.*.json); translation is handled by a dedicated workflow. The npm
scripts l10n:export / l10n:import (run automatically by precompile/prepackage/prewatch)
regenerate the l10n bundle from package.nls.json and the vscode.l10n.t calls.
Build
From extension/:
yarn run compile # one-off webpack build to ./dist
yarn run watch # incremental webpack build (use while iterating)
yarn run package # production build (minified, hidden source maps)watch, compile, and package are preceded by prewatch/precompile/prepackage, which run
generate-version, generate-schema, and the l10n export/import. The VS Code task
yarn: watch extension (the default build task) runs yarn run watch.
To produce a .vsix, the full MSBuild path is extension/Extension.proj (used by CI/signing); for
local iteration yarn run package plus the launch configs below is usually enough.
Test
The extension has Mocha unit tests under extension/src/test/ executed by @vscode/test-cli.
yarn run compile-tests # tsc -> ./out (or watch-tests to keep rebuilding)
yarn run test # alias for unit-test (vscode-test); runs lint+compile via pretest
yarn run lint # eslint srcpretest runs compile-tests, compile, and lint, so yarn run test is the single command that
builds and runs everything. When iterating on one area, keep watch-tests running and re-run
yarn run test.
Add new tests as extension/src/test/<area>.test.ts mirroring nearby tests (e.g.
appHostDiscovery.test.ts, strings.test.ts). There is a strings.test.ts that guards
localization conventions — run it after touching loc/strings.ts or package.nls.json.
When adding, changing, or investigating user-visible UI behavior or interactions, strongly prefer
adding or updating VS Code extension E2E coverage under extension/src/test-e2e/ so the behavior is
reproducible and protected from regressions. Skip this only with a strong, explicit justification.
If you run these tests against an older published CLI for compatibility validation, set
ASPIRE_EXTENSION_E2E_SKIP_CURRENT_CLI_REGRESSIONS=true to skip tests that intentionally cover bugs
fixed only by the current repo-built CLI.
Debug / run locally
- Open the
extension/folder in VS Code. - Launch the Run Extension launch configuration to start an Extension Development Host, or Run Extension (cli stop on entry) to make the CLI wait for a debugger to attach (use this to debug the CLI and the extension together).
- To debug against a locally built CLI, set the
Aspire Cli Executable Pathsetting to the build output, e.g.artifacts/bin/Aspire.Cli/Debug/net11.0/aspire(relative to the repo root). TheAspire: Extension settingscommand opens settings filtered to the extension.
RPC and debugger issues usually live in src/server/, src/debugger/, or src/dcp/.
Reproducing issues yourself (do this FIRST for root-cause / "can you repro" requests)
When asked to find the root cause of or reproduce an issue, do not stop at reading source
code. Strongly prefer a reproducible VS Code extension E2E test under extension/src/test-e2e/ that
opens a workspace, drives the extension through its public UI/commands, and captures the failing
behavior in the E2E state file, VS Code logs, screenshots, or assertions.
Use Playwright or an Extension Development Host only as exploratory help when the right E2E shape is
not yet clear. If that exploration reproduces the issue, convert the scenario into an E2E test before
fixing the bug unless there is a strong, explicit reason not to. You can test a custom CLI build by
pointing the Aspire Cli Executable Path setting at your locally built aspire.
Pull request evidence
When opening a PR for a user-visible VS Code extension change, include proof in the PR body. Prefer before/after screenshots for changed UI, notifications, tree views, browser flows, or error states. If you include a before screenshot, include an actual after screenshot of the changed state too; focused tests, E2E state files, logs, or command output can support the after case, but they are not a substitute for the after visual. Include a short video or recording when the behavior is interactive, timing-sensitive, or difficult to understand from static images. If screenshots or video are not appropriate, say why and include the closest useful evidence instead. Redact tokens, secrets, local usernames, private paths, private URLs, and any other sensitive details before putting evidence in a public PR body.
Gotchas
- Do not modify
package.json/yarn.lock/package-lock.jsonunless explicitly asked; when you must pin a transitive dependency, add it toresolutionsand regenerateyarn.lockwithcorepack yarn install(see CONTRIBUTING). yarn.lockmust resolve through the internaldotnet-public-npmfeed; the build rejects public npmjs.org URLs.- Generated files (
l10n/bundle, schema, version) are produced by the pre-scripts — edit the sources (package.nls.json,loc/strings.ts, schema/version generator scripts), not the output.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

