fix(commands): add missing frontmatter descriptions to all agent prompt files#41
Open
xiaolai wants to merge 1 commit into
Open
fix(commands): add missing frontmatter descriptions to all agent prompt files#41xiaolai wants to merge 1 commit into
xiaolai wants to merge 1 commit into
Conversation
This was referenced Apr 26, 2026
…pt files Seven files under .claude/commands/agent_prompts/ lacked frontmatter. Without a description field, these are undiscoverable as slash commands in the Claude Code UI, even though they are registered as commands. Added a minimal description to each file. No instructions were changed. Co-Authored-By: Claude Code <noreply@anthropic.com>
fa5d8d2 to
84fc725
Compare
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
All seven files under `.claude/commands/agent_prompts/` lack YAML frontmatter. Claude Code requires a `description` field in the frontmatter to register a file as a discoverable slash command. Without it, these commands are invisible in the UI's command search and show no help text.
The affected files are:
Fix
Added a minimal `description` frontmatter block to each file. The descriptions summarize the purpose stated in each file's `# Purpose` section. No instructions, logic, or output formats were changed.
Example diff for `crypto_price_check_agent_prompt.md`:
```diff
+---
+description: "Prompt: retrieve the current USD price for a specific cryptocurrency ticker"
+---
+
Purpose
```