Rule
0 installs · 0 said it worked
Cursor rules for React apps using MobX state management
A .cursorrules file that steers Cursor toward functional React components with hooks, MobX stores, computed and action patterns, a standard src folder layout, and TypeScript-safe reactive components.
People use this for
- mobx react cursor rules
- react mobx state management prompt
- cursorrules for react mobx stores
- typed mobx stores with react hooks
- how do i set up mobx in react with typescript
- Name
cursor-rules-for-react-apps-using-mobx-state-management- Works with
- Cursor
- License
- CC0(as observed at the source)
- Version
- v1 · updated Nov 29, 2026
Imported on Nov 29, 2026 from github.com . License observed at the source on Nov 29, 2026: CC0.
Are you the author?Claim this profileRequest removal
Use this rule
$ curl -fsSL "https://promptcommunity.dev/api/v1/posts/cursor-rules-for-react-apps-using-mobx-state-management-8eqf/export/mdc" -o .cursor/rules/cursor-rules-for-react-apps-using-mobx-state-management.mdcThen open a new session; Cursor picks it up from .cursor/rules/.
Manual install
Save cursor-rules-for-react-apps-using-mobx-state-management.mdc as .cursor/rules/cursor-rules-for-react-apps-using-mobx-state-management.mdc for this project or ~/.cursor/rules/cursor-rules-for-react-apps-using-mobx-state-management.mdc for every project, then start a new session.
Rule
description: "Cursor rules for React development with MobX integration." globs: */ alwaysApply: false
// React + MobX .cursorrules
// Prefer functional components with hooks
const preferFunctionalComponents = true;
// MobX best practices
const mobxBestPractices = [ "Use MobX-react-lite for optimal performance with functional components", "Implement stores for managing application state", "Utilize computed values for derived state", "Use actions for modifying observable state", "Implement proper error handling in asynchronous actions", ];
// Folder structure
const folderStructure = src/ components/ stores/ hooks/ pages/ utils/;
// Additional instructions
const additionalInstructions = `
- Use TypeScript for type safety with MobX
- Implement strict mode for MobX for better debugging
- Use observer HOC or useObserver hook for reactive components
- Implement proper dependency injection for stores
- Use reaction for side-effects based on observable changes
- Utilize MobX DevTools for debugging
- Follow MobX best practices for scalable state management `;
No result recorded yet. Added it? File a Tried-it report so the next person knows how it went in your editor.
Tried it
Reports from people who added this rule to their editor. They roll up into the badges above.
No one has filed a report yet. Try the prompt and be the first.
Related rules
- Convex backend coding rules for Cursor AI assistant
A Cursor rules file (.mdc) that guides the AI to write Convex backend code with current best practices: new function syntax, validators, function registration, references, pagination, schema, and query and action rules.
Coding · @patrickjs
- Claude api: reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming,…
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any fo
Coding · @anthropic
- Security guardrails that keep an AI email assistant from being hijacked by malicious messages
A full system prompt giving an AI assistant that reads or manages email a security mindset: treat email as untrusted data, require approval for outward actions, avoid leaking private data, and report phishing and injection attempts calmly.
Productivity · @thanos0000
- Universal agent rules for building React and Next.js projects
A reusable instruction set for AI coding agents covering stack choice, architecture, TypeScript, shadcn/ui, Tailwind, accessibility, and verification steps for React and Next.js projects.
Coding · @ramazanyusupov
- Zustand state management rules for React and TypeScript projects
Cursor rules that make the assistant follow React and TypeScript Zustand conventions: store design, selectors, middleware, persistence safety, SSR, and testing.
Coding · @patrickjs
License: CC0v1 · published Nov 29, 2026
Comments
No comments yet. If you tried this prompt, say how it went.