Repository navigation
[docs] Document --remove-skill-copies for aspire agent init - #2146
Merged
Ella Hathaway (ellahathaway) merged 2 commits intoNov 17, 2026
Merged
Ella Hathaway (ellahathaway) merged 2 commits into
Ella Hathaway (ellahathaway) merged 2 commits into
Conversation
4 of 14 tasks
Contributor
Author
Frontend HTML artifact readyThe latest frontend build uploaded the This comment updates automatically when a new frontend build artifact is uploaded. |
David Pine (IEvangelist)
pushed a commit
that referenced
this pull request
Nov 17, 2026
## Summary <!-- Describe what this pull request changes and why. --> Documents the `aspire doctor` warning for static Aspire skill copies from microsoft/aspire#21783, updated for the cleanup behavior in microsoft/aspire#22080. - Show the warning in the Environment category and describe opt-in removal through `aspire agent init`. - Update the table and JSON examples to use the new messages and `details` field. The CLI change is being backported to `release/17.0`. Related agent initialization documentation: #2146. ## Third-party links and affiliations <!-- List any third-party links added or changed by this pull request and disclose any material affiliation with the linked organizations, such as employment, sponsorship, or ownership. Write "None" if this pull request doesn't add or change third-party links. --> None. ## Validation <!-- List the checks you ran or explain why validation isn't needed. --> - `git diff --check HEAD^ HEAD`: passed. - Compared the table and JSON examples with the upstream CLI test snapshots: matched. - Local site preview not run: Bun and frontend dependencies are not installed. > Generated by [PR Documentation Check](https://github.com/microsoft/aspire/actions/runs/42115248845) for #21783 · copilot · auto · 26.8 AIC · ⌖ 1.25 AIC · ⊞ 7.4K · [◷](https://github.com/search?q=repo%3Amicrosoft%2Faspire.dev+%22gh-aw-workflow-id%3A+pr-docs-check%22&type=pullrequests) <!-- gh-aw-agentic-workflow: PR Documentation Check, engine: copilot, model: auto, id: 42115248845, workflow_id: pr-docs-check, run: https://github.com/microsoft/aspire/actions/runs/42115248845 --> <!-- gh-aw-workflow-id: pr-docs-check --> <!-- gh-aw-workflow-call-id: microsoft/aspire/pr-docs-check --> --------- Co-authored-by: aspire-repo-bot[bot] <268009190+aspire-repo-bot[bot]@users.noreply.github.com> Co-authored-by: Ella Hathaway <[email protected]> Co-authored-by: Copilot App <[email protected]>
Ella Hathaway (ellahathaway)
approved these changes
Nov 17, 2026
Ella Hathaway (ellahathaway)
marked this pull request as ready for review
November 17, 2026 16:50
Ella Hathaway (ellahathaway)
requested review from
David Pine (IEvangelist) and
Mitch Denny (mitchdenny)
as code owners
November 17, 2026 16:50
…into docs/pr-22080-43505490618-1-d3a8714ce83c8a15
Ella Hathaway (ellahathaway)
enabled auto-merge (squash)
November 17, 2026 16:52
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The documentation quotes incorrect CLI output and omits a warning that deletion removes entire skill folders, including local edits and added files, even when confirmation is bypassed.
2 open issues
What changed in this PR
Updates the Aspire CLI reference to document stale skill-copy cleanup introduced by microsoft/aspire#22080, targeting release/17.0.
Changes:
- Adds cleanup behavior, discovery locations, and interactive versus non-interactive defaults.
- Documents
--remove-skill-copiesand provides a non-interactive example. - Notes support in chained setup commands and related
aspire doctorwarnings.
| File | Description |
|---|---|
src/frontend/src/content/docs/reference/cli/commands/aspire-agent-init.mdx |
Adds skill-copy cleanup guidance, the option reference, and a usage example. |
Review effort: Balanced
|
|
||
| The CLI looks only where older versions wrote copies (their `--skill-location` choices): `.agents/skills`, `.claude/skills`, `.github/skills`, and `.opencode/skill` in each directory from the current directory up to the workspace root, and `~/.agents/skills`. It doesn't read agent-specific settings such as `CLAUDE_CONFIG_DIR` or OpenCode `skills.paths`. | ||
|
|
||
| After the `Configured sources in ...` line, the CLI reports `Removed copied Aspire skills in ...` or `Kept copied Aspire skills in ...`. If you pass `--remove-skill-copies` but the plugin doesn't replace the copies at the selected scope (for example, because the default source is disabled), the CLI keeps them and explains why. |
| - **`--skills <skills>`** | ||
|
|
||
| Comma-separated choices: `aspire`, `playwright-cli`, or `dotnet-inspect`. The `dotnet-inspect` skill requires a C# AppHost in the workspace. Use `all` for every applicable choice or `none` to skip them. Defaults to `aspire`, which applies all enabled skill sources. MCP setup is separate. | ||
|
|
||
| - **`--remove-skill-copies`** | ||
|
|
||
| Delete copied Aspire skill files that older CLI versions wrote and that the configured plugin now replaces. Pass `--remove-skill-copies=false` to keep them. When omitted, the CLI prompts in an interactive terminal and keeps the copies in non-interactive runs. |
Ella Hathaway (ellahathaway)
deleted the
docs/pr-22080-43505490618-1-d3a8714ce83c8a15
branch
November 17, 2026 17:15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Documents changes from microsoft/aspire#22080
Author:
@joperezr's review requested via notify; source PR author per pr.json.Target branch: Targeting
release/17.0— the latest release branch onmicrosoft/aspire.dev— becauserelease/17.1(from the source PR milestone17.1) does not exist there (target_resolution:latest_release_fallback).Why:
aspire agent initgained a--remove-skill-copiesoption and a prompt that deletes stale Aspire skill copies written by older CLIs. The CLI reference didn't cover it. Triggered signals:cli_option_added,cli_command_file_changed,cli_resource_strings_changed,pr_body_has_cli_flag_mention.Changes (updated page):
src/frontend/src/content/docs/reference/cli/commands/aspire-agent-init.mdx: new "Remove copied Aspire skills" section,--remove-skill-copiesoption entry, an example, and updated description text. Also notesaspire doctornow warns about copies in the Environment category.