Skip to content

fix(commands): add missing frontmatter descriptions to all agent prompt files#41

Open
xiaolai wants to merge 1 commit into
disler:mainfrom
xiaolai:fix/nlpm-add-frontmatter-agent-prompts
Open

fix(commands): add missing frontmatter descriptions to all agent prompt files#41
xiaolai wants to merge 1 commit into
disler:mainfrom
xiaolai:fix/nlpm-add-frontmatter-agent-prompts

Conversation

@xiaolai

@xiaolai xiaolai commented Apr 26, 2026

Copy link
Copy Markdown

Automated audit: This PR was generated by NLPM, a natural language programming linter, running via claude-code-action. Please evaluate the diff on its merits.

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:

  • `crypto_price_check_agent_prompt.md`
  • `crypto_movers_agent_prompt.md`
  • `crypto_market_agent_prompt.md`
  • `crypto_news_scanner_agent_prompt.md`
  • `macro_crypto_correlation_scanner_agent_prompt.md`
  • `crypto_investment_plays_agent_prompt.md`
  • `crypto_coin_analyzer_agent_prompt.md`

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

```

…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>
@xiaolai xiaolai force-pushed the fix/nlpm-add-frontmatter-agent-prompts branch from fa5d8d2 to 84fc725 Compare April 26, 2026 18:31
@xiaolai xiaolai changed the title fix: add missing frontmatter to agent prompt command files fix(commands): add missing frontmatter descriptions to all agent prompt files Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant