Skip to content

Mark optional-plugin skill mentions "(if enabled)" across all SKILL.md files in one scripted PR #18506

Description

@kyle-sexton

Parent

Refs #18320: Convert skill links per the accepted classification, with a uniformity check

Depends on

Outcome

Every SKILL.md mention of an optional plugin's skill outside ## Next and ## Related reads "/plugin:skill (if enabled)", applied by one script in one PR across all plugins.

Demo: the uniformity check reports 0 optional-plugin mentions lacking "(if enabled)" (1,091 across 202 SKILL.md files when this was filed).

Problem: plugin profiles switch plugins off by phase, so a skill body that names another plugin's skill must say that skill may be absent, one consistent way.
Goal: links between skills marked one consistent, context-efficient way.

  • Intent (why, in the user's words): "I don't want to sacrifice quality for any of this."
    Constraints:
  • Skills CI and unattended lanes start must stay model-invocable.

Decisions

  • D4: optional-plugin mentions read "/plugin:skill (if enabled)", with "; otherwise " when a fallback exists; ## Next and ## Related are exempt.
  • Owner, 2026-11-23: the rewording is one scripted PR, not hand edits in the six link-group PRs; rejected: hand edits in each group PR (about 180 mentions each, two concerns per PR).

Key interfaces

  • The uniformity check's wording findings: one WORDING: <file>:<line>: /plugin:skill lacks "(if enabled)" line each. Its rule for what counts (own plugin and declared dependencies excluded; frontmatter and fenced code skipped) is the scope.
  • The skill-bodies rule, "Related sections" closing paragraph (the wording and its ; otherwise fallback form).

Done when

  • AC10: the uniformity check reports 0 optional-plugin mentions lacking "(if enabled)".
  • Only the guard text changes: the diff adds " (if enabled)" (and "; otherwise" only where the sentence already names a fallback) and no other wording.
  • The script that made the edit is not committed unless something re-runs it; the PR body gives its command and the before/after counts.
  • On a conflict with a link-group PR, re-run the script on the new base instead of resolving by hand.

Out of scope

  • ## Next and ## Related sections (link-group items).
  • Mentions outside SKILL.md (reference files, agents).

Activity

  1. added
    agent-ready
    on Nov 23, 2026
  2. added
    needs-triage
    on Nov 23, 2026
  3. github-actions commented on Nov 23, 2026

    @github-actions
    Contributor

    Size: Medium
    Complexity: Low
    Uncertainty: Known
    Flags: none
    Blocked by: #18473
    Blast radius: about 202 SKILL.md files across all plugins (guard-text wording only); read by skill-loading models and maintainers.
    Reversible: yes; revert the single PR.
    Open questions: none
    Understood: one scripted PR appends " (if enabled)" to every optional-plugin skill mention outside ## Next and ## Related, until the uniformity check reports 0 findings. The decision (D4) and the owner's choice of one scripted PR are already in the issue, so nothing is open. It depends on the uniformity check in #18473, which is still open. It is a child of #18320. I found no duplicate and no merged PR that already does this.

    Automated triage. A maintainer reviews it.

  4. removed
    needs-triage
    on Nov 23, 2026
  5. melodic-automation-lanes commented on Nov 23, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane yet: blocker #18473 is not closed by a listed human or a merge.

  6. melodic-automation-lanes commented on Nov 23, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"bca9c69ecaff9cb93e677269780f3454527f5143fb2650dbdc916d6cfe67decc","body_sha256":"93e88fee36bb97ef99417c3b8c434ec4e75f0e9c847b2109515f32d35192c46c"}

  7. melodic-automation-lanes commented on Nov 23, 2026

    @melodic-automation-lanes
    Contributor

    This records a re-fire of an earlier stop, not a new one. The start gate stopped run 45244227178, the work-resolve-issue run that agent-ready started, before any model turn, because the GITHUB_TOKEN budget was under its start-gate share, or the window was projected to have under its start-project share of the header's limit left by the run's expected end (github-token start-gate, start-project and start-run-minutes in rate-limits.json; the run's start-gate notice names which); that run ended at 2026-11-23T19:06:33Z. work-unblock has now removed and added agent-ready back to start a fresh run. A budget stop is the lanes' load, not a fault in this issue: it never counts toward limits.limit-stops-per-issue or the kill-switch wait.

  8. github-actions commented on Nov 23, 2026

    @github-actions
    Contributor
    No description provided.
  9. melodic-automation-lanes commented on Nov 23, 2026

    @melodic-automation-lanes
    Contributor

    The work-resolve-issue run that agent-ready started waited in its slot past a change to its lane workflow files on main, so it stopped before any model turn. The run's report-outcome removed and added agent-ready back to start a fresh run on main's workflow files. If this run ends the same way, it re-fires the issue again, waiting longer each time.

  10. github-actions commented on Nov 23, 2026

    @github-actions
    Contributor
    No description provided.
  11. added
    host-run
    and removed
    agent-ready
    on Nov 23, 2026
  12. melodic-automation-lanes commented on Nov 23, 2026

    @melodic-automation-lanes
    Contributor

    The work-resolve-issue lane stopped on this issue (host-only): the run reports the work needs a host run the lane cannot make.
    It added host-run and set Work status to confirmed: an agent run on a host builds it, and it waits on no decision from a person.

    In the run's words:

    host-only: the issue asks for one script to rewrite every unguarded optional-plugin mention across all SKILL.md files (1,091 across 202 files when filed). The owner decided on 2026-11-23 that this must be one scripted PR, not hand edits. This lane cannot run a script or an interpreter: Bash runs only the named wrappers. So it cannot apply the rewrite with a script, cannot run scripts/check-skill-links.sh to get the before/after WORDING counts that AC10 and the PR body need, and cannot re-run the script on a new base after a conflict. Hand-editing about a thousand mentions in one run would contradict the recorded decision and would not fit the turn budget. A host run should do it: write a throwaway rewriter that reuses unguarded() from scripts/check-skill-links.py, so it applies the same scope (own plugin and declared dependencies excluded; frontmatter, fenced code, ## Next and ## Related skipped; the backticked form closed before the guard is added). Run it, re-run scripts/check-skill-links.sh until it reports 0 WORDING lines, add a changelog fragment for each plugin that changed, and put the command and the before/after counts in the PR body.

    What the run says it did not do:

    • AC10: could not run scripts/check-skill-links.sh (no interpreter or script runs in this lane), so the unguarded count was not measured or brought to 0
    • The scripted rewrite, its before/after counts and the PR-body command were not done: the lane cannot run a script
    • Repository checks (check-changelog-fragments, check-changed-skills, check-affected) were not run because nothing changed

    Run: https://github.com/melodic-software/claude-code-plugins/actions/runs/45259490630

    To hand it back to the lane, remove host-run and set Work status to agent-ready again.

  13. kyle-sexton commented on Nov 23, 2026

    @kyle-sexton
    MemberAuthor

    Owner decision (2026-11-23, accepted in session via /go-with-recommendations on Q2(a)): the "Only the guard text changes" criterion is relaxed. PR #18565 may also drop prose conditions that only repeat the "(if enabled)" guard and reword lines the guard made awkward (possessives, absent-skill sentences, guards inside code spans), keeping every fallback and every condition about something other than the plugin being enabled. Basis: the effort's stated intent, "I don't want to sacrifice quality for any of this."

  14. removed
    host-run
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Work status

    confirmed

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions