fix: add missing frontmatter to core command files#40
Open
xiaolai wants to merge 1 commit into
Open
Conversation
Commands without a description field are invisible in the Claude Code slash-command UI. cook.md, all_tools.md, update_status_line.md, and cook_research_only.md all lacked the required frontmatter block. Co-Authored-By: Claude Code <noreply@anthropic.com>
This was referenced Apr 26, 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.
What's broken
Four command files (
cook.md,all_tools.md,update_status_line.md,cook_research_only.md) have no YAML frontmatter block. Claude Code uses thedescriptionfield in frontmatter to register slash commands in its UI — without it, the command exists on disk but is invisible to users browsing available commands. Theallowed-toolsfield is also absent, which means Claude has no declared constraint on which tools it may use when running these commands.Fix
Added a minimal frontmatter block to each file with:
description: a one-line summary of what the command doesallowed-tools: the tools the command actually needs (Taskfor the parallel-agent orchestration commands,Read, Writeforupdate_status_line, and[]forall_toolswhich only introspects the system prompt)The content of each file is unchanged.