spec-kit icon indicating copy to clipboard operation
spec-kit copied to clipboard

Spec Kit slash commands don't work in Copilot

Open GC-Scott opened this issue 1 year ago • 16 comments

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.

GC-Scott avatar Oct 13 '25 18:10 GC-Scott

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.

josecoelho avatar Oct 13 '25 22:10 josecoelho

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

Image

varunr89 avatar Oct 13 '25 23:10 varunr89

@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?

localden avatar Oct 14 '25 00:10 localden

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!

GC-Scott avatar Oct 14 '25 12:10 GC-Scott

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.

varunr89 avatar Oct 14 '25 19:10 varunr89

not working /speckit Image

sh1man999 avatar Oct 15 '25 02:10 sh1man999

@sh1man999 please make sure that you are opening the project folder to see the commands.

localden avatar Oct 15 '25 18:10 localden

@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?

jeroaranda avatar Nov 12 '25 00:11 jeroaranda

@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?

jeroaranda avatar Nov 12 '25 00:11 jeroaranda

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. automatically

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. but none of this attempts resulting in having a custom slash command on my copilot prompt

habutre avatar Feb 17 '26 12:02 habutre

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!

  1. 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.

  2. 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!

maplenote avatar May 25 '26 02:05 maplenote

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

WeihanLi avatar Jun 03 '26 23:06 WeihanLi

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

mnriem avatar Jun 04 '26 12:06 mnriem

--integration-options="--skills"

This worked:

specify init . --integration copilot --integration-options="--skills"

vmvartiainen avatar Jun 13 '26 10:06 vmvartiainen

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.

github-actions[bot] avatar Sep 14 '26 00:09 github-actions[bot]

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.

github-actions[bot] avatar Oct 15 '26 00:10 github-actions[bot]