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

Gemini fail to recognize commands after spec kit initialization

Open ktfth opened this issue 1 year ago • 11 comments

The generation based on gemini cli template fail to recognize all commands on windows 11. The configuration cause a problem at all, to reproduce this is just needed to start a project using gemini cli option and the error happens.

ktfth avatar Sep 09 '25 22:09 ktfth

Hey brother have you found any solution to it? facing the same issue

Aiyatullah avatar Sep 11 '25 10:09 Aiyatullah

Did you guys initialize in an existing project? In this case use --here instead of providing a name

ferquo avatar Sep 11 '25 18:09 ferquo

I facing an issue just using the main way to initialize the project.

ktfth avatar Sep 12 '25 18:09 ktfth

I face the same issue on ubuntu. After initializing project using specify init and run gemini, commands likes /specify, /plan, and /task do not exist.

voducdan avatar Sep 15 '25 03:09 voducdan

Image

It takes a few seconds for Gemini CLI to "warm up" and make the commands available. Can you folks confirm that is the case for you?

localden avatar Sep 15 '25 05:09 localden

Image It takes a few seconds for Gemini CLI to "warm up" and make the commands available. Can you folks confirm that is the case for you?
Image I still cannot see /specify after an hour. You can see output of "ls" command to ensure that this folder is created by spec-kit.

voducdan avatar Sep 15 '25 06:09 voducdan

Have you tried updating the Gemini CLI?

npm install -g @google/gemini-cli@latest

aprendendofelipe avatar Sep 19 '25 16:09 aprendendofelipe

Updated the cli but still buggy, this seems to be a gemini cli problem not a thing on spec kit at all.

ktfth avatar Sep 19 '25 17:09 ktfth

This week I have the time to confirm and the Gemini cli worked again. I'm gonna retest the spec kit.

ktfth avatar Oct 03 '25 02:10 ktfth

I had the same issue today. Only the /speckit.constitution was available as a command, all others were not. Using Windsws 11 with WSL2 and Running Gemini CLI in Ubuntu.

After some searching and looking into error report in Geminin CLI (ctrl + o) it turened out that some strings in .TOML files were not escaped correctly.

Check your commands in .gemini/commands folder (the set of *.toml files).

Search for "I'm Groot", use escape syntax: e.g 'I'\''m Groot'

The correct escape shoudl be \\' not the \'': "I'm Groot", use escape syntax: e.g 'I'\\'m Groot'

Restart Gemini CLI after.

svrhovac avatar Oct 10 '25 14:10 svrhovac

Closing, as this should be fixed.

localden avatar Oct 19 '25 04:10 localden