You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 681ca49
Browse filesBrowse the repository at this point in the historyBrowse files
docs(conventions): adopt the official argument-hint notation across every skill (#5779)
Closes#5774
## Summary
Every skill's `argument-hint` now uses the notation Claude Code's own
docs use: `<arg>` required, `[arg]` optional, and alternatives inside
brackets with an unspaced `|`, as in `/fast [on|off]` and `/review
[low|medium|high|xhigh|max|ultra] [--fix] [--comment]
[pr#|branch|path]`. Hints that hid a skill's actions behind `[action]`,
`[mode]` or `[options]` now list the real actions, and hints that
carried prose are grammar only.
Claude Code gives plugin skills no tab completion for argument values
(bundled skills such as `/claude-api` get it from a callback inside the
binary), so the hint is the only place a person sees a skill's actions
at the prompt. This makes that hint accurate and uniform.
## Fix
- **Convention 2.0.0** (`docs/conventions/argument-hint/`): adopts the
official bracket notation, requires a closed action or mode set to be
written out, bans prose after the grammar, and marks which rules come
from the official docs and which are house rules. Adds dated records for
the notation and for the lack of argument completion for plugin skills.
- **Gate** (`scripts/validate-plugin-contracts.mjs`): setup hints must
start `[check|apply]`, `<check|apply>` or `[check]`; new warnings for a
spaced pipe, alternatives outside brackets, a placeholder slot, prose
outside the grammar (including a word after a slot), and a `…` that does
not end a shortened set. Tests cover each, plus Claude Code's own
built-in hints as must-pass cases.
- **Fleet**: 121 skills in 71 plugins rewritten from what each skill
body says it accepts, with one patch bump and changelog entry per
plugin. Examples:
- `work-items:track`: `<action> [args]` →
`[stats|list|add|start|done|due|recheck|search|audit|help] [args]`
- `github:setup`: `check | apply` → `[check|apply]`
- `education:explain`: `[thing to explain] (empty = the previous
assistant response)` → `[thing to explain]`
- Setup skills show `[check|apply]` where a bare call runs check,
`[check]` when check-only, and `<check|apply>` only for
`autonomy:setup`, whose body requires an action. Four setup bodies and
`knowledge:video-digest` gained one line stating their existing
bare-call behavior so each hint's bracket choice is backed by the body.
- Prose removed from hints is kept in the skill bodies;
`planning:design-handoff` takes no arguments, so its key is removed.
## Verification
- `node scripts/validate-plugin-contracts.mjs`: exit 0, no argument-hint
warnings, no setup failures (60 setup skills).
- `scripts/validate-plugin-contracts.test.sh`: PASS=138 FAIL=0.
- `plugins/planning/tests/interview-defenses.test.sh`: PASS=172 FAIL=0
(frontmatter digest re-pinned for the new `planning:interview` hint).
- `scripts/check-changed-skills.sh origin/main`: 122 checked, 0 failed.
Changelog parity and markdownlint clean.
- Two fresh-context reviews: the convention and gate passed 12 of 12
criteria, with no warning on 52 built-in hints from the commands page;
the fleet rewrite's findings (bare-call behavior not stated, three
changelog wordings) are fixed in `59bd15c27`.
- Ready-phase review findings (Codex: unpunctuated words after a slot
passed the gate; Claude: `...` and `…` carried two meanings) are fixed
in `de9c133cf`.
## Related
- #3542 (argument-hint house style and gate, 1.0.0)
- #4001 (skill argument shape)
- https://code.claude.com/docs/en/commands,
https://code.claude.com/docs/en/skills#frontmatter-reference
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
Recheck: that row gains a length limit, stops calling the field an autocomplete hint, or changes
17
-
the examples it gives.
18
-
19
-
The house budget below is this repository's, not that row's. The `arguments:` key and `$N` /
20
-
`$name` substitution are a different field; this doc does not own them.
21
-
22
-
## The style
13
+
**Record.** Claim: the frontmatter reference row says "Hint shown during autocomplete to indicate
14
+
expected arguments. Example: `[issue-number]` or `[filename] [format]`." and states no length limit
15
+
and no rule for alternatives. Basis: <https://code.claude.com/docs/en/skills#frontmatter-reference>
16
+
(`skills.md`). As of: 2026-10-01. Recheck: that row gains a length limit or a rule for
17
+
alternatives, stops calling the field an autocomplete hint, or changes the examples it gives.
18
+
19
+
The `arguments:` key and `$N` / `$name` substitution are a different field; this doc does not own
20
+
them.
21
+
22
+
## Official and house rules
23
+
24
+
| Rule | Source |
25
+
|---|---|
26
+
|[Notation](#notation): `<required>`, `[optional]`, alternatives inside brackets with an unspaced `\|`| Official: the commands page legend and every built-in hint |
27
+
|`...` marks a repeatable slot | POSIX, not Claude Code |
28
+
|`…` ends a shortened set | House |
29
+
|[Setup hints](#setup-skills) lead with `[check` or `<check`| House |
30
+
|[Budget](#house-rules): 100 characters | House |
31
+
|[Written-out sets](#house-rules): no `action`, `mode`, or `options` slot | House |
32
+
|[No prose](#house-rules): nothing outside the grammar | House |
33
+
| No em dash, no `Default:`, omit the key when there are no arguments, the `**Arguments.**` line leads with the hint | House |
34
+
35
+
The official docs set nothing for plugin authors beyond the frontmatter row, so every house rule
36
+
is this repository's. The notation is where the house style matches the official one exactly.
37
+
38
+
## Notation
39
+
40
+
-**`<arg>`** is a slot the caller must give. **`[arg]`** is a slot the caller may skip.
41
+
-**Alternatives sit inside `[]` or `<>`**, separated by `|` with no space on either side:
42
+
`[on|off]`, `<check|apply>`. A pipe with a space beside it, or a pipe outside every bracket, is
43
+
not the notation.
44
+
-**Brackets nest.** An alternative may carry its own slots: `[reconnect <server>|enable]`.
45
+
-**`...`** (three periods) after a slot marks it repeatable: one or more occurrences, or zero or
46
+
more when the slot is inside `[]` (`[path ...]`).
47
+
-**`…`** (the single ellipsis character) is a different mark: it ends a shortened set, directly
48
+
before the set's closing `]` or `>` (`[scan|caches|aliases…]`), and the full set is in the body.
49
+
It never marks a slot repeatable.
50
+
51
+
**Record.** Claim: the commands page states "`<arg>` indicates a required argument and `[arg]`
52
+
indicates an optional one", and every built-in command whose hint offers alternatives writes them
53
+
inside brackets with an unspaced pipe, none with a spaced or bare pipe: `/fast [on|off]`,
Basis: <https://code.claude.com/docs/en/commands> (`commands.md`, the command table). As of:
58
+
2026-10-01. Recheck: the legend changes, or a built-in row writes alternatives with a spaced pipe
59
+
or outside brackets.
60
+
61
+
**Record.** Claim: "Ellipses ("...") are used to denote that one or more occurrences of an operand
62
+
are allowed". Basis: POSIX.1-2024 (Issue 8) XBD 12.1,
63
+
<https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1_chap12.html>. As of: 2026-09-29.
64
+
Recheck: a later POSIX issue or a technical corrigendum amends 12.1.
65
+
66
+
## House rules
23
67
24
68
A hint is grammar, short enough to scan in an autocomplete menu.
25
69
26
-
-**Budget: 100 characters**, counted as Unicode code points on the unquoted value. That is the
27
-
top of the roughly 80-to-100 range the fleet audit proposed. Examples, `Default:` prose, and
28
-
"what happens if you omit this" sentences move into the skill body.
29
-
-**`[optional]`** for a slot the caller may skip. **`<required>`** for a slot the caller must
30
-
give. A closed set of words may sit in either without angles or brackets (`check | apply`).
31
-
-**`...`** after a slot marks it repeatable: one or more occurrences, or zero or more when the slot
32
-
is inside `[]`(`[path ...]`). Basis: POSIX.1-2024 (Issue 8) XBD 12.1, "Ellipses ("...") are used
33
-
to denote that one or more occurrences of an operand are allowed",
<https://code.claude.com/docs/en/skills> (`skills.md`) and
111
+
<https://code.claude.com/docs/en/commands> (`commands.md`). As of: 2026-10-01. Recheck: a Claude
112
+
Code release note or the frontmatter reference adds argument completion for skills.
45
113
46
114
## Enforcement
47
115
48
116
`scripts/validate-plugin-contracts.mjs` reads every `plugins/<plugin>/skills/<skill>/SKILL.md`.
49
117
50
-
-**FAIL** when the key is present and the value is empty (`""`, `''`, whitespace only, or only a YAML comment). The
51
-
failure names this doc.
52
-
-**WARN** when the value is over the budget, is a YAML block scalar, contains an em dash, contains
53
-
a parenthetical example, contains `Default:` prose, or uses an unspaced `|` outside brackets.
54
-
Each warning names this doc. A warning does not fail the validator process. The shipping fleet
55
-
conforms, and `scripts/validate-plugin-contracts.test.sh` asserts zero warnings on that tree. An
56
-
edit that drifts warns here and fails that test until the hint is grammar again, with the
57
-
displaced prose moved into the skill body rather than deleted.
118
+
-**FAIL** when the key is present and the value is empty (`""`, `''`, whitespace only, or only a
119
+
YAML comment). The failure names this doc.
120
+
-**FAIL** when a setup skill's hint does not start with `[check` or `<check` followed by `|`, `]`,
121
+
or `>`. The failure names this doc.
122
+
-**WARN**, one line per shape, each naming the shape and this doc, when the value is over the
123
+
budget, is a YAML block scalar, contains an em dash or `Default:`, has a pipe with a space beside
124
+
it (`spaced pipe`), has a pipe outside every bracket (`alternatives outside [] or <>`), has a
125
+
slot named `action`, `mode`, or `options` (`placeholder slot instead of the written-out set`), or
126
+
has a parenthesis, a colon followed by a space, or a period, comma, semicolon, `or`, or `and`
127
+
outside every bracket, or a word outside every bracket that follows a slot or another word
128
+
(`prose outside the grammar`), or has a `…` that is not directly before a `]` or `>`
129
+
(`… not closing a shortened set`). A warning does not fail the validator
130
+
process. `scripts/validate-plugin-contracts.test.sh` asserts zero warnings on the shipping tree,
131
+
so a drifting hint fails that test until it is grammar again, with the displaced prose moved
132
+
into the skill body rather than deleted.
58
133
-**WARN** when the skill body has a line that starts with `**Arguments.**` (a line inside a fenced
59
134
code block does not count) and the first inline code span on that line is not equal to the
60
-
unquoted hint. The body's argument line leads with the hint and may add the full form after it.
61
-
The warning names the skill and this doc.
135
+
unquoted hint. The warning names the skill and this doc.
62
136
63
137
A skill that omits the key, or has no `**Arguments.**` line, is silent under these checks.
64
138
@@ -68,8 +142,7 @@ A skill that omits the key, or has no `**Arguments.**` line, is silent under the
68
142
subject. The [skill argument shape](../skill-argument-shape/README.md) owns that; this doc owns
69
143
only how the hint string is written.
70
144
- It does not declare `arguments:` or describe substitution. That is a separate concern.
71
-
- It does not restate the setup `check` / `apply` contract. plugin-philosophy owns that, and the
72
-
same validator already enforces the leading `check`.
145
+
- It does not define the setup `check` / `apply` verbs. plugin-philosophy owns them.
Copy file name to clipboardExpand all lines: plugins/actionlint/CHANGELOG.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,13 @@
3
3
All notable changes to the `actionlint` plugin are documented here. Format follows
4
4
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/); this plugin uses semantic versioning.
5
5
6
+
## [0.11.10] - 2026-10-02
7
+
8
+
### Fixed
9
+
10
+
- The `setup``argument-hint` uses Claude Code's official bracket notation: it leads with its check
11
+
action and keeps alternatives inside brackets with an unspaced `|`.
Copy file name to clipboardExpand all lines: plugins/actionlint/skills/setup/SKILL.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
description: "Verify the actionlint-check hook's runtime prerequisites and configuration for this repository. Use when: 'set up actionlint', 'configure actionlint', 'is actionlint working', workflow lint silently isn't happening, or the hook reported a missing prerequisite. Actions: check (read-only verification, default) | apply (resolve what check found). Re-runnable and safe."
"description": "Shape and restructure the assistant's output for a reader with ADHD: action-first, low-friction, and digestible. adhd:shape is a standing session posture: lead with the concrete next action, number multi-step work, restate state across turns, cap and rank lists, give concrete time estimates, make wins visible, and cut preamble, recap, and closers. adhd:clarify is a one-shot reshape of a dense, decision-heavy artifact already on screen: chunk it one-decision-at-a-time, define the session's own jargon, and surface exactly what you must decide, faithfully (operative terms quoted verbatim, no altitude loss), rendered as an HTML decision table for big content. Reauthored in part from ayghri/i-have-adhd (MIT). Deliberately mutually exclusive with terse-for-tokens output shapers like caveman, which have opposite objectives.",
Copy file name to clipboardExpand all lines: plugins/adhd/CHANGELOG.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,13 @@
3
3
All notable changes to the `adhd` plugin are documented here. Format follows
4
4
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/); this plugin uses semantic versioning.
5
5
6
+
## [0.5.3] - 2026-10-02
7
+
8
+
### Fixed
9
+
10
+
- The `clarify``argument-hint` uses Claude Code's official bracket notation: it drops the prose
11
+
after the grammar, which the skill body now carries.
Copy file name to clipboardExpand all lines: plugins/adhd/skills/clarify/SKILL.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
description: "Faithfully clarify a dense, decision-heavy message so the reader can act on it. Chunk it into one-decision-at-a-time, define the session's own jargon, and surface exactly what the reader must decide, with operative terms quoted verbatim and no loss of precision. Decision-dense content gets an HTML decision table with numbered rows. Use when: 'make this clear', 'clarify this', 'help me digest this', 'break this down', 'I can't parse this', 'what am I actually deciding here', 'this is a wall of text'. Empty argument targets the previous assistant response. This changes STRUCTURE, not altitude and not medium. A lossy plain-language drop is education:explain (if installed) instead; a picture explainer (a diagram, ELI5) is education:eli5 (if installed). Sibling to adhd:shape, a standing session-wide posture; this is a one-shot reshape of one artifact."
3
-
argument-hint: "[artifact to clarify] (empty = the previous assistant response)"
"description": "Build source-backed AI-industry briefings from official vendor publications, configured RSS/Atom feeds, GitHub releases, reputable secondary reporting, and user-supplied URLs. Deduplicate, rank, and present results as markdown or optional HTML/PPTX decks, with repository-owned profile, audience, and brand configuration. Automated X/Twitter collection is disabled; Playwright is used only for deterministic local rendering.",
Copy file name to clipboardExpand all lines: plugins/ai-briefing/CHANGELOG.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,13 @@
3
3
All notable changes to the `ai-briefing` plugin are documented here. Format follows
4
4
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/); this plugin uses semantic versioning.
5
5
6
+
## [0.7.50] - 2026-10-02
7
+
8
+
### Fixed
9
+
10
+
- The `setup``argument-hint` uses Claude Code's official bracket notation: it leads with its check
11
+
action and keeps alternatives inside brackets with an unspaced `|`.
0 commit comments