Rename plugin /doctor command to /gm-doctor to stop shadowing built-in#30
Open
bborn wants to merge 1 commit into
Open
Rename plugin /doctor command to /gm-doctor to stop shadowing built-in#30bborn wants to merge 1 commit into
bborn wants to merge 1 commit into
Conversation
The taskyou-os plugin shipped a command named `doctor`, which collides with Claude CLI's built-in `/doctor`. Typing `/doctor` routed to `/taskyou-os:doctor` even when the user explicitly picked Claude's built-in from the disambiguation list. Rename the command to `gm-doctor` so the bare `/doctor` unambiguously resolves to the built-in. `gm-doctor` also fits the existing `gm-*` command family (gm-babysit, gm-fix, gm-help, gm-start, gm-status). - Rename .claude/commands/doctor.md -> gm-doctor.md and update its `name:` frontmatter and self-reference. - Update README command table and Updating section references. After updating the plugin, users invoke `/gm-doctor` (or `/taskyou-os:gm-doctor`); the built-in `/doctor` is no longer shadowed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Problem
The
taskyou-osplugin shipped a command nameddoctor, which collides with Claude CLI's built-in/doctor. As reported by Kyle Carbonneau:A plugin command should never share a name with a built-in — there's no plugin-side way to make the disambiguation picker honor the built-in selection. The fix is to not name the command
doctor.Fix
Rename the command
doctor→gm-doctor:/doctornow unambiguously resolves to Claude CLI's built-in.gm-doctorfits the existinggm-*command family (gm-babysit,gm-fix,gm-help,gm-start,gm-status), so it groups nicely in the command picker./gm-doctor(or/taskyou-os:gm-doctor).Changes
.claude/commands/doctor.md→.claude/commands/gm-doctor.md— updatedname:frontmatter (doctor→gm-doctor) and the in-file self-reference.README.md— updated the 4 references in the Plugin Commands table and the Updating section.Notes
/doctoronce they update the plugin (via/gm-doctoritself or/plugin marketplace add taskyou/taskyou-os, then restart Claude Code)./tmp/doctor-nono-*) and the report's display title ("TaskYou-OS Doctor") are left as-is — they aren't command references.🤖 Generated with Claude Code