Repository navigation
Description
Context
I maintain cc-spex, a plugin built on top of spec-kit. Following spec-kit's migration to skills-only (PR #2051, #2077, #2081), I migrated cc-spex from commands/*.md to skills/<name>/SKILL.md. I had to revert the migration due to two Claude Code issues that make skills-only plugins significantly worse for users.
Problem 1: Plugin skills invisible in autocomplete
Skills loaded from the skills/<name>/SKILL.md directory structure do not appear in the / slash command autocomplete dropdown. The legacy commands/*.md files do.
The skills load correctly: the model sees them, they execute when fully typed, they appear in the system prompt. But users can't discover them by typing / or /pluginname:. The dropdown is empty.
This is a known Claude Code bug (open since Jan 2026):
- anthropics/claude-code#18949 (root issue, 15+ comments, still open)
- anthropics/claude-code#17271, #17509, #20935, #28555, #35641, #42038 (duplicates and regressions)
- anthropics/claude-code#43803 (my report with source code analysis)
No fix or timeline from Anthropic so far.
Problem 2: Name shadowing in autocomplete
When multiple plugins have skills with the same base name (e.g., both prose:init and spex:init), the autocomplete fuzzy matcher picks the first match regardless of what the user typed. So if you have a collission in the command names, then you typed command that is not part of the autocompletion can never be executed.
Since the skills are not included, you end up with running an unrelated command of the same name (but different namespace).
Questions
-
Are you aware of these Claude Code limitations? The
user-invocable: truefix in PR fix: add user-invocable: true to skill frontmatter #2077 addressed one symptom (skills being treated as managed), but the autocomplete visibility is a separate, unresolved bug. -
Should spec-kit's Claude integration offer a fallback mode that generates
commands/stubs alongsideskills/until the autocomplete bug is fixed? Something like thin command files that delegate to the corresponding skill. -
For the shadowing problem: does spec-kit have a strategy for skill names that are likely to collide across plugins? The
speckit-prefix on generated skills helps, but third-party plugins building on spec-kit may choose shorter names.
Environment‘
- Claude Code: v2.1.91
- spec-kit: latest main (post PR Remove template version info from CLI, fix Claude user-invocable, cleanup dead code #2081)
- OS: macOS Darwin 25.4.0
Activity
[-]Claude Code: skills-only plugins lose slash command autocomplete and suffer from name shadowing[/-][+]Claude Code: skills-only plugins lose slash command autocomplete[/+]rhuss commentedon Apr 5, 2026
Sorry, for the noise, I think this is not an issue for speckit (but only for my plugin which gets installed via marketplace. There are no autocomplete issues when installed within a project). I'm just finding my way out the latest renaming from speckit.command to speckit-command which brokes quite a bit my workflow.
mnriem commentedon Apr 6, 2026
@rhuss Let us know if you see anything else. We have tried to keep these changes as least disruptive as possible, but sometimes things happen.
rhuss commentedon Apr 7, 2026
I've updated cc-spex to spec-kit 0.5.0 and everything works as expected. Renaming the main commands from
speckit.tospeckit-was quite some work, so I'm keeping a maintenance branch for spec-kit < 0.5.0 for people still using the older version. The update itself was straightforward, just a lot of documentation and skill file updates.Unfortunately, the
--dry-runoption added tocreate-new-feature.shthat I proposed (and that got merged, thanks again!) didn't work out as expected for my use case. The core issue: when I create the branch upfront (e.g.,012-my-spec), the script calculates the next available number and proposes013-my-specinstead. There's no good way to correlate those. I found a workaround by using--allow-existing-branchtogether with--numberto force the script onto the pre-existing branch, so I don't need--dry-runafter all.That said, I think
--dry-runis still useful for other scenarios. Just wanted to be transparent that my original use case ended up taking a different path. (I'm not fully through with the implementation yet, so this might still evolve.)