A collection of reusable Cursor rules for consistent AI-assisted coding across projects.
Each subfolder is a self-contained rule pack with:
- Rule file (
.mdc) – the rule Cursor uses (formatting, style, conventions). Copy into.cursor/rules/in your project. README.md– what the rule does and when it applies.
| Rule | Description |
|---|---|
| google-python-style-guide | Google Python Style Guide: lint/formatting, imports, naming, docstrings, types, and language conventions for Python. |
| google-go-style-guide | Google Go Style Best Practices: naming, errors, docs, tests, option structs, global state, and concurrency for Go. |
| google-typescript-style-guide | Google TypeScript Style Guide: modules, naming, types, classes, control flow, and formatting for TypeScript and TSX. |
| rust-style-guide | Rust code style: 100-char lines, 500-line files, rustfmt alignment, comments, docs, naming, and alignment with official Rust and API guidelines. |
| wide-event-logging | Wide event / canonical log line logging: one structured event per request per service, high cardinality/dimensionality, tail sampling. Framework-agnostic; reference loggingsucks.com. |
| typescript-docstrings | TypeScript/JSDoc inline documentation: complete JSDoc and inline comments for public APIs, classes, and complex logic; “why not what”; TypeDoc-friendly. |
| ultracite-lint-format | Ultracite/Biome-oriented JS/TS/TSX/JSX: lint and format alignment, npx ultracite workflows, and principles (types, React, async, security, testing) alongside Biome autofixes. |
- In a project: Copy the rule folder into your repo (e.g.
.cursor/rules/or arules/directory) and reference or enable it in Cursor. - As reference: Clone or link this repo and point Cursor (or your rule
config) at the
.mdcrule file you want. - Per rule: See the rule’s own
README.mdfor scope (e.g. file globs) and details.
Add new rule packs as top-level folders: put a rule file (.mdc) and an
optional README.md in each folder, then add an entry to the Available
rules table above.