Skip to content

Skill bodies rule: add ## Related and one optional-plugin wording #18316

Closed

Description

@kyle-sexton

Parent

Source: PLAN Phase 5, topic context-budget

Depends on

  • none: on the frontier now

Outcome

The skill-bodies rule defines ## Related beside ## Next, and one wording for optional-plugin mentions in skill bodies, so authors and the later uniformity check work from one written convention.

Demo: the skill-bodies rule shows a ## Related sections heading after "Successor sections", and an optional-plugin wording paragraph.

Problem: Each session starts with about 77k tokens in the window (skill list about 52k); much of the skill list is capability the current phase doesn't use. Plugin profiles drop whole plugins per session, so links between skills must say which are workflow successors and which are context-dependent.
Goal:

  • Intent (why, in the user's words): "I don't want to sacrifice quality for any of this." and "so the user doesn't have to remember as much ... what order do I run skills in".
  • Keep the shipped profiles accurate as skills change, with links between skills marked one consistent, context-efficient way.
    Constraints:
  • Mechanisms (commands, storage, scripts, wording) are settled at planning.

Decisions

  • D4: Optional-plugin mentions in skill bodies read "/plugin:skill (if enabled)", with "; otherwise " when a fallback exists; ## Next and ## Related are exempt (they carry no availability gate); rejected: "(if installed)" (6 SKILL.md uses against 69 for "if enabled" on main, and a profile switches off installed plugins, so "enabled" is the accurate state).
  • Q53: two link kinds: ## Next for the workflow successor, ## Related for context-dependent links, one condition per line; standalone skills carry neither; links include user-only skills.
  • Q59: a link to a user-only skill needs no extra clause; the model presents it as the user's own /plugin:skill line to run.

Key interfaces

  • The rule file governing skill and agent bodies (scoped to plugin skills and agents): add ## Related sections after "Successor sections": the heading is exactly ## Related, placed after ## Next; its body is bullets of <condition>: /plugin:skill [args].; like ## Next, no Skill-tool phrasing, availability gate or fallback.
  • The same rule: the optional-plugin wording (D4) for mentions outside ## Next and ## Related, pointing at the plugin-philosophy "if enabled" guard rule.
  • The authoring list gains "add or update the skill's row in the skill-links table" (once that table exists).

Done when

  • AC10: the rule states the D4 wording and its exemption for ## Next and ## Related.
  • AC9 (convention part): grep -c '^## Related sections' .claude/rules/skill-bodies-state-current-rules.md prints 1.

Out of scope

  • Converting any skill (separate item, after the inventory review).
  • The coverage check code.

Activity

  1. added
    agent-ready
    session-owned
    on Nov 23, 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

    agent-readysession-owned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions