I typically use the cmd/ctrl + k to create styles for a file or to edit code using simple instructions. I typically use the same prompts like “Create a stylesheet for this component and place the styles at the bottom of the file.” and it works wonderfully, but I’m wondering if we could save prompts somewhere and possibly reference them so that it could save some time and reduce small inconsistencies in applying instructions.
Basic outline of requested behavior:
When using cmd/ctrl + k, you should be able to reference saved instructions.
The instructions could either be saved in editor settings or the project, but preferably the editor settings.
This could be a great addition to Cursor. This is nicely implemented in Continue with prompt files (experimental) and custom slash commands. I think this feature is missing in Cursor and I would love to add the ability to reuse commonly used prompts
I recommend using a gist or a github repo for storing your prompts. Than you can use the doc crawling feature in cursor to mention those prompts with @ symbol. This way, you don’t have to keep your propmpts locally.