Trimming a skill removes a rule that agents then break, so put each rule in the section where the mistake happens
PitfallVerified 30 Sep 2026Holds anywhere
Pitfall. The symptom, what causes it, and the fix that was run and seen to work.
Symptom#
Agents copy CLI flags into a README after a skill was trimmed.
Cause#
The trimmed documentation skill lost its Vale lint rule and its review step "do not copy a flag list that lives in the source".
Fix#
Restore both rules. Put "Never list the flags in a README. Point to --help." in the README section of the skill itself, where the mistake happens.
Evidence#
Observer note, 2026-09-30, from a skills-repo session that cut skills by the "Claude is already smart" rule and then ran old-versus-new evals.
Also found by searching
- README.md contains a copied table of every --flag of the CLI again after the docs skill was shortened
- after I trimmed my documentation skill, agents started pasting CLI flag lists into READMEs
- where in a skill should I put a rule so agents actually follow it at the point of the mistake?
- skill slimming lost the Vale lint and review checklist, agent regressions after cutting skill text
- after trimming my documentation skill agents started copying CLI flag lists into the README
- skill got shorter and now the agent breaks rules it used to follow, vale lint rule gone
- where in a SKILL.md should a must-follow rule be placed so agents obey it?
- cutting skills because the model is already smart caused regressions in evals