Spec Kit slash commands don't work in Copilot
I'm not sure if the issue is with Spec Kit or GitHub Copilot. When I try to load a project up in Copilot, no /speckit.* commands are available. They work just fine in Claude Code. I've run specify init in each case, choosing Copilot (as well as Claude Code).
I've seen this issue on two different machines and three different projects. I've upgraded to the most recent versions of specify and copilot, but the problem persists.
I upgraded on Claude
I had to run specify init --here --force --ai claude
Then remove the old commands manually.
The --force was the magic.
I am assuming you mean Copilot CLI. It does looks like Copilot CLI does not have support for slash commands. You can use speckit with Copilot chat (the
@GC-Scott are you opening the project folder when going to Copilot? And as @varunr89 called out - are you using the GitHub Copilot CLI by chance?
I've been using the Copilot CLI, since I've never seen the VS Code extension try to modify code as autonomously as Spec Kit enables. But I've verified that I see the slash commands in the VS Code extension. The CLI does support slash commands, as hitting / brings up a menu of options, but I guess it doesn't support speckit's slash commands.
Thanks for your help!
The issue is with Github Copilot CLI still doesn't support 'custom' slash commands like Claude Code or Codex CLI; i would be surprised if it's not being added soon though. If you want to use github copilot with spec kit you have to use copilot chat. Honestly I have found Github Copilot CLI to be lacking in features and the chat to be a much better experience. However, I also do prefer CLI tools so mostly use Claude Code.
not working /speckit
@sh1man999 please make sure that you are opening the project folder to see the commands.
@sh1man999 please make sure that you are opening the project folder to see the commands.
What does it mean opening the project folder? should it work with free copilot?
@sh1man999 please make sure that you are opening the project folder to see the commands.
What does it mean opening the project folder? should it work with free copilot?
I am using GitHub Copilot CLI 0.0.410 and Speckit CLI 0.0.22 even entering the in the project folder it does not work while the IntelliJ plugin recognizes the speckit.
When @localden closes the issue without a single comment makes hard to understand what exactly should be done
Watching the recommended video https://youtu.be/7tjmA_0pl2c made my copilot to create an agent file .copilot/agent.json listing the prompts, them in another attempt it changes my AGENT.md to instruct copilot to use speckit.
Hey everyone, I'm not 100% sure if it works for every setup, but it fixed the missing commands for me in both the VS Code (Insider) Chat UI and the Copilot CLI!
-
For the VS Code Chat UI missing commands: Go to VS Code Settings, search for "Hidden Property", and uncheck the experimental setting there. Once I turned that off, the / commands showed up in the chat again.
-
For the Copilot CLI missing commands: I noticed the CLI mostly fetches "Skills" instead of standard prompts or agents. To make the commands show up there, you need to add the --ai-skills flag when setting it up.
specify init --here --force --integration copilot --ai-skills
about --force:
The --force flag skips the confirmation prompt, but it might default to not overwriting existing files. If the skills still don't show up after running the command above, try running it without --force.
Just be careful, as doing this might overwrite your copilot-instructions.md or constitution.md.
Hope this helps someone who is running into the same issue!
Think the ai-skill mode should be the default option for Copilot, verified it works both for VSCode Copilot Chat and Copilot CLI
specify init . --integration copilot --ai-skills
Note --ai-skills has been deprecated. The correct argument would be --integration-options="--skills"
On the request to make it the default I am requesting you all to test it with the core process, extensions, presets and workflows so we can weed out any bugs before we would consider making it the default option. Note it would have to go through a cycle of alarming our users that the current option is not going to be a default and then at least 0.x releases before we cut that over
--integration-options="--skills"
This worked:
specify init . --integration copilot --integration-options="--skills"
This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed in 30 days if no further activity occurs.
This issue has been automatically closed after 90 days without activity. To request reconsideration, please provide updated reproduction details, the currently affected version or environment, and the present impact. Ask a maintainer to reopen this issue if it is fundamentally the same problem. If the scope or reproduction has materially changed, create a new issue, link this one, and explain what has changed.