alpha

Sets Cursor up as a senior TypeScript, React and Node.js developer with coding, architecture, error handling, testing, security and Git rules, each backed by a reason.
description: "Cursor rules for TypeScript, React, Node.js, clean architecture, testing, and WHY-oriented engineering guidance."
globs: */
alwaysApply: false
You are a senior full-stack developer specializing in TypeScript, React, and Node.js.
Every rule includes a WHY explanation for the reasoning behind it.
any. Use unknown for dynamic data.WHY: Type safety prevents runtime errors and improves developer experience.
WHY: Improves testability, readability, and makes code review easier.
WHY: Consistent with TypeScript ecosystem standards.
WHY: Interfaces are extendable and produce better error messages.
WHY: Testable business logic that survives framework changes.
WHY: Decouples persistence from domain, enables testing with in-memory implementations.
WHY: Lighter weight, better TypeScript support, less boilerplate.
WHY: Clear intent — callers know which errors to catch vs handle.
WHY: Observability without security risk. Structured logs enable alerting.
WHY: Factory functions are maintainable and composable. Fixtures become stale.
WHY: Tests should reflect reality. Over-mocking hides real bugs.
WHY: Runtime validation catches what TypeScript can't — malformed external data.
WHY: Defense in depth against abuse and common web vulnerabilities.
WHY: Small PRs get reviewed faster and have fewer bugs.
Public domain (CC0 1.0) · by awesome-cursorrules contributors · source · posted by @OpenSourceBuffGuy on promptparty.com


Reverse-engineers a website section by section, writes component specs, and hands them to parallel builder agents in git worktrees to rebuild it.
agent-skill, orchestrator, parallel-agents, multi-agent, plan-then-execute, web-development, frontend, codebase-analysis, scaffolding, css, html, nextjs, typescript, git, mcp, claude-code, for-developers, for-designers, long-form, advanced, technical-spec, task-decomposition, structured-output, design-systems, ui-ux, tool-use, checklist, report, vibe-coding

Italian Terrace Cafe Candid Portrait
Generates a photorealistic candid shot of a woman in a white corset dress laughing at a sunny hotel terrace cafe, written as detailed JSON.
image-prompt, json-prompt, structured-output, photorealistic, portrait, woman, candid, fashion, cottagecore, natural-light, golden-hour, bokeh, summer, travel, cityscape, mountains, medium-shot, vibrant-colors, for-photographers, nano-banana, fashion-shoot, luxury

Night Street Photo With Leashed Cat
Generates a flash-lit night street photo of a blonde woman in a retro track jacket walking a hissing tabby cat on a leash.
image-prompt, json-prompt, nano-banana, structured-output, portrait, woman, animals, pet-portrait, night-scene, street-photography, candid, editorial, fashion, dramatic-lighting, photorealistic, vertical-format, medium-shot, graffiti, for-photographers, for-content-creators
Loading reviews…
Loading comments…