Inconsistent name prefix handling between commands and skills
Resolved 💬 3 comments Opened Jan 26, 2026 by sstraus Closed Jan 30, 2026
Description
Commands and skills handle the name: field in YAML frontmatter inconsistently. When a command has a prefixed name like name: my-plugin:test, the prefix gets stripped. But skills with the same pattern retain the full name.
Example
Command (prefix stripped)
# my-plugin/commands/test.md
---
name: my-plugin:test
description: Test command
---
Expected: Command appears as /my-plugin:test
Actual: Command appears as /test (prefix stripped)
Skill (prefix retained)
# my-plugin/skills/stories/SKILL.md
---
name: my-plugin:stories
description: Stories skill
---
Expected: Skill appears as /my-plugin:stories
Actual: Skill appears as /my-plugin:stories ✓
Impact
- Confusing for plugin developers
- Inconsistent behavior for identical YAML patterns
- Difficult to predict how names will appear to users
Expected Behavior
Commands and skills should handle the name: field identically. Either both should strip/add prefixes automatically, or both should use the name exactly as specified.
Environment
- OS: macOS Darwin 25.2.0
- Date: 2026-01-26
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗