Move repository skills to .agents#17534
Conversation
Move repository skills from .github/skills to .agents/skills and update docs, CI trigger patterns, and CLI scanner defaults to use the standard skill location. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 17534Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 17534" |
Restore Aspire CLI source, localization, product specs, and related tests so the skill location move only affects repository skill content and guidance. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Moves repository-owned Copilot skill content from .github/skills into the shared .agents/skills location, updating the Aspire CLI scanners and repo documentation so agent environments use the new directory consistently.
Changes:
- Update Aspire CLI VS Code + Copilot CLI environment scanners (and their tests) to register
.agents/skillsas the skill base directory for Playwright skill mirroring. - Update docs/README guidance and CI trigger patterns to reference
.agents/skillsinstead of.github/skills. - Add/move multiple skill definitions and companion scripts into
.agents/skills, and label.github/skillsas a legacy skill location in CLI strings.
Show a summary per file
| File | Description |
|---|---|
| tests/Aspire.Deployment.EndToEnd.Tests/README.md | Updates skill documentation link to the new .agents/skills location. |
| tests/Aspire.Cli.Tests/Agents/VsCodeAgentEnvironmentScannerTests.cs | Adjusts expectations for VS Code scanner to register .agents/skills and not .github/skills. |
| tests/Aspire.Cli.Tests/Agents/CopilotCliAgentEnvironmentScannerTests.cs | Adjusts expectations for Copilot CLI scanner to register .agents/skills and not .github/skills. |
| src/Aspire.Cli/Resources/xlf/AgentCommandStrings.zh-Hant.xlf | Updates localized resource for legacy .github/skills display name. |
| src/Aspire.Cli/Resources/xlf/AgentCommandStrings.zh-Hans.xlf | Updates localized resource for legacy .github/skills display name. |
| src/Aspire.Cli/Resources/xlf/AgentCommandStrings.tr.xlf | Updates localized resource for legacy .github/skills display name. |
| src/Aspire.Cli/Resources/xlf/AgentCommandStrings.ru.xlf | Updates localized resource for legacy .github/skills display name. |
| src/Aspire.Cli/Resources/xlf/AgentCommandStrings.pt-BR.xlf | Updates localized resource for legacy .github/skills display name. |
| src/Aspire.Cli/Resources/xlf/AgentCommandStrings.pl.xlf | Updates localized resource for legacy .github/skills display name. |
| src/Aspire.Cli/Resources/xlf/AgentCommandStrings.ko.xlf | Updates localized resource for legacy .github/skills display name. |
| src/Aspire.Cli/Resources/xlf/AgentCommandStrings.ja.xlf | Updates localized resource for legacy .github/skills display name. |
| src/Aspire.Cli/Resources/xlf/AgentCommandStrings.it.xlf | Updates localized resource for legacy .github/skills display name. |
| src/Aspire.Cli/Resources/xlf/AgentCommandStrings.fr.xlf | Updates localized resource for legacy .github/skills display name. |
| src/Aspire.Cli/Resources/xlf/AgentCommandStrings.es.xlf | Updates localized resource for legacy .github/skills display name. |
| src/Aspire.Cli/Resources/xlf/AgentCommandStrings.de.xlf | Updates localized resource for legacy .github/skills display name. |
| src/Aspire.Cli/Resources/xlf/AgentCommandStrings.cs.xlf | Updates localized resource for legacy .github/skills display name. |
| src/Aspire.Cli/Resources/AgentCommandStrings.resx | Renames the .github/skills display string to “Legacy …”. |
| src/Aspire.Cli/Resources/AgentCommandStrings.Designer.cs | Updates generated designer docstring for the renamed resource value. |
| src/Aspire.Cli/Agents/VsCode/VsCodeAgentEnvironmentScanner.cs | Switches VS Code agent scanner skill base directory to .agents/skills. |
| src/Aspire.Cli/Agents/SkillLocation.cs | Labels .github/skills as a legacy GitHub Copilot skill location in docs. |
| src/Aspire.Cli/Agents/CopilotCli/CopilotCliAgentEnvironmentScanner.cs | Switches Copilot CLI agent scanner skill base directory to .agents/skills. |
| src/Aspire.Cli/Agents/CommonAgentApplicators.cs | Updates parameter docs to reference .agents/skills as the example path. |
| src/Aspire.Cli/Agents/AgentEnvironmentScanContext.cs | Updates docs to reference .agents/skills as the example skill base directory. |
| eng/testing/github-ci-trigger-patterns.txt | Updates CI trigger patterns to watch .agents/skills/**. |
| docs/specs/safe-npm-tool-install.md | Updates Playwright skill mirroring examples to include .agents/skills. |
| docs/contributing.md | Updates contributor-facing skill links to .agents/skills. |
| AGENTS.md | Updates skill references and “Available Skills” section to .agents/skills. |
| .github/workflows/pr-docs-check.md | Updates docs classification guidance to treat .agents/** as agent/skill-only content. |
| .agents/skills/update-container-images/UpdateImageTags.cs | Adds companion script for discovering image tags and querying registries (now under .agents). |
| .agents/skills/update-container-images/SKILL.md | Updates the skill doc to point at the new script location and invocation. |
| .agents/skills/update-container-images/Directory.Packages.props | Disables CPM for file-based scripts in this skill directory. |
| .agents/skills/update-container-images/.editorconfig | Overrides analyzers/settings for standalone tool scripts in this skill directory. |
| .agents/skills/test-management/SKILL.md | Moves/introduces skill content under .agents/skills. |
| .agents/skills/startup-perf/SKILL.md | Moves/introduces skill content under .agents/skills. |
| .agents/skills/reviewing-aspire-architecture/SKILL.md | Moves/introduces skill content under .agents/skills. |
| .agents/skills/pr-testing/SKILL.md | Moves/introduces skill content under .agents/skills. |
| .agents/skills/hex1b/SKILL.md | Updates generated-skill guidance to use .agents/skills. |
| .agents/skills/fix-flaky-test/SKILL.md | Updates helper script paths and links to .agents/skills. |
| .agents/skills/fix-flaky-test/run-test-repeatedly.sh | Updates usage/help text to .agents/skills path. |
| .agents/skills/fix-flaky-test/run-test-repeatedly.ps1 | Updates usage/help text to .agents/skills path. |
| .agents/skills/deployment-e2e-testing/SKILL.md | Moves/introduces skill content under .agents/skills. |
| .agents/skills/dependency-update/SKILL.md | Updates script references to .agents/skills path. |
| .agents/skills/dependency-update/MigratePackage.cs | Adds companion script under .agents/skills to trigger/poll dependency migration pipeline. |
| .agents/skills/dependency-update/Directory.Packages.props | Disables CPM for file-based scripts in this skill directory. |
| .agents/skills/dependency-update/.editorconfig | Overrides analyzers/settings for standalone tool scripts in this skill directory. |
| .agents/skills/dashboard-testing/SKILL.md | Moves/introduces skill content under .agents/skills. |
| .agents/skills/create-pr/SKILL.md | Moves/introduces skill content under .agents/skills. |
| .agents/skills/connection-properties/SKILL.md | Moves/introduces skill content under .agents/skills. |
| .agents/skills/code-review/SKILL.md | Moves/introduces skill content under .agents/skills. |
| .agents/skills/cli-e2e-testing/SKILL.md | Moves/introduces skill content under .agents/skills. |
| .agents/skills/ci-test-failures/SKILL.md | Updates internal cross-skill reference to .agents/skills. |
| .agents/skills/backport-pr/SKILL.md | Moves/introduces skill content under .agents/skills. |
| .agents/skills/api-review/SKILL.md | Moves/introduces skill content under .agents/skills. |
Copilot's findings
- Files reviewed: 12/30 changed files
- Comments generated: 0
|
/backport to release/13.4 |
|
Started backporting to |
|
@mitchdenny backporting to git am output$ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch
Applying: Move repository skills to .agents
Using index info to reconstruct a base tree...
M docs/contributing.md
M src/Aspire.Cli/Resources/AgentCommandStrings.Designer.cs
M src/Aspire.Cli/Resources/AgentCommandStrings.resx
M src/Aspire.Cli/Resources/xlf/AgentCommandStrings.cs.xlf
M src/Aspire.Cli/Resources/xlf/AgentCommandStrings.de.xlf
M src/Aspire.Cli/Resources/xlf/AgentCommandStrings.es.xlf
M src/Aspire.Cli/Resources/xlf/AgentCommandStrings.fr.xlf
M src/Aspire.Cli/Resources/xlf/AgentCommandStrings.it.xlf
M src/Aspire.Cli/Resources/xlf/AgentCommandStrings.ja.xlf
M src/Aspire.Cli/Resources/xlf/AgentCommandStrings.ko.xlf
M src/Aspire.Cli/Resources/xlf/AgentCommandStrings.pl.xlf
M src/Aspire.Cli/Resources/xlf/AgentCommandStrings.pt-BR.xlf
M src/Aspire.Cli/Resources/xlf/AgentCommandStrings.ru.xlf
M src/Aspire.Cli/Resources/xlf/AgentCommandStrings.tr.xlf
M src/Aspire.Cli/Resources/xlf/AgentCommandStrings.zh-Hans.xlf
M src/Aspire.Cli/Resources/xlf/AgentCommandStrings.zh-Hant.xlf
Falling back to patching base and 3-way merge...
Auto-merging docs/contributing.md
CONFLICT (content): Merge conflict in docs/contributing.md
Auto-merging src/Aspire.Cli/Resources/AgentCommandStrings.Designer.cs
Auto-merging src/Aspire.Cli/Resources/AgentCommandStrings.resx
Auto-merging src/Aspire.Cli/Resources/xlf/AgentCommandStrings.cs.xlf
Auto-merging src/Aspire.Cli/Resources/xlf/AgentCommandStrings.de.xlf
Auto-merging src/Aspire.Cli/Resources/xlf/AgentCommandStrings.es.xlf
Auto-merging src/Aspire.Cli/Resources/xlf/AgentCommandStrings.fr.xlf
Auto-merging src/Aspire.Cli/Resources/xlf/AgentCommandStrings.it.xlf
Auto-merging src/Aspire.Cli/Resources/xlf/AgentCommandStrings.ja.xlf
Auto-merging src/Aspire.Cli/Resources/xlf/AgentCommandStrings.ko.xlf
Auto-merging src/Aspire.Cli/Resources/xlf/AgentCommandStrings.pl.xlf
Auto-merging src/Aspire.Cli/Resources/xlf/AgentCommandStrings.pt-BR.xlf
Auto-merging src/Aspire.Cli/Resources/xlf/AgentCommandStrings.ru.xlf
Auto-merging src/Aspire.Cli/Resources/xlf/AgentCommandStrings.tr.xlf
Auto-merging src/Aspire.Cli/Resources/xlf/AgentCommandStrings.zh-Hans.xlf
Auto-merging src/Aspire.Cli/Resources/xlf/AgentCommandStrings.zh-Hant.xlf
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0001 Move repository skills to .agents
Error: The process '/usr/bin/git' failed with exit code 128 |
|
✅ No documentation update needed. docs_optional → No triggered signals ( |
Description
Move repository-owned Copilot skills from
.github/skillsinto.agents/skillsso the repo follows the shared agent skill location without changing Aspire product code.This PR only moves skill content and updates repository guidance that points at those skills, including contributor docs, agent instructions, CI trigger patterns for skill-only changes, and the deployment E2E README skill link. It intentionally leaves Aspire CLI behavior, localization, product specs, and CLI tests unchanged.
Validation:
.agents/skills, repo guidance/docs, CI trigger patterns, and a test README link.Fixes # (issue)
Checklist
<remarks />and<code />elements on your triple slash comments?