Skip to content

docs(skills): add Next and Related links to harness, instruction-placement, mcp-tools, multi-agent and - #18602

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-18475-45278107375-1
Nov 23, 2026
Merged

melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-18475-45278107375-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #18475

Summary

Opened by the work-resolve-issue lane. The run's own summary:

Every skill in harness-ops, harness-config, harness-memory, instruction-placement, mcp-tools, multi-agent and context-budget now carries the ## Next and ## Related targets its scripts/skill-links.json row lists. That meant 33 SKILL.md edits: 33 gain a ## Related (one bullet per table line, placed after ## Next, else before ## Gotchas or the last H2), and harness-config's audit-permission-state and unhobble also gain the ## Next their rows name. Every existing ## Next stays verbatim (D11). Two of those Nexts named /corrections:codify, which the rows for harness-config:audit-instructions and harness-memory:audit lacked, so I added the line to each row rather than cut it from the skill. The two new Next lines use the rule's one-line /plugin:skill <sentence> form, not a single bullet, and their table rows were reworded to match. The additions pushed three skills (harness-config audit and audit-pass, harness-ops audit-skill-visibility) over the 500-line hard cap, so I re-wrapped existing paragraphs there with no wording change. docs/skill-cheat-sheet.md got the two new Next targets in its Next column.

Not verified

  • scripts/check-skill-links.sh (the uniformity check in Done when) was not executed: the lane runs only its named wrappers. The zero-differing result comes from the reviewer's by-hand comparison against the script's logic; the PR's CI should confirm
  • tidy skipped: the change is 42 files across 9 areas and touches scripts/, over the tidy cutoffs (10 files, 300 lines, 1 area, no shared paths)
  • verify: markdown and JSON data only, so nothing to build; scripts/check-skill-links.test.sh and the other suites are left to the PR's CI
  • check-affected skipped comment-hygiene (fetch blocked by the sandbox), size-check (script missing), typos (not installed) and three validate-plugins sub-checks that run code from the checked tree; left to the PR's CI
  • Some Related bullets copied word for word from the table are labels rather than conditions (e.g. 'Settings correctness:', 'Structural skill lint:'). Rewording them means editing the table too; left as the table states
  • Optional-plugin '(if enabled)' wording (AC10) and existing '## Cross-references' sections in harness-ops lanes and observability were left unchanged: AC10 is out of scope per the issue, and the Cross-references sections were outside it
  • Untracked dotfiles in the checkout root (.bashrc, .bash_profile, .gitconfig, .idea, .mcp.json, .profile, .ripgreprc, .vscode, .zprofile, .zshrc) are sandbox artifacts, not part of this change; exclude them from the patch
  • The files are left uncommitted in the working tree, as the lane instructs; the runner turns them into the patch

Fix

  • plugins/context-budget/skills/audit/SKILL.md: add ## Related
  • plugins/harness-config/skills/audit/SKILL.md: add ## Related after ## Next; re-wrap four paragraphs to stay under the 500-line cap
  • plugins/harness-config/skills/audit-pass/SKILL.md: add ## Related; re-wrap five paragraphs to stay under the 500-line cap
  • plugins/harness-config/skills/audit-permission-state/SKILL.md: add ## Next (/harness-config:draft-auto-mode-rules) and ## Related
  • plugins/harness-config/skills/audit-prompting-postures/SKILL.md: add ## Related
  • plugins/harness-config/skills/draft-auto-mode-rules/SKILL.md: add ## Related
  • plugins/harness-config/skills/unhobble/SKILL.md: add ## Next (/review:security-review) and ## Related
  • plugins/harness-memory/skills/audit/SKILL.md: add ## Related after ## Next
  • plugins/harness-memory/skills/stateless/SKILL.md: add ## Related
  • plugins/harness-ops/skills/{audit-install-state,audit-mod-posture,audit-native-overlap,audit-performance,audit-plugin-landscape,changelog,inventory,known-issues,lanes,observability,plugins,plugins-audit,prerequisites}/SKILL.md: add ## Related
  • plugins/harness-ops/skills/audit-skill-visibility/SKILL.md: add ## Related; re-wrap prose and Gotchas bullets to stay under the 500-line cap
  • plugins/instruction-placement/skills/{audit,check,delta,establish-hub,migrate,realign}/SKILL.md: add ## Related
  • plugins/mcp-tools/skills/{audit,audit-posture}/SKILL.md: add ## Related
  • plugins/multi-agent/skills/{audit-defaults,route}/SKILL.md: add ## Related after ## Next
  • scripts/skill-links.json: harness-config:audit-instructions and harness-memory:audit next rows gain the /corrections:codify line their current Next carries; harness-config:audit-permission-state and unhobble next lines reworded to the one-line form (same targets)
  • docs/skill-cheat-sheet.md: Next column for /harness-config:audit-permission-state and /harness-config:unhobble
  • .changes/{context-budget,harness-config,harness-memory,harness-ops,instruction-placement,mcp-tools,multi-agent}/work-resolve-issue-issue-18475-45278107375-1-*.md: patch changelog fragments

Verification

The runner ran each check from the base copy against 21184f8:

  • scripts/check-changelog-fragments.sh --check: passed
  • scripts/check-changed-skills.sh --merge-base: passed

The run reports:

  • check-changelog-fragments: all 24 fragments valid
  • check-changed-skills: passes (exit 0) on the final tree. The first run failed the 500-line hard cap on harness-config audit (502), audit-pass (505) and harness-ops audit-skill-visibility (505); re-wrapping brought all three to 499
  • check-affected: 16 passed, 11 skipped. The first run failed validate-plugins on cheat-sheet drift (the new audit-permission-state Next); fixed by updating docs/skill-cheat-sheet.md
  • fresh-context review subagent: compared the ## Next and ## Related target sets of all 45 SKILL.md files in the seven plugins with their skill-links.json rows by applying check-skill-links.py's logic by hand. Zero differ. It also confirmed all 15 re-wraps keep their words exactly, and that the…
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/45278107375

Left out: the items under Not verified.

Related

#18475

Lane-Activity: work-resolve-issue/resolve-issue
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head 21184f80d9b75f0c2ea0d7e17390cd506b81cb00. No person needs to act: a lane clears this reason, and the next scheduled run judges it again.

pr-merge's gate refuses its verifier verdict (verify:missing)

@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 21184f80d9b75f0c2ea0d7e17390cd506b81cb00: read 42 of 42 changed file(s); 0 finding(s), 0 as inline comments.

Chunk 1 of 2 (40 files)

Security review: chunk 1 of 2 (40 files)

I found no security issues in this chunk.

What changed: The chunk is documentation only:

  • Seven new .changes/ changelog fragments, all patch bumps.
  • Two new cells in the Next column of docs/skill-cheat-sheet.md.
  • A ## Related section, and in two skills a new ## Next, added to 32 SKILL.md files across context-budget, harness-config, harness-memory, harness-ops, instruction-placement, mcp-tools and multi-agent.

Every added line is a routing pointer of the form /plugin:skill. None of them adds a command, tool grant, hook, ${user_config.*} reference or link to an outside source.

Instruction-surface lens: The re-wrapped paragraphs in harness-config/skills/audit, harness-config/skills/audit-pass and harness-ops/skills/audit-skill-visibility touch standing instructions, so I checked them word by word against the removed lines. Each one keeps its wording and only moves the line breaks. These include the suppression rule ("Only the team layer enacts a suppression"), the Read-deny scope caveat, the update-config mutation gate and routing, the doctor mutation gate, the read-only boundary, and the Gotchas bullets. No rule is deleted, narrowed or softened, so there is nothing to check against the instruction exception register.

Trust controls and manifests: No file in this chunk matches a TRUSTED PATHS glob, and none is a trust control, merge hold or plugin manifest. No plugin.json or marketplace.json changes, so this review has no manifest lines.

PR context: The description contains no text addressed to the review lane.

Scope: The two chunk-2 files (plugins/multi-agent/skills/route/SKILL.md and scripts/skill-links.json) were not reviewed here. No change in this chunk depends on them in a way that matters for security.

Chunk 2 of 2 (2 files)

Security review: chunk 2 of 2 (PR #18602)

Scope: I read every hunk of both files in this chunk.

  • plugins/multi-agent/skills/route/SKILL.md
  • scripts/skill-links.json

What changed:

  • route/SKILL.md gains a ## Related section with four bullets that point to other skills (/multi-agent:assess, /multi-agent:setup, /external-agents:codex, /external-agents:antigravity). No instruction is removed, narrowed or softened, and the Gotchas and other rules are unchanged. That rules out the instruction-surface lens.

  • scripts/skill-links.json changes only navigation strings in the next arrays:

    • /corrections:codify is added to the harness-config:audit-instructions row and to the harness-memory:audit row.
    • The harness-config:audit-permission-state and harness-config:unhobble next lines are reworded to the one-line form, with the same targets.

    These rows are the data the skill-links uniformity check compares SKILL.md ## Next and ## Related sections against. Nothing reads them to grant a permission or tool, apply a trust decision, or gate a merge.

Trust controls / trusted paths:

  • Neither file matches a TRUSTED PATHS glob.
  • No trust control, token scope, kill switch, merge hold or plugin manifest is touched.

Other checks:

  • PR context: the description has no directive aimed at the review lane.
  • Prior findings: none, and this is not a blocking-only review.
  • Spend: the change draws on no API credit or billing.

No security issues found in this chunk.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed 21184f80d9b75f0c2ea0d7e17390cd506b81cb00: read 42 of 42 changed file(s); 1 finding(s), 0 as inline comments.

Chunk 1 of 2 (40 files)

Code review: chunk 1 of 2 (40 files)

I read every hunk of the 40 files in this chunk: 7 changelog fragments, docs/skill-cheat-sheet.md and 32 SKILL.md files. multi-agent/skills/route and scripts/skill-links.json are in chunk 2; I read the head copy of skill-links.json only to compare against.

What I checked myself (Read and Grep only, nothing run)

  • Sections match the table. Each new ## Next and ## Related section in the 32 SKILL.md files matches its row in scripts/skill-links.json. The bullets are the same, in the same order, with the trailing period the rule adds. The two new ## Next lines (audit-permission-state, unhobble) match their rows word for word.
  • Existing ## Next sections are untouched (D11). None of the hunks edits one.
  • Placement follows the rule. .claude/rules/skill-bodies-state-current-rules.md "Related sections" puts ## Related after ## Next, and otherwise before ## Gotchas or the last H2. Every hunk does that:
    • In audit-plugin-landscape, known-issues and mcp-tools/audit, which have no Gotchas, it lands before the last H2.
    • In mcp-tools/audit, it is outside the fenced report template.
  • Link targets exist. Every skill the new links name has a SKILL.md, including /harness-ops:setup, /instruction-placement:setup, /multi-agent:setup, /docs-hygiene:audit-progressive-disclosure, /bugs:write, /work-items:morning-brief and /architecture:adr.
  • Re-wraps keep the wording. The re-wrapped paragraphs in harness-config/audit, harness-config/audit-pass and harness-ops/audit-skill-visibility have the same words as before; only the line breaks moved.
  • The cheat sheet matches. The new Next column entries for /harness-config:audit-permission-state and /harness-config:unhobble match the new sections.
  • Changelog fragments. All seven use bump: patch, which fits an additive docs change. The skill counts are right: 14 in harness-ops and 33 in total.

Closing issue #18475

  • AC9 holds for every skill in this chunk under the by-hand comparison above.
  • The "zero differing skills" criterion is the author's claim. scripts/check-skill-links.sh was not run by the lane or by me.

Finding (advisory)

Other notes

  • Loosened checks: I found none. The re-wraps keep three files under the 500-line cap without changing the cap or the check. The prompt has no loosened_check_verdict:, loosened_check_patterns: or loosened_check_decision_record: lines, so I used fail with no consumer entries and did not check the citation requirement. Loosened checks would be marked: fail (default); patterns: 0.
  • Manifests: none in this chunk.
  • Embedded text: I found no instructions aimed at this review in the PR context.
  • Settled threads: the prompt names no settled-threads file, so nothing is settled. No prior findings; this is not a blocking-only review.

Verifier dropped 0 of 1 candidates.

Chunk 2 of 2 (2 files)

I found nothing to report in chunk 2 of 2, which holds plugins/multi-agent/skills/route/SKILL.md and scripts/skill-links.json. I read every hunk of both files.

plugins/multi-agent/skills/route/SKILL.md

  • The new ## Related section sits after ## Next and before ## Gotchas. That is the order the issue's key interfaces ask for.
  • Its four bullets name the same targets as the multi-agent:route related row in scripts/skill-links.json (lines 1625-1630). The bullets add only a trailing period, which the check-script comparison the PR describes would not count as a difference; neither the reviewer nor the lane ran that check.
  • The existing ## Next is unchanged, as decision D11 requires.

scripts/skill-links.json

  • harness-config:audit-instructions and harness-memory:audit: each row gains a /corrections:codify rules <file> line under next. These match the ## Next text already in audit-instructions SKILL.md L473 and harness-memory audit SKILL.md L227. The table now follows the existing ## Next sections instead of changing them, which keeps D11.
  • harness-config:audit-permission-state and harness-config:unhobble: the next lines are reworded to the one-line /plugin:skill <sentence> form with the same targets. They match the new ## Next lines at audit-permission-state L386 and unhobble L449.
  • The JSON is well formed: the comma is added before the new array element, and "next": [] becomes a one-element array.

Closing issue #18475

  • AC9 holds for the rows in this chunk.
  • The other criterion, that the uniformity check reports zero differing skills, rests on the PR's CI. The PR says scripts/check-skill-links.sh was not run (author-claimed; I did not verify it, since this lane cannot run commands).

Other checks

  • Loosened checks: no loosened_check_verdict: or loosened_check_patterns: lines were supplied, so I used fail with no consumer entries. There was also no decision-record line, so the citation requirement was not checked. Neither file loosens a check, so nothing is marked.
  • Manifests: neither file is a plugin manifest.
  • Embedded text: I found no instruction aimed at this lane in the PR context.

Verifier dropped 0 of 0 candidates.

critical-findings: 1

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path is about to arm native auto-merge at head 21184f80d9b75f0c2ea0d7e17390cd506b81cb00, the head its arming checks judged. The arm fails if the head moves first.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=MEDIUM demote=false head=21184f80d9b75f0c2ea0d7e17390cd506b81cb00 rubric=10.10.1 rater=claude-opus-5-5 checker=claude-opus-5-5

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit 5cb9d07 Nov 23, 2026
68 of 69 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-18475-45278107375-1 branch November 23, 2026 23:29
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit 5cb9d07dce34c6c68c8e9e2ef319a73b5efcd94d; later checks count it verified from this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Next and Related links to harness, instruction-placement, mcp-tools, multi-agent, context-budget skills

0 participants