FreeRules, agents & hooks
TypeScript, React and Node.js rules
- 174174 downloads
- 225225 likes
- 237237 saves
- Cursor
Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans
Use this resource to write safe and idiomatic Rust for applications and libraries
New
Free
In a terminal, from the folder you want:
npx --yes palatekit@latest install rust-idiomatic-code-ruleFirst time: connect the CLI with
npx --yes palatekit@latest loginCursor applies these rules to Rust files: crates and modules organized by domain, small documented public APIs, Option and Result, unwrap and expect avoided outside tests, thiserror for libraries and anyhow for applications, and care with locks held across an await. The text also asks for cargo fmt.
Mostly picked by
Updated November 2, 2026
You say
“Fix the error handling in this parser with a dedicated error type.”

Rule published by PatrickJS under the CC0-1.0 license, delivered in its original version.
Listed unmodified
« rust-general » (PatrickJS, CC0-1.0) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.
–
No ratings yet
Loading reviews…