Ultimate Rule Generator - No more failure to generate and Private Rules!

I ask it to create any updates to a .tmp file and I copy and paste using a text editor and commit immediately, found that the file can still get mangled if cursor is left to it’s own devices.

If there is a mdc link in the rule and you have multiple project folders it also will append the project folder to the link every time you save, breaking the link and and any chaining. I opened a bug report on that.

But good idea on the md to mdc. Might work if it also does that on an edit (explicit instruction to create a new file on an edit).

@bmadcode will submit a PR. File names with numbers will probably get tricky. I guess use the next available one?

I abandoned the idea of doing the temporary file when the cursor agent deleted the entire src directory without approval. :grimacing:

In case youissed it, this trip suggests disabling the mdc editor…

yeah similar experience now unfortunately - and it was working well for quite some time, so strange.

I am starting to think that the xml tags in the file are not worth the pain even if there might be a slight improvement in some things.

I recently reverted the workflow I use to just using text as I did in the beginning and it is working better than the version I created trying to use xml. Natural language still seems to just win out in a structure markdown format

woah wth! that is wild it just kill the whole directory!! :slight_smile:

yeah and rm is on my denylist of commands as well

Amazing! Thank you so much. I found that if I disable the .mdc editor in my user settings with

    "workbench.editorAssociations": {
        "*.mdc": "default"
    }

the issues with saving files goes away. The flow seems to be running very smoothly now.

4 Likes

Awesome - thanks for sharing this, this is great!!

Should the description field be concise or detailed? Or does this depend on the “vibe coding” and “vibe changing” of the Cursor development team? I saw this:

As this seems to be a somewhat popular post, I should update I have shared a big update to the rule generator to better generate the rules reliable and support the 4 rule types, and better organize them. The repo is up to date with a lot of improvements. New video also on the channel with some more details and examples…

1 Like