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

Support Cursor CLI

Open yu-iskw opened this issue 1 year ago • 26 comments

I use Cursor on a daily basis in addition to the already supported AI coding agents like Claude Code and Gemini CLI.

I am thinking of how to leverage the terminal AI coding agents plus AI powered IDE.

https://cursor.com/cli

yu-iskw avatar Sep 03 '25 13:09 yu-iskw

+1 for native Cursor CLI support. I would like to adopt this kit for our company however, our primary workflow is in Cursor

PMCaz avatar Sep 04 '25 06:09 PMCaz

/+ 1 for cursor

JuozasIzi1 avatar Sep 04 '25 09:09 JuozasIzi1

/+ 1 for cursor

ivanjo39191 avatar Sep 05 '25 02:09 ivanjo39191

/+ 1 for cursor

Inventrohyder avatar Sep 05 '25 18:09 Inventrohyder

/+ 1 for cursor

sebmandal avatar Sep 07 '25 09:09 sebmandal

/+1 Cursor

jfilatow avatar Sep 07 '25 23:09 jfilatow

/+ 1 for Cursor

felipe-lfca avatar Sep 08 '25 11:09 felipe-lfca

Lets goo !

fleetimee avatar Sep 08 '25 12:09 fleetimee

/+ 1 for cursor

DD-L avatar Sep 08 '25 15:09 DD-L

@localden can we help with that integration? <3

juanatlas avatar Sep 08 '25 17:09 juanatlas

+1

sp13ceg avatar Sep 08 '25 23:09 sp13ceg

+1

ricalanis avatar Sep 09 '25 01:09 ricalanis

+1

KristoferN avatar Sep 09 '25 07:09 KristoferN

+1

dmaizel avatar Sep 09 '25 09:09 dmaizel

+1

Zestpond avatar Sep 10 '25 06:09 Zestpond

+1

bgiardiello avatar Sep 10 '25 12:09 bgiardiello

I feel like I've time-warped back to 2015 🤦 - instead of adding noise with "+1" comments, hit the 👍 reaction that GitHub gave us in 2016 to quell the noise. Hit subscribe too if you want updates.


With that out of the way, It looks like an integration with the new cursor-agent CLI (not the main cursor cli) will be possible! I've created a repo with spec-kit added as a submodule and added cursor rules that provide /specify, /plan, /tasks, and /implement commands.

What I've implemented:

  • Spec-kit as git submodule with official scripts
  • Node.js wrapper (scripts/spec-kit-wrapper.js) for pnpm integration
  • Cursor rules in .cursor/rules/ providing spec-kit commands
  • Working workflow: @specify → @plan → @research → @tasks → @implement

Key findings:

  • cursor-agent CLI respects existing .cursor/rules/ configuration automatically
  • All spec-kit commands work seamlessly through the CLI
  • Both IDE (cursor rules) and terminal (cursor-agent) workflows are now supported
  • No breaking changes to existing spec-kit functionality

Dual workflow support:

  • IDE: Use @specify, @plan, etc. in Cursor for rich, interactive development
  • Terminal: Use cursor-agent --print "Run @specify for..." for automation and scripting

With extremely limited testing, it seems the integration works out-of-the-box - the CLI automatically loads cursor rules and executes spec-kit workflows. This provides excellent flexibility for both interactive development and automated/CI workflows.

I'll double check what additional details I'm able to share

pdfowler avatar Sep 10 '25 22:09 pdfowler

There is open PR for this and you could try on your project with below command.

uvx --from git+https://github.com/ETNOL/spec-kit specify init --here --repo--owner ETNOL

jellydn avatar Sep 11 '25 14:09 jellydn

please support init by global command : $HOME/.cursor/commands

DaydreamCoding avatar Sep 12 '25 06:09 DaydreamCoding

Hey folks - latest release of the Specify CLI introduces experimental support for Cursor. Would love folks to check it out and let me know if it works.

localden avatar Sep 12 '25 21:09 localden