Skip to content

Add Cursor Rules Pack v2 — 7 sample production-tested rules#232

Open
oliviacraft wants to merge 4 commits intoPatrickJS:mainfrom
oliviacraft:cursor-rules-pack-v2
Open

Add Cursor Rules Pack v2 — 7 sample production-tested rules#232
oliviacraft wants to merge 4 commits intoPatrickJS:mainfrom
oliviacraft:cursor-rules-pack-v2

Conversation

@oliviacraft
Copy link
Copy Markdown

@oliviacraft oliviacraft commented Apr 4, 2026

Cursor Rules Pack v2

Adds a new entry to the Packs section with 7 production-tested sample rules.

What's included

Folder: rules/cursor-rules-pack-v2-cursorrules-prompt-file/

  • .cursorrules — 7 rules ready to copy into any project
  • README.md — usage guide and link to full pack

The 7 sample rules

  1. Dependency Discipline — evaluate packages before installing
  2. Explicit Error Handling — typed errors, no silent failures
  3. Comments Policy — explain WHY not WHAT
  4. State Management Hierarchy — URL → React → Zustand → React Query
  5. Parallel Data Fetching — Promise.all over sequential awaits
  6. Webhook Security — verify signature, idempotency, respond in 5s
  7. Database Query Safety — always use select, never expose full records

Source

Summary by CodeRabbit

  • Documentation
    • Added a sample Cursor Rules Pack v2 with seven production-tested development rules and a README explaining usage and the full 50-rule pack.
    • Updated the Mobile Development section of the README: reordered entries and refreshed listings (Android Native, Flutter, NativeScript) to reflect the new content.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 4, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b7c7251a-0843-4ce2-9dde-f44b929fdfcc

📥 Commits

Reviewing files that changed from the base of the PR and between 93036d3 and 6fbc5ec.

📒 Files selected for processing (1)
  • README.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • README.md

📝 Walkthrough

Walkthrough

Added a new "Cursor Rules Pack v2" sample directory with a .cursorrules rules file and README, and updated the main README.md Mobile Development section to include the new pack (plus minor reordering of existing entries).

Changes

Cohort / File(s) Summary
Main Documentation
README.md
Updated Mobile Development list: added Cursor Rules Pack v2 entry and adjusted ordering of a few existing bullets (Android Native (Jetpack Compose), Flutter Expert, NativeScript).
New Rules Pack
rules/cursor-rules-pack-v2-cursorrules-prompt-file/.cursorrules, rules/cursor-rules-pack-v2-cursorrules-prompt-file/README.md
Added sample rules pack directory: new .cursorrules with seven production-oriented guidelines (dependency justification, async error handling, comments policy, state management hierarchy, Promise.all parallelization, webhook security, DB query safety) and a README describing usage and source.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested reviewers

  • PatrickJS

Poem

🐰 I hopped in with rules, tidy and spry,
Seven bright carrots to help code fly,
State and webhooks, promises in tow,
Copy the file, let good patterns grow —
Sniff, nibble, approve — onward we go!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: adding a new Cursor Rules Pack v2 with seven production-tested sample rules, which is the primary addition in this changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@README.md`:
- Line 164: Replace the external Cursor Rules Pack v2 link with the
repository-relative path to the in-repo rule (use the correct relative markdown
link for "Cursor Rules Pack v2") and move that list item so it is alphabetically
ordered within the "Mobile Development" section; locate the list item with the
text "Cursor Rules Pack v2" in README.md and update its URL to the in-repo
relative path and reposition it among the other Mobile Development entries to
maintain alphabetical order.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 40857b66-95d8-43c2-a1d2-a696b0c88a1a

📥 Commits

Reviewing files that changed from the base of the PR and between fc2ce04 and 93036d3.

📒 Files selected for processing (3)
  • README.md
  • rules/cursor-rules-pack-v2-cursorrules-prompt-file/.cursorrules
  • rules/cursor-rules-pack-v2-cursorrules-prompt-file/README.md

…ent alphabetically

Addresses CodeRabbit review feedback:
- Replace external GitHub link with relative in-repo path
- Remove commercial CTA from description
- Sort Mobile Development section alphabetically
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant