4 ms·
Have you tried using Cursor rules? [1] Creating a standard library stdlib with many (potentially thousands) of rules, and then iteratively adding to and amendi
by fallinditch 2y ago
Have you tried using Cursor rules? [1]
Creating a standard library stdlib with many (potentially thousands) of rules, and then iteratively adding to and amending the rules as you go, is one of the best practices for successful AI coding.
[1] https://docs.cursor.com/context/rules-for-ai https://docs.cursor.com/context/rules-for-ai
- UltraSane 2y agoat that point aren't you just replacing regular programming with creating the thousands of rules? I suppose the rules are reusable so it might be a form of meta-programming or advanced codegen
- nyarlathotep_ 2y agoPeople endlessly creating "rules" for their proompts is the new version of constantly tweaking Vim or Emacs configurations
- UltraSane 2y agoBorn too late to explore the world. Born to early to explore the galaxy. Born at the right time to write endless proompts for LLMs.
- jmull 2y ago> …many (potentially thousands) of rules, and then iteratively adding to and amending the rules as you go… Is this an especially better (easier, more efficient) route to a working, quality app/system than conventional programming? I’m skeptical if the answer to the way to achieve 10x results is 10x more effort.
- fallinditch 2y agoIt's such a fast moving space, perhaps the need for 'rules' is just a temporary thing, but right now the rules will help you to achieve more predictable results and higher quality code. You could easily end up with a lot of rules if you are working with a reasonably large codebase. And as you work on your code, every time you have to deal with an issue of the code generation you ask Cursor to create a new rule so that next time it does it correctly. In terms of AI programming vs conventional programming, the writing's on the wall: AI assistance is only getting better and now is a good time to jump on the train. Knowing how to program and configure your AI assistants and tools is now a key software engineering skill.
- habinero 2y agoOr it's just a bubble and after diminishing returns they'll go in the bin with all the blockchain startups lol
- ZeroTalent 2y ago10x more effort once, 10x faster programming forever. Also once you got examples of the rules files, LLM can write most of them for next projects.
- crucialfelix 2y agoI think specifying rules could be very useful in the same way as types, documentation, coding styles, advanced linting, semgrep etc. We could use it for LLM driven coding style linting. Generate PRs for refactoring. Business logic bug detector Also, you can just tell copilot to write rules for you.