fix: add missing name frontmatter to 5 slash commands#17
Open
xiaolai wants to merge 1 commit intoChrisWiles:mainfrom
Open
fix: add missing name frontmatter to 5 slash commands#17xiaolai wants to merge 1 commit intoChrisWiles:mainfrom
xiaolai wants to merge 1 commit intoChrisWiles:mainfrom
Conversation
Commands without a name field cannot be registered or invoked by name. Adds name: <command> to code-quality, docs-sync, pr-review, pr-summary, and ticket — derived from each file's existing filename convention. Co-Authored-By: Claude Code <noreply@anthropic.com>
This was referenced Apr 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bug
Five slash commands are missing the
namefrontmatter field:.claude/commands/code-quality.md.claude/commands/docs-sync.md.claude/commands/pr-review.md.claude/commands/pr-summary.md.claude/commands/ticket.mdClaude Code uses the
namefield to register a command so it can be invoked as/name. Without it, the command cannot be discovered or called by name — the slash command simply doesn't work.Fix
Added
name: <command>to each file's frontmatter, using the same value as the filename (the conventional default). For example:--- +name: code-quality description: Run code quality checks on a directory allowed-tools: Read, Glob, Grep, Bash(npm:*), Bash(npx:*) ---No behavior is changed — this is a pure registration fix.