Lu Nelson
3.1K posts

Lu Nelson
@lunelson
Member of Technical Staff at HASH GmbH, Berlin. 🇨🇦 🇫🇷 🇩🇪
Berlin Katılım Eylül 2008
4.1K Takip Edilen732 Takipçiler

Just created a .clinerules protocol that makes building custom MCP plugins with @cline ridiculously easy.
Drop this file in your project and Cline guides you through the entire process -- planning, implementation, and testing.
MCP is how AI agents will connect with our digital world. Start building now while everyone else is still figuring out what MCP even is.
I'll drop the file below 👇
English

@mattshumer_ A bit more of a sledgehammer approach but these are some that I worked up today gist.github.com/lunelson/dd771…
English

I've figured out how to tame Claude 3.7 Sonnet for code.
Add this to your prompt:
```
You have one mission: execute *exactly* what is requested.
Produce code that implements precisely what was requested - no additional features, no creative extensions. Follow instructions to the letter.
Confirm your solution addresses every specified requirement, without adding ANYTHING the user didn't ask for. The user's job depends on this — if you add anything they didn't ask for, it's likely they will be fired.
Your value comes from precision and reliability. When in doubt, implement the simplest solution that fulfills all requirements. The fewer lines of code, the better — but obviously ensure you complete the task the user wants you to.
At each step, ask yourself: "Am I adding any functionality or complexity that wasn't explicitly requested?". This will force you to stay on track.
```
English

@catalinmpit @shaykharr I compiled some new core prompt patterns today with these concerns in mind: gist.github.com/lunelson/dd771…
English

@shaykharr Appreciate the reply, instead of simply saying "prompt issue". How do you prompt it differently?
English

@mattpocockuk A lot of solutioneering here with " use @windsurf_ai " or " use @thankscline "; but you do gain a lot of insight about rules and prompts by comparing. — e.g. Cline IMO has a fundamentally better system prompt with its "Plan" vs "Act" modes, and you can port some of that back
English

@mattpocockuk @outoilkka You can, and very powerful is also to use it to force certain behaviour patterns. The @thankscline community has innovated a lot on this (they also have .clinerules) — e.g. for forcing the LLM to maintain a "memory bank"
English

@outoilkka Can you use .cursorrules to tell cursor about the location of important files?
English

@jahabeebs @mattpocockuk @outoilkka Is it really deprecated? They serve different use-cases: .cursorrules is appended to every query; whereas .cursor/rules/*.mdc files are chosen by the agent based on glob and description. So the former remains good for any absolute patterns or rules you want the LLM to follow
English

@mattpocockuk @outoilkka Yes but .cursorrules is being deprecated and .cursor/rules is the new syntax and allows you to have more granular, filepath rules
English

@mattpocockuk @mayowaoshin Otherwise you can do some context documentation about what files are relevant to which concerns, e.g. as a tree diagram with comments, or you can try writing glob-based rules for this in .cursor/rules/* with specific @-mentions
English

@mayowaoshin One thing that I find annoying about the whole flow is the need to manually add files into the context. There must be ways to smartly suggest files to add to the context, via dependency detection etc
English

@mattpocockuk @mayowaoshin In chats, there's the "codebase" option (cmd-enter) when starting (it will search to discover what's relevant); agent sessions are supposed to figure it out on their own apparently
English

The @cursor_ai blog details a new autocomplete model in the 0.45.0 update... anyone got this yet?
cursor.com/blog/tab-update
English
Lu Nelson retweetledi

Small update to my @shadcn ui country dropdown.
🌎 ISO 3116 compliance
👉 Multiple selection
🎓 Improved documentation
shadcn-country-dropdown.vercel.app
Let me know if u find any issues 🤍
English

Someone please drop a really big cardboard box in to the Serengeti National Park, so I can see if lions will climb in to it
Nature is Amazing ☘️@AMAZlNGNATURE
Whether wild or domesticated, a cat’s gonna cat.
English
Lu Nelson retweetledi
Lu Nelson retweetledi
Lu Nelson retweetledi


I wonder whether @datocms had these issues getting started? Or did you get profitable fast enough to avoid it?
Alessandro Riolo@aledeniz
When I tell this story, all Americans 🇺🇸 and most British 🇬🇧 don’t believe me. Italy 🇮🇹 cannot have startups by design. This is due many items, starting with the untranslable “studio di settore”. The 🇮🇹 tax authorities assume that given x company assets you MUST make a profit 1/5
English






