Skip to content

fix: add missing frontmatter to core command files#40

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

fix: add missing frontmatter to core command files#40
xiaolai wants to merge 1 commit into
disler:mainfrom
xiaolai:fix/nlpm-add-frontmatter-core-commands

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.

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 the description field in frontmatter to register slash commands in its UI — without it, the command exists on disk but is invisible to users browsing available commands. The allowed-tools field 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 does
  • allowed-tools: the tools the command actually needs (Task for the parallel-agent orchestration commands, Read, Write for update_status_line, and [] for all_tools which only introspects the system prompt)

The content of each file is unchanged.

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>
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