更简短通用的规则,将你的 Cursor 请求上限 ++++

原帖地址:

新的 Cursor Rules:

Communicate with the user in Chinese. Code comments and strings in the code use the same language as the code context.

Chat end MUST be run `python -c "i = input('Instruction:'); print(i)"` to get user's instruction then retrieve the user's instruction before resuming the conversation.

我尝试过添加 clear 指令清除控制台历史,但发现这样会导致 Cursor 不能正常显示用户输入界面,所以就没加了,这样虽然对话多了会有点长,不过无所谓了,不会出错

45 个赞

先点赞收藏

流行起来,以后估计会改机制 :tieba_087:

2 个赞

佬这个规则这么用

1 个赞

我猜也是,毕竟cursor也禁不住薅了 :tieba_087:

1 个赞

牛逼 感谢哥

点赞收藏,感谢佬友

这规则在trae适用不。trae的排队挺难受的

这个还是连的上面文章中的mcp吗?只是把rule改的和文章中不一样是吗?

不连mcp 直接开一个python终端交互

这样理论上是不是可以一条请求拉长到真实的10条20条都有可能?还是说有上限呀

试了下还行,就是触发有时候不稳定。电脑没下python,用的是node,分享下node的命令

node -e "require('readline').createInterface({ input: process.stdin, output: process.stdout }).question('Instruction: ', i => { console.log(i);process.exit(0); })"
1 个赞

佬,请教一下,原来的规则要清除吗?

不用,加在后面就行

学废了蟹蟹

此话题已在最后回复的 30 天后被自动关闭。不再允许新回复。