Skip to content

fix(commands): add missing frontmatter to all_tools and update_status_line#48

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

fix(commands): add missing frontmatter to all_tools and update_status_line#48
xiaolai wants to merge 1 commit into
disler:mainfrom
xiaolai:fix/nlpm-add-frontmatter-utility-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.

Bug

all_tools.md and update_status_line.md have no YAML frontmatter, so they are invisible in the Claude Code slash-command UI — no description is shown and they cannot be found via search.

Fix

all_tools.md — informational command, no special tools required:

---
description: List all available tools from the system prompt in TypeScript function signature format
---

update_status_line.md — reads and writes JSON session files; argument-hint matches the documented usage format in the file body:

---
description: Upsert a key-value pair in the extras object of a session status line data file
allowed-tools: Bash, Read, Write
argument-hint: [session_id] [key] [value]
---

No instructions or logic were changed.

…_line

Both files lacked frontmatter, making them undiscoverable as slash
commands. Added description and (where appropriate) allowed-tools and
argument-hint fields to match the style of other commands in the repo.

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