Repository navigation
feat(ci): commit the accepted skill-link table and a report-only check - #18495
Conversation
scripts/skill-links.json holds the owner-accepted Next and Related entries for every skill. scripts/check-skill-links.sh compares each SKILL.md's ## Next and ## Related target sets with its row, lists skills with no row, and lists optional-plugin mentions outside those sections that lack "(if enabled)". It exits 0 on findings; the Check Catalog job writes its report to the job summary. Closes #18473 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UJUn7LaiGLnfcEhW7oFi7L
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UJUn7LaiGLnfcEhW7oFi7L
One skill per line put words from separate Next bullets on one line, which the line-scoped vocabulary check reads as one phrase. The table is data with no split along a responsibility, so code-metrics size excludes it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UJUn7LaiGLnfcEhW7oFi7L
The table dropped existing Related targets from explainer-video:produce, playwright:demo-video, review:reviewer-media, review:explain-change and source-control:pull-request. The owner's decision keeps current links, so the rows now carry them and the check reports no dropped current link. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UJUn7LaiGLnfcEhW7oFi7L
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. |
…case reads Test Selection failed: the suite's real-checkout case reads every SKILL.md and plugin.json, but no rule selected the suite when those change. Declare them in a test-scope line (affected-tests.sh R8) so a change to any of them runs it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UJUn7LaiGLnfcEhW7oFi7L
|
claude-security-review reviewed Security review (incremental, blocking only): no security issues foundThis was an incremental review of the push since
The script still only reads files in the checkout and writes to stdout and stderr. It runs no subprocess, evaluates nothing and makes no network call. Error messages repeat a path or row key the PR author already controls, so no new injection surface opens up. Failing fast on bad input narrows the script's behaviour rather than widening it.
Other checks.
Spend. The one extra test case adds negligible runtime on the ordinary CI minutes the job already uses. That is not a hold. critical-findings: 0 |
|
claude-review reviewed Incremental review: 814858e → 43672b5 (blocking only)This lane already reviewed an earlier head, so this round reports blocking findings only. The scope is the two files this push changed: What changed
Earlier blocking finding (code-metrics exclusion)
Closing issue #18473
Inputs and policy
No verifier subagent was dispatched: the review found no candidate that met the blocking bar. Verifier dropped 0 of 0 candidates. |
A malformed row, an unparsable plugin.json or an unreadable SKILL.md raised a traceback and exit 1, which the check-script contract reserves for findings and this report-only check never uses. Each now names the file and exits 2; a test covers a malformed row. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UJUn7LaiGLnfcEhW7oFi7L
|
Replying to the claude-review summary on 814858e.
|
Post-merge mutation testingKilled 6, survived 1, timeout 0, no coverage 0, invalid 0, not run 0.
Surviving mutants
The run's summary has the full report. |
Closes #18473
Summary
Commits the owner-accepted Next/Related table as data and adds a report-only check that compares every skill against it, so the conversion items (#18474 to #18479) are judged on link targets.
Fix
scripts/skill-links.json: one entry per skill (362),{"next": [...], "related": [...]}. Next items are each skill's current## Nextkept verbatim (one entry per bullet or paragraph), or the drafted Next where the skill had none; Related items arecondition: /plugin:skill [args]lines, and every current Related target is kept. Review annotations in parentheses and fragments with no target were dropped.scripts/check-skill-links.sh(wrappingcheck-skill-links.py): per skill, compares the/plugin:skilltarget sets of## Nextand## Relatedwith the row and prints oneDIFFERS:line naming missing and extra targets; printsNO ROW:andROW WITHOUT SKILL:lines; printsWORDING:for a mention of another plugin's skill outside those sections (and outside frontmatter and code fences) that is not followed by "(if enabled)", unless the plugin is a declared dependency. Exits 0 when it ran (report-only, owner decision), 2 when it cannot run.scripts/README.mdlists it among the members that diverge on purpose. The data file is excluded from the code-metrics size check (docs/conventions/code-metrics.yaml): it is one table with no responsibility split.Verification
scripts/check-skill-links.shat head 814858e: exit 0; 362 skills, 196 differ from the table, 0 have no row, 0 rows name no skill, 1091 optional-plugin mentions lack "(if enabled)". The same table against the 48ded7d snapshot also gives 196 (the issue estimated 195). No differing skill has an extra target: every difference is a link the table adds.scripts/check-skill-links.test.sh: 9 passed at head 43672b5 (matching skill, differing skill, no-row skill, wrong optional-plugin wording, exit 2 on a missing table, exit 2 with no traceback on a malformed row, exit 0 on the checkout); its# test-scope:lines declare the SKILL.md and plugin.json files the checkout case reads. Replacing the "(if enabled)" test with an always-report fails 2 of them.scripts/check-script-contract.test.sh: 72 passed.scripts/check-affected.sh: 21 passed, 3 skipped. shellcheck, ruff and actionlint clean.Loosened checks
docs/conventions/code-metrics.yamladdsscripts/skill-links.jsonto the size check'sscope.exclude. Reason: it is generated data, one 362-row table with no code to split; a one-line-per-skill layout would fit the size reference but tripscheck-vocabularyon joined prose. The check that reads the file (check-skill-links.sh) and its tests cover its content.Related
🤖 Generated with Claude Code
https://claude.ai/code/session_01UJUn7LaiGLnfcEhW7oFi7L