You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
skill-quality: check-skill passes a skill with no ## Next section though the skill-bodies rule requires one #4066
No related issue: found during the principles leg of #3848 (code-metrics), where the gate passed a skill the skill-bodies rule rejects.
What was observed
.claude/rules/skill-bodies-state-current-rules.md requires that a skill with a natural successor names it in a ## Next section placed before ## Gotchas, in one of two shapes: one /plugin:skill invocation on a line, or two to four <outcome>: /plugin:skill bullets. Six of the seven code-metrics skills carry one; principles does not. check-skill.sh principles reports PASS with 0 errors and 0 warnings.
The gate's 25 checks include a Gotchas-surface check (check 11, WARN) and nothing about ## Next, so a skill that omits the section is indistinguishable at the gate from one that has it.
Add an advisory check in the same tier as the Gotchas check: WARN when SKILL.md has no ## Next heading, WARN when it has one that is not placed before ## Gotchas (or before the last H2 when there is no Gotchas section), and WARN when the section body is neither a single /plugin:skill line nor two to four bullets of the <outcome>: /plugin:skill shape. WARN rather than FAIL because "has a natural successor" is a judgment the rule leaves to the author, and a terminal skill may legitimately have none.
Acceptance criteria
A skill with no ## Next section produces one WARN naming the rule.
A skill whose ## Next sits after ## Gotchas, or whose body is neither shape, produces one WARN.
Every skill in this repository that already carries a conforming ## Next produces no new warning.
The check's number and one-line description are added to the checks list at the top of check-skill.sh.
Out of scope
Deciding which skills have a successor; the check reports absence, the author decides.
One calibration change from the proposal above, made while implementing: absence of ## Next is an INFO note rather than a WARN. Measured on this repository at the time, 226 of 258 skills carry no ## Next, so a WARN on absence would fire on most of the fleet and bury the gate's signal, and the rule leaves "has a natural successor" to the author. A section that is present but placed after ## Gotchas, last in the file, or in neither the one-invocation nor the two-to-four-bullet shape still WARNs, which is where the rule names a shape and the author did not intend to miss it. The check lands as check 27 (main gained a check 26 in the meantime) with five test cases, in the same pull request as #4067.
Activity
kyle-sexton commentedon Sep 11, 2026
One calibration change from the proposal above, made while implementing: absence of
## Nextis an INFO note rather than a WARN. Measured on this repository at the time, 226 of 258 skills carry no## Next, so a WARN on absence would fire on most of the fleet and bury the gate's signal, and the rule leaves "has a natural successor" to the author. A section that is present but placed after## Gotchas, last in the file, or in neither the one-invocation nor the two-to-four-bullet shape still WARNs, which is where the rule names a shape and the author did not intend to miss it. The check lands as check 27 (main gained a check 26 in the meantime) with five test cases, in the same pull request as #4067.Generated by Claude Code