fix: add complete frontmatter to onboard.md#18
Open
xiaolai wants to merge 1 commit into
Open
Conversation
onboard.md had no frontmatter at all, so the /onboard command could not be registered by name and had no declared tool boundary. Adds name, description, and allowed-tools matching the operations the command actually performs (codebase exploration + writing the onboarding file). Co-Authored-By: Claude Code <noreply@anthropic.com>
This was referenced Apr 22, 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.
Bug
.claude/commands/onboard.mdhas no frontmatter at all. The other five commands in this repo all have a proper---frontmatter block;onboard.mdstarts directly with# Onboard.This causes three concrete problems:
name— the/onboardcommand cannot be registered or invoked by namedescription— the command has no discoverable description for the UI or skill-routing hooksallowed-tools— Claude has no declared tool boundary, so it may use arbitrary tools when running this commandFix
Added a standard frontmatter block consistent with the repo's other commands:
The
allowed-toolslist covers exactly what the command body needs:Read,Glob,Grep— codebase explorationWrite— creating the.claude/tasks/[TASK_ID]/onboarding.mdfileBash(find:*)— optional filesystem discoveryNo behavior is changed in the command body.