Skip to main content
rule

react-typescript-symfony-cursorrules-prompt-file

A Cursor rule that steers the assistant toward readable code across React, TypeScript, PHP, Symfony and Docker.

Install into Cursor · Manually: put the files in place All methods and platforms ↓
.cursor/rules/react-typescript-symfony-cursorrules-prompt-file.mdc
Open on GitHub

What react-typescript-symfony-cursorrules-prompt-file does

The file hands the model a role: a full-stack developer who knows React, TypeScript, PHP, Symfony and Docker well. It asks for accurate answers, readable code, and awareness of current stable language features. Nothing is scoped to a subsystem, so the whole repository shares one instruction set.

The header holds two settings that matter. globs: **/* covers every file in the project. alwaysApply: false means Cursor will not switch the rule on by itself, so it stays inactive until you enable it — check that before you count on any effect.

What you get is prose for the model, not tooling. There is no linter, no type check, no script that runs on save. A wrong PHP signature or a loose TypeScript type will still reach your branch unless something else catches it.

What it helps with

  • keep one coding style across a React and TypeScript codebase
  • tell the assistant the backend runs on PHP and Symfony
  • get answers that account for current language versions
  • apply one instruction set to every folder in the repo
  • describe the stack so the assistant stops suggesting other frameworks

Example prompts for the agent

  • Add order loading to OrderList.tsx through the Symfony API and type the response
  • Refactor this Symfony controller so it returns JSON for the React orders page
  • Check docker-compose.yml: the React frontend and the PHP backend should start together

How to install react-typescript-symfony-cursorrules-prompt-file

Manually: put the files in place

.cursor/rules/react-typescript-symfony-cursorrules-prompt-file.mdc

Frontmatter: description, globs, alwaysApply

Step by step, with commands for each platform: Cursor rules: .mdc files, four modes and what replaced .cursorrules

Questions about react-typescript-symfony-cursorrules-prompt-file

How do I install react-typescript-symfony-cursorrules-prompt-file in Cursor?

Place the rule file at .cursor/rules/react-typescript-symfony-cursorrules-prompt-file.mdc inside your project. It then shows up in Cursor's rules list.

What does this rule do?

It sets the assistant up as a full-stack developer versed in React, TypeScript, PHP, Symfony and Docker, and asks for readable code that reflects current language features.

Does the rule apply to every file on its own?

The header sets globs: **/* and alwaysApply: false. Scope is the whole repo, but automatic application is off, so you turn the rule on yourself.

Source text

react-typescript-symfony-cursorrules-prompt-file.mdc · CC0-1.0
---
description: "Cursor rules for React development with TypeScript and Symfony integration."
globs: **/*
alwaysApply: false
---
You are an export AI programming assistant that primarily focuses on producing clean and readable code.

You always use the latest stable version of the programming language you are working with and you are familiar with the latest features and best practices.

You are a full stack developer with expert knowledge in React, TypeScript, PHP, Symfony and Docker.

You carefully provide accurate, factual thoughtfull answers and are a genius at reasoning.

© PatrickJS · CC0-1.0 · PatrickJS/awesome-cursorrules

Similar IDE rules

All IDE rules for Frontend and UI →

From the same set210

ros-ros2 Enforces conventions for ROS and ROS2 workspaces, covering composable nodes, package layout, and launch testing. ★ 41,024repo stars readme-best-practices-cursorrules-prompt-file This rule guides an agent writing project READMEs, from the opening pitch to a runnable Quick Start. Use it when you want documentation readers can scan and try. ★ 41,024repo stars react This rule hands Cursor a set of React conventions: component structure, hooks, state, forms and accessibility. Useful when a project has plenty of .tsx and .jsx and you want one style. ★ 41,024repo stars react-zustand-cursorrules-prompt-file Cursor guidance for React and TypeScript projects using Zustand. It standardizes store design, stops unnecessary re-renders, and keeps server state separate from client stores. ★ 41,024repo stars react-typescript-nextjs-nodejs-cursorrules-prompt- A Cursor rule that pins down React, TypeScript, Next.js 14 and Node.js conventions: functional components, RORO, minimal use client. ★ 41,024repo stars react-tanstack-router-query Guides AI assistants on structuring React SPAs with TanStack Router v1 and TanStack Query v5 to fetch data in loaders before rendering. ★ 41,024repo stars react-tanstack-router-query-cursorrules-prompt-file This rule describes a React SPA setup where TanStack Router handles navigation and TanStack Query stores server data. Use it to fetch route data before rendering a page. ★ 41,024repo stars react-styled-components-cursorrules-prompt-file A Cursor rule that tells the agent how to write React code with styled-components: functional components, theming through ThemeProvider, a fixed folder layout. ★ 41,024repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor