Skill matching incorrectly matches /con to user skill instead of built-in /context
Resolved 💬 4 comments Opened Jan 19, 2026 by dmcnaugh Closed Feb 28, 2026
Description
When typing /con as a prefix for the built-in /context command, it incorrectly matches a user skill (/execute-plan) instead of the built-in command.
Steps to Reproduce
- Have user skills installed in
~/.claude/skills/(e.g.,create-plan,execute-plan) - Type
/conintending to invoke/context - Observe that it matches
/execute-planinstead
Expected Behavior
/con should match the built-in /context command since:
- "con" is a prefix of "context"
- Built-in commands should take precedence over user skills
- "con" is not a prefix or substring of "execute-plan"
Actual Behavior
/con matches the user skill /execute-plan instead of /context.
Environment
- Claude Code CLI
- User skills present:
create-plan,execute-plan,rehydrate-project,setup-project
Analysis
This appears to be either:
- A priority issue where user skills are checked before built-in commands
- A broken matching algorithm that isn't doing proper prefix matching
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗