Repository navigation
Closed
Labels
agent-readyFully specified and briefed; eligible for autonomous pickup from the frontier.session-ownedA local Claude Code session owns this work; factory lanes skip it.
Description
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;## Nextand## Relatedare 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:
## Nextfor the workflow successor,## Relatedfor 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:skillline to run.
Key interfaces
- The rule file governing skill and agent bodies (scoped to plugin skills and agents): add
## Related sectionsafter "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
## Nextand## 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
## Nextand## Related. - AC9 (convention part):
grep -c '^## Related sections' .claude/rules/skill-bodies-state-current-rules.mdprints 1.
Out of scope
- Converting any skill (separate item, after the inventory review).
- The coverage check code.
Metadata
Metadata
Assignees
Labels
agent-readyFully specified and briefed; eligible for autonomous pickup from the frontier.session-ownedA local Claude Code session owns this work; factory lanes skip it.
Type
Fields
No fields configured for issues without a type.
Activity