Repository navigation
Conversation
Apply the Claude 5-generation context-engineering rules: progressive disclosure over upfront detail, a single source per instruction, and expressive descriptions instead of worked examples. - Strip <examples> blocks from six agent descriptions and rewrite them to route on their own. Those blocks were concatenated into every request, costing ~2,400 tokens per turn for agents dispatched by name anyway. - Merge when_to_use into description so the trigger surface has one source. - Extract the procedures duplicated across skills into shared references: feature-branch.md (brainstorm, plan, debrief) and review-dispatch.md (build, hotfix, review). - Demote run-time detail out of SKILL.md bodies: commit-autonomy.md and ship-gate.md (build), plan-authoring.md (plan), issue-previews.md (debrief). - Drop trailing Important / Key Principles blocks that restated the body, moving each load-bearing line to the step it governs. - Document the KEEP / DEMOTE / DELETE rubric and the agent-description rule in CONTRIBUTING.md, with a pointer from AGENTS.md. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
Description
Applies the Claude 5-generation context-engineering rules to Wingspan, mirroring the same prep done in vgv-ai-flutter-plugin#152. Net
-483 / +156lines across 20 files, plus 6 new reference files.<examples>from 6 agent descriptions and rewrote each to route on its own — what it inspects, what it returns, when to reach for itwhen_to_useintodescriptionacross 11 skills; extracted the procedures duplicated across skills intoskills/shared/references/SKILL.mdbodies intoreferences/## Important/## Key Principlesblocks that restated the bodyCONTRIBUTING.mdThe agent descriptions are the headline. Those
<examples>blocks were concatenated into the agent listing on every request — roughly 2,400 tokens per turn, for agents the skills dispatch by name anyway, so the examples bought no routing accuracy.New shared references:
feature-branch.md(brainstorm, plan, debrief) andreview-dispatch.md(build, hotfix, review), symlinked per the existing sharing convention. New skill-local references:commit-autonomy.mdandship-gate.md(build),plan-authoring.md(plan),issue-previews.md(debrief).Skill sizes: build 249→183, plan 219→173, hotfix 166→150, brainstorm 165→142, debrief 156→118, review 136→116.
Type of Change
feat)fix)refactor)docs)ci)chore)Notes for reviewers
SKILL.mdbecause those skills are teaching material. Wingspan's are procedural — the steps are the content — so the rubric here sets no line target. The test is per section: does this change what the model does at the point it is read?success-criteriacontract all survive untouched; only generic restatement was cut.when_to_usewas merged rather than deleted. Claude Code appends it todescriptionin the skill listing, so dropping it outright would have lost trigger phrases.claude plugin validate, markdownlint, and cspell pass. Frontmatter parses, names match directories, no broken links or symlinks.skills_lintwas not run locally (reusable CI workflow) — CI will confirm.🤖 Generated with Claude Code