Trim dotnet-msbuild skill-menu under 15K char limit - #809
Conversation
The rendered skill-menu for the dotnet-msbuild plugin was 16,679 characters, exceeding the 15,000 limit. Trim two categories of content from the 18 skill descriptions that do not help agents decide when to invoke a skill: - Remove INVOKES: clauses (which MCP tools / fallback shell commands a skill runs internally) — implementation mechanics, not routing signal. - Remove the boilerplate 'Only activate in MSBuild/.NET build context.' repeated verbatim in all 18 skills — redundant, since every description is already MSBuild-specific and each DO NOT USE FOR still excludes non-MSBuild build systems. USE FOR triggers and DO NOT USE FOR cross-references are preserved. Aggregate skill description size drops from 14,551 to 12,536 chars (rendered menu 16,679 -> 14,664). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Reduces the rendered dotnet-msbuild plugin skill-menu size to fit under the 15,000 character loader limit by trimming low-signal boilerplate from skill front-matter descriptions, while preserving the routing-relevant USE FOR: / DO NOT USE FOR: content.
Changes:
- Removed the repeated “Only activate in MSBuild/.NET build context.” sentence from all
dotnet-msbuildskilldescription:front matter strings. - Removed
INVOKES:clauses from skilldescription:front matter strings to avoid leaking internal mechanics and reduce size. - Kept per-skill routing signals (capability summary, triggers, and cross-skill references) intact.
Reviewed changes
Copilot reviewed 18 out of 18 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| plugins/dotnet-msbuild/skills/target-authoring/SKILL.md | Trimmed front-matter description to reduce aggregated skill-menu size. |
| plugins/dotnet-msbuild/skills/resolve-project-references/SKILL.md | Trimmed front-matter description to reduce aggregated skill-menu size. |
| plugins/dotnet-msbuild/skills/property-patterns/SKILL.md | Trimmed front-matter description to reduce aggregated skill-menu size. |
| plugins/dotnet-msbuild/skills/msbuild-server/SKILL.md | Trimmed front-matter description to reduce aggregated skill-menu size. |
| plugins/dotnet-msbuild/skills/msbuild-modernization/SKILL.md | Trimmed front-matter description to reduce aggregated skill-menu size. |
| plugins/dotnet-msbuild/skills/msbuild-antipatterns/SKILL.md | Trimmed front-matter description to reduce aggregated skill-menu size. |
| plugins/dotnet-msbuild/skills/item-management/SKILL.md | Trimmed front-matter description to reduce aggregated skill-menu size. |
| plugins/dotnet-msbuild/skills/incremental-build/SKILL.md | Trimmed front-matter description to reduce aggregated skill-menu size. |
| plugins/dotnet-msbuild/skills/including-generated-files/SKILL.md | Trimmed front-matter description to reduce aggregated skill-menu size. |
| plugins/dotnet-msbuild/skills/extension-points/SKILL.md | Trimmed front-matter description to reduce aggregated skill-menu size. |
| plugins/dotnet-msbuild/skills/eval-performance/SKILL.md | Trimmed front-matter description to reduce aggregated skill-menu size. |
| plugins/dotnet-msbuild/skills/directory-build-organization/SKILL.md | Trimmed front-matter description to reduce aggregated skill-menu size. |
| plugins/dotnet-msbuild/skills/check-bin-obj-clash/SKILL.md | Trimmed front-matter description to reduce aggregated skill-menu size. |
| plugins/dotnet-msbuild/skills/build-perf-diagnostics/SKILL.md | Trimmed front-matter description to reduce aggregated skill-menu size. |
| plugins/dotnet-msbuild/skills/build-perf-baseline/SKILL.md | Trimmed front-matter description to reduce aggregated skill-menu size. |
| plugins/dotnet-msbuild/skills/build-parallelism/SKILL.md | Trimmed front-matter description to reduce aggregated skill-menu size. |
| plugins/dotnet-msbuild/skills/binlog-generation/SKILL.md | Trimmed front-matter description to reduce aggregated skill-menu size. |
| plugins/dotnet-msbuild/skills/binlog-failure-analysis/SKILL.md | Trimmed front-matter description to reduce aggregated skill-menu size. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
/evaluate |
Skill Validation Results
[1] (Plugin) Quality unchanged but weighted score is -2.6% due to: tokens (107352 → 186307)
Model: claude-opus-4.6 | Judge: claude-opus-4.6 🔍 Full Results - additional metrics and failure investigation steps
▶ Sessions Visualisation -- interactive replay of all evaluation sessions |
|
✅ Evaluation passed for |
Problem
The plugin loader rejects the
dotnet-msbuildplugin:Change
Trim two categories of content from all 18 skill descriptions that do not help an agent decide when to invoke a skill:
DO NOT USE FORstill excludesnon-MSBuild build systems.The high-signal routing content — capability summary,
USE FOR:triggers, andDO NOT USE FOR:cross-references — is fully preserved.Result
Now under the 15,000 limit. Per-skill descriptions remain within the 1,024-char spec limit (max 975).