Repository navigation
docs(rules): add ## Related sections and optional-plugin wording - #18324
Conversation
The skill-bodies rule now defines `## Related` beside `## Next` for context-dependent links, and one wording for optional-plugin mentions in skill bodies: "`/plugin:skill` (if enabled)", with "; otherwise" and a fallback when one exists. `## Next` and `## Related` stay exempt. Closes #18316 Co-Authored-By: Claude Opus 5.5 <[email protected]>
The "required spawn without node" case kept /usr/bin on PATH, so on a host that installs node there the probe still found node and the case failed. Link the system tools without node instead. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed Security review: PR #18324I found no security issues in this pull request. I read the full change in all 3 files:
No trust control, merge hold, token scope, kill switch, plugin manifest or workflow is touched. critical-findings: 0 |
|
claude-review reviewed Code review: PR #18324I read every hunk of all three changed files: Closing issue #18316
Links and index
Test script change
Not checked
Verifier dropped 0 of 0 candidates. |
Closes #18316
Summary
The skill-bodies rule (
.claude/rules/skill-bodies-state-current-rules.md) now defines a## Relatedsection beside## Next, and one wording for optional-plugin mentions in skillbodies, so authors and the later uniformity check work from one written convention.
Fix
## Related sections: the heading is exactly## Related, placed after## Next; its bodyis bullets of
<condition>: /plugin:skill [args]., one condition per line; like## Next, noSkill-tool phrasing, availability gate or fallback; a standalone skill carries neither section;
a user-only skill link needs no extra clause (Q53, Q59).
## Optional-plugin mentions: outside## Nextand## Related, a mention reads"
/plugin:skill(if enabled)", plus "; otherwise" and the fallback when one exists, pointing atthe plugin-philosophy guard rule;
## Nextand## Relatedare exempt (D4).## Relatedtoo.descriptionupdated;AGENTS.mdrules index regenerated withrender-index.sh write.The authoring bullet "add or update the skill's row in the skill-links table" is not added: the
issue conditions it on that table existing, and it does not exist yet.
Test fix found on the way
scripts/check-exec-form-windows-probe.test.shfailed its "required spawn without node" case onany host with
/usr/bin/node(it kept/usr/binon PATH, so node stayed visible); it failed thesame way on
main. The case now links the system tools without node. GitHub's runners keep nodeoutside
/usr/bin, which is why CI never saw it.Verification
grep -c '^## Related sections' .claude/rules/skill-bodies-state-current-rules.mdprints1(AC9).## Optional-plugin mentionssection states the D4 wording and the exemption.markdownlint-cli2,typos,check-vocabulary.pyon both files: clean.render-index.sh check --file AGENTS.md: in sync afterwrite.scripts/check-next-graph.py: passes.check-exec-form-windows-probe.test.sh: 41/41 pass (was 40/41);shellcheckclean.check-affected.sh --tests): pass on the pushed head.Related
🤖 Generated with Claude Code