Repository navigation
Shorten Aspire skill description - #17183
Conversation
Keep the bundled Aspire skill metadata within the 1024-character description limit enforced by Codex and Copilot CLI, and add regression coverage for bundled installable skills. Co-authored-by: Copilot <[email protected]>
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 17183Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 17183" |
There was a problem hiding this comment.
Pull request overview
Shortens the bundled Aspire skill frontmatter description so aspire agent init installs Codex/Copilot-compatible skill metadata while preserving detailed guidance in the skill body.
Changes:
- Reduced
.agents/skills/aspire/SKILL.mddescription below the 1024-character host limit. - Added regression coverage that validates installable bundled skill descriptions fit the host limit.
Show a summary per file
| File | Description |
|---|---|
.agents/skills/aspire/SKILL.md |
Shortens the Aspire skill routing description. |
tests/Aspire.Cli.Tests/Agents/CommonAgentApplicatorsTests.cs |
Adds a test helper and assertion for installable skill description length. |
Copilot's findings
- Files reviewed: 2/2 changed files
- Comments generated: 0
|
Re-running the failed jobs in the CI workflow for this pull request because 1 job was identified as retry-safe transient failures in the CI run attempt.
|
|
❓ CLI E2E Tests unknown — 85 passed, 0 failed, 1 unknown (commit View all recordings
📹 Recordings uploaded automatically from CI run #25978343783 |
James Newton-King (JamesNK)
left a comment
There was a problem hiding this comment.
LGTM. The description shortening preserves all key routing keywords within the 1024-char limit, and the regression test provides good coverage to prevent future regressions.
|
/backport to release/13.3 |
|
Started backporting to |
|
David Fowler (@davidfowl) backporting to git am output$ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch
Applying: Shorten Aspire skill description
Using index info to reconstruct a base tree...
M .agents/skills/aspire/SKILL.md
Falling back to patching base and 3-way merge...
Auto-merging .agents/skills/aspire/SKILL.md
CONFLICT (content): Merge conflict in .agents/skills/aspire/SKILL.md
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 Shorten Aspire skill description
Error: The process '/usr/bin/git' failed with exit code 128 |
|
✅ No documentation update needed. docs_optional → No signals triggered (signal_count = 0; |
Backport the Aspire skill metadata length fix and regression coverage for agent host description limits. Backport of #17183 to release/13.3 Co-authored-by: Copilot <[email protected]>
Resolve conflicts in agent skill tests: - CommonAgentApplicatorsTests: keep both the new SkillDefinition_AspireDeployment_HasEmbeddedSkillAssets test from this branch and the new SkillDefinition_InstallableSkillDescriptionsFitAgentHostLimits regression test from main (#17183). - AgentInitCommandTests: take CliExitCodes.Success rename from main while keeping this branch's updated comment about default static skills. The new aspire-deployment skill description is 633 characters, well under the 1024-character limit enforced by the new test. Co-authored-by: Copilot <[email protected]>
Keep the bundled Aspire skill metadata within the 1024-character description limit enforced by Codex and Copilot CLI, and add regression coverage for bundled installable skills. Co-authored-by: Copilot <[email protected]>
Description
aspire agent initinstalls the bundled Aspire skill, but its frontmatter description exceeded the 1024-character limit now enforced by Codex and the latest Copilot CLI. This shortens the routing metadata while keeping the detailed guidance in the skill body and adds regression coverage for bundled installable skill descriptions.Fixes: #16987
Checklist
<remarks />and<code />elements on your triple slash comments?