sync all reports to Claude Code v2.1.80 — fix frontmatter field coverage across commands, skills, and subagents
- Commands: 4→11 frontmatter fields (QA correction — official docs confirm commands support same frontmatter as skills, reversing 5 runs of incorrect "skill-only" INVALID status) - Skills: 10→11 fields (added effort) - Subagents: 14→15 fields (added effort) - Settings: added channelsEnabled managed setting - Concepts: added Channels row, Git Worktrees deep link, Plugins marketplace link - Development workflows: star/count updates, table reorder - CLAUDE.md: added effort to subagent definition - README: v2.1.80 badge, added Kenneth to follows Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Commands Best Practice
|
||||
|
||||
<br>
|
||||
<br>
|
||||
[](../implementation/claude-commands-implementation.md)
|
||||
|
||||
Claude Code commands — frontmatter fields and official built-in slash commands.
|
||||
@@ -14,14 +14,21 @@ Claude Code commands — frontmatter fields and official built-in slash commands
|
||||
|
||||
---
|
||||
|
||||
## Frontmatter Fields (4)
|
||||
## Frontmatter Fields (11)
|
||||
|
||||
| Field | Type | Required | Description |
|
||||
|-------|------|----------|-------------|
|
||||
| `name` | string | No | Display name and `/slash-command` identifier. Defaults to the directory name if omitted |
|
||||
| `description` | string | Recommended | What the command does. Shown in autocomplete and used by Claude for auto-discovery |
|
||||
| `argument-hint` | string | No | Hint shown during autocomplete (e.g., `[issue-number]`, `[filename]`) |
|
||||
| `disable-model-invocation` | boolean | No | Set `true` to prevent Claude from automatically invoking this command |
|
||||
| `user-invocable` | boolean | No | Set `false` to hide from the `/` menu — command becomes background knowledge only |
|
||||
| `allowed-tools` | string | No | Tools allowed without permission prompts when this command is active |
|
||||
| `model` | string | No | Model to use when this command runs (e.g., `haiku`, `sonnet`, `opus`) |
|
||||
| `effort` | string | No | Override the model effort level when invoked (`low`, `medium`, `high`, `max`) |
|
||||
| `context` | string | No | Set to `fork` to run the command in an isolated subagent context |
|
||||
| `agent` | string | No | Subagent type when `context: fork` is set (default: `general-purpose`) |
|
||||
| `hooks` | object | No | Lifecycle hooks scoped to this command |
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user