Skip to content

docs(skills): add Next and Related links to session-flow, work-items, source-control, implementation and - #18564

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

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

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #18474

Summary

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

The 33 SKILL.md files in these five plugins that the committed table (scripts/skill-links.json) marks Next, Related or both now carry those sections with the table's text. Each Related line is a bullet ending in a period, per the skill-bodies rule. New Next sections sit before ## Gotchas, or before the last H2 where a file has none, and Related follows Next. Existing Next sections are verbatim (D11). The table's implementation:implement row lacked the skill's current Next line 'Survivors persisted by the advisory mutation run: /testing:write'. D11 keeps a current Next verbatim, so the fix went into the table row, not the skill. morning-brief's ## Cross-references section became the table's Next and Related sections. pull-request's old Related, which sat above Next, was replaced by the table's Related, placed after Next. Four files went over the 500-line SKILL.md cap (handoff, babysit-prs, triage, work-loop). They were brought back under it by joining hard-wrapped lines, a whitespace-only change since the repo sets no markdown line-length limit.

The run went past its turn budget (turns=170 max-turns=150): the work may be too big for one run.

Not verified

  • scripts/check-skill-links.sh (the uniformity check) has no lane wrapper, so it was not run here. Its zero-differing result for these plugins was checked by the fresh-context review applying the same TARGET regex by hand; the PR's CI runs the script.
  • Each Related line copies the table text and adds a trailing period, the '<condition>: /plugin:skill.' shape the skill-bodies rule shows. The check compares only targets, so this does not affect it.
  • Tidy skipped: the change is over the tidy cutoffs (about 43 changed files against a cap of 10, five plugin areas plus docs/ and scripts/) and touches the shared path scripts/.
  • markdownlint did not run: check-changed-skills runs with CHECK_SKILL_SKIP_MARKDOWNLINT=1 and the lane has no markdownlint wrapper. Left to the PR's CI.
  • check-evals-quality does not apply to the two edited eval prompts: it reads JSON eval sets and exits 2 on these prompt.md case files (work-items has no JSON eval set). Left to the PR's CI eval-cases check.
  • check-affected skipped comment-hygiene and size-check (could not fetch or locate their scripts in this lane) and lists many CI-only scanners, next-graph among them. Left to the PR's CI.
  • Changes are left uncommitted in the working tree, as the runner's system prompt instructs; the runner turns them into the patch.
  • git status shows untracked .bash_profile, .bashrc, .gitconfig, .idea, .mcp.json, .profile, .ripgreprc, .vscode, .zprofile and .zshrc at the repo root. They are /dev/null character devices the sandbox mounts, not files this run created, and must not go into the patch.

Fix

  • plugins/implementation/skills/{implement,implement-dispatch}/SKILL.md: added ## Related per the table.
  • plugins/session-flow/skills/{audit-friction,audit-sessions,clean-stop,continue-in-background,go-with-recommendations,handoff,keep-going,orchestrate,recommend-skills,reconcile,retro,running-retro,step-away,tidy-work,workflow}/SKILL.md: added ## Related per the table; handoff also joins wrapped lines…
  • plugins/session-flow/skills/{find-handoff,orient,reanchor}/SKILL.md: added ## Next and ## Related per the table.
  • plugins/source-control/skills/{babysit-loop,babysit-prs,worktree}/SKILL.md: added ## Related per the table; babysit-prs also joins the wrapped Spoke paths paragraph to stay under 500 lines.
  • plugins/source-control/skills/pull-request/SKILL.md: replaced the ## Related above ## Next with the table's Related, placed after ## Next.
  • plugins/source-control/skills/setup/SKILL.md: added ## Next per the table.
  • plugins/verification/skills/confirm/SKILL.md: added ## Related per the table.
  • plugins/work-items/skills/{attend-queue,ship,track,triage,work,work-loop}/SKILL.md: added ## Related per the table; triage and work-loop also join wrapped lines to stay under 500 lines.
  • plugins/work-items/skills/morning-brief/SKILL.md: replaced ## Cross-references with the table's ## Next and ## Related.
  • plugins/work-items/skills/setup/SKILL.md: added ## Next per the table.
  • plugins/work-items/evals/mb-local-telemetry-routes-to-observability/prompt.md, plugins/work-items/evals/mb-merge-ready-routes-to-babysit/prompt.md: the descriptions named morning-brief's removed 'Cross-references' section; they now name 'Related' and 'Next'.
  • scripts/skill-links.json: added the current 'Survivors persisted by the advisory mutation run: /testing:write.' line to the implementation:implement next row, so the table matches the Next that D11 keeps verbatim.
  • docs/skill-cheat-sheet.md: filled the generated Next column for find-handoff, orient, reanchor and morning-brief with the tokens scripts/generate-cheatsheet.mjs derives from their new ## Next sections (the validate-plugins drift check flagged it).
  • .changes/{session-flow,work-items,source-control,implementation,verification}/work-resolve-issue-issue-18474-45259087441-1-*.md: patch fragments describing the new sections.

Verification

The runner ran each check from the base copy against 1547c94:

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

The run reports:

  • check-changelog-fragments: all 50 fragments valid.
  • check-changed-skills: passes after the cap trims (first run failed handoff 505, babysit-prs 503, triage 504 and work-loop 504/500 lines on the 500-line hard cap; fixed by whitespace-only line joins). The only remaining '## Next' warnings are on the existing Next sections of implement (5 bullets)…
  • check-affected: 16 passed, 11 skipped, 0 failed over 43 changed files (first run failed validate-plugins on cheat-sheet drift for find-handoff; fixed by updating the four generated rows).
  • Fresh-context subagent review of the whole diff: compared every one of the 44 skills' ## Next and ## Related target sets against scripts/skill-links.json using check-skill-links.py's TARGET regex and found all 44 match. It also confirmed section placement follows the rule, the line joins changed…
  • Read scripts/next-graph-chain.txt: none of the skills that gained a ## Next is on the next-graph roster, and every new Next target resolves to an existing SKILL.md.
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/45259087441

Left out: the items under Not verified.

Related

#18474

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 1547c942ec1f97f5abaad7841b5beaa70e7ce583: read 43 of 43 changed file(s); 0 finding(s), 0 as inline comments.

Chunk 1 of 2 (40 files)

Security review: chunk 1 of 2 (40 files)

No security issues found.

This chunk changes only documentation:

  • New navigation sections. ## Related and ## Next sections were added to SKILL.md files across the session-flow, source-control, implementation, verification and work-items plugins.
  • Changelog fragments. Five new fragments under .changes/.
  • Cheat sheet. The generated Next column in docs/skill-cheat-sheet.md was filled in.
  • Eval descriptions. Two morning-brief eval descriptions now name the renamed sections.

None of these files is on the trusted-path list. Nothing in this chunk touches a workflow, script, manifest, userConfig key, hook, permission rule or trust control.

Instruction-surface check. I checked each spot where the diff removes or rewrites existing text:

  • plugins/work-items/skills/morning-brief/SKILL.md: ## Cross-references was replaced by ## Next and ## Related. The removed text said the brief's merge-ready list is a glance and not a substitute for babysit-prs's per-PR gate. That rule still holds in two places in the same file:

    • the "Does not classify PR merge-readiness authoritatively" rule at line 441;
    • the read-only outbound-channel cut at line 111.

    The new Next line also still sends merge-ready PRs to the authoritative gate check.

  • plugins/source-control/skills/pull-request/SKILL.md: the old ## Related list was replaced and moved below ## Next. It held only navigation pointers, no guardrail.

  • Re-wrapped lines in handoff, babysit-prs (Spoke paths) and triage (Apply outcome, AI disclaimer): I compared old and new text. Only line breaks changed, the wording is the same, and the "Does not commit / does not invoke /clear / does not launch a background agent / does not continue executing" rules in handoff are intact.

The instruction exception register file was not consulted. Recognition by consequence found no removed rule that matters.

PR context. No embedded instructions aimed at the review lane.

Spend. None. The chunk changes no lane budget, schedule, model choice or billing setting.

Chunk 2 of 2 (3 files)

Security review: chunk 2 of 2 (3 files)

No security issues found in this chunk.

What I checked

  • plugins/work-items/skills/work-loop/SKILL.md: The change adds a ## Related section with two skill links and joins four hard-wrapped ## Gotchas bullets onto single lines. I compared each removed bullet with its replacement word for word. The guardrails are unchanged: "never merges, and never asks another lane to", "Claim before dispatch", "Do not chase intake", and "Telemetry is ... never the escalation channel". Under the instruction-surface lens nothing is deleted, narrowed or softened; the wording is the same with different line breaks.
  • plugins/work-items/skills/work/SKILL.md: The change adds a ## Related section with three in-repository skill links. The section is navigation only: no command, tool input or permission comes with it.
  • scripts/skill-links.json: The change adds one next string (/testing:write) to the implementation:implement row. This is a navigation-table entry that the link-uniformity check compares against. It grants nothing, runs nothing and gates no trust control.

Other checks

  • None of the 3 files matches a trusted-path glob or a trust-control path.
  • None of them is a plugin manifest, so no manifest lines apply.
  • The PR context holds no embedded instructions aimed at the lane.
  • There are no prior findings, so this was a full review, not a blocking-only one.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed 1547c942ec1f97f5abaad7841b5beaa70e7ce583: read 43 of 43 changed file(s); 0 finding(s), 0 as inline comments.

Chunk 1 of 2 (40 files)

Code review: chunk 1 of 2 (40 files)

No findings in this chunk.

I read every hunk of the 40 files in this chunk: 5 changelog fragments, docs/skill-cheat-sheet.md, 32 SKILL.md files and 2 morning-brief eval prompts. I checked them against the closing issue #18474, scripts/skill-links.json at head (a chunk-2 file, read as context) and .claude/rules/skill-bodies-state-current-rules.md ("Successor sections", "Related sections").

AC9, that each skill carries its sections as the table writes them. I compared a sample of the new ## Next and ## Related sections against the table rows by hand, and every one matched in target and wording:

  • implement and implement-dispatch
  • find-handoff, orient and reanchor
  • pull-request
  • source-control:setup, work-items:setup and worktree
  • morning-brief, ship, track and triage
  • audit-friction

Each Related bullet adds the trailing period the rule's <condition>: /plugin:skill. shape asks for. The second criterion, that the uniformity check reports zero differing skills, rests on scripts/check-skill-links.sh in the PR's CI. I did not run it. The author's hand check of all 44 skills is author-claimed and unverified.

Placement. Every new ## Next sits before ## Gotchas, or before the last H2 where a file has no Gotchas (work-items:setup before "What this skill does not do", worktree's Related before "Graceful Degradation"). Every ## Related follows ## Next where both exist. pull-request's Related now comes after Next, as the rule asks.

Content kept.

  • morning-brief replaced its ## Cross-references section with ## Next and ## Related. The "authoritative" merge-gate wording survives in the new Next line and in "What this skill does not do". The not-read-local-telemetry routing survives there too.
  • The two eval descriptions now name the section that holds each route: babysit-prs under Next, observability under Related.
  • The cheat-sheet Next column for find-handoff, orient, reanchor and morning-brief matches the new sections in order.

Line joins. The joins in handoff, babysit-prs and triage change only whitespace. The 500-line cap they serve is author-claimed and is left to check-changed-skills in CI.

Settings. No loosened_check_verdict: or loosened_check_patterns: lines were supplied, so I used fail with no consumer entries. No loosened_check_decision_record: line was supplied, so I did not check the citation requirement. Nothing in this chunk loosens a check.

Loosened checks would be marked: fail (default, no settings lines supplied); patterns: 0

There are no settled threads and no prior findings, since this is this lane's first review of the PR. No embedded instructions appeared in the PR context.

Verifier dropped 0 of 0 candidates.

Chunk 2 of 2 (3 files)

Code review: chunk 2 of 2 (3 files)

No findings.

What I checked:

  • plugins/work-items/skills/work-loop/SKILL.md: the new ## Related sits after ## Next and before ## Gotchas. It matches the work-items:work-loop row of scripts/skill-links.json in both targets and text, plus a trailing period. The ## Gotchas edits only join hard-wrapped lines. I compared each bullet word for word and nothing in the content changed.
  • plugins/work-items/skills/work/SKILL.md: the new ## Related follows ## Next and matches the work-items:work row's three entries.
  • scripts/skill-links.json: the added implementation:implement next entry, "Survivors persisted by the advisory mutation run: /testing:write.", matches the current ## Next of plugins/implementation/skills/implement/SKILL.md in text and position (head lines 297-303). This fits D11 in the closing issue: the existing Next stays as written and the table is fixed to match it. The test script scripts/check-skill-links.test.sh does not reference this row.

Closing issue #18474 AC9, for this chunk's skills: work and work-loop carry the sections their table rows mark. The second criterion, that the uniformity check reports zero differing skills, is checked by scripts/check-skill-links.py in CI. I could not run it, so the author's claim that it reports zero is unverified.

Loosened checks: the prompt gave no loosened_check_verdict: or loosened_check_patterns: lines, so I applied the default (fail, no consumer entries). No decision-record line was given, so the citation requirement was not checked. None of the changes in this chunk loosens a check. Loosened checks would be marked: not applicable, no loosening found.

There are no manifest changes in this chunk and no prior findings. This is a full review, not blocking only.

Verifier dropped 0 of 0 candidates.

critical-findings: 0

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path is about to arm native auto-merge at head 1547c942ec1f97f5abaad7841b5beaa70e7ce583, 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=1547c942ec1f97f5abaad7841b5beaa70e7ce583 rubric=10.10.0 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 1245816 Nov 23, 2026
69 of 70 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-18474-45259087441-1 branch November 23, 2026 21:28
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit 124581677b1d96ea583fe20058d169df15712f27; 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 session-flow, work-items, source-control, implementation, verification skills

0 participants