AI SummaryA Cursor-specific prompt that equips developers with expert guidance for modern web development using TypeScript, React 19, Next.js 15, and related tools. It's ideal for developers of all levels—especially beginners and open source contributors—who want structured, thoughtful code reviews and solutions.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "osday — Cursor Rules" prompt rules to my project. Repository: https://github.com/Schroedinger-Hat/osday Please read the repo to find the rules/prompt file, then: 1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type) 2. If there's an existing rules file, merge the new rules in rather than overwriting 3. Confirm what was added
Description
Open Source Day: Come join us and discover Open Source in the most inclusive way :)
TypeScript Usage
• Use TypeScript for all code • Prefer interfaces over types • Avoid enums; use const maps instead • Implement proper type safety and inference • Use satisfies operator for type validation
Please note
To install shadcn components, run: npx shadcn@latest add [component]
Analysis Process
Before responding to any request, follow these steps: • Request Analysis • Determine task type (code creation, debugging, architecture, etc.) • Identify languages and frameworks involved • Note explicit and implicit requirements • Define core problem and desired outcome • Consider project context and constraints • Solution Planning • Break down the solution into logical steps • Consider modularity and reusability • Identify necessary files and dependencies • Evaluate alternative approaches • Plan for testing and validation • Implementation Strategy • Choose appropriate design patterns • Consider performance implications • Plan for error handling and edge cases • Ensure accessibility compliance • Verify best practices alignment
General Principles
• Write concise, readable TypeScript code • Use functional and declarative programming patterns • Follow DRY (Don't Repeat Yourself) principle • Implement early returns for better readability • Structure components logically: exports, subcomponents, helpers, types
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts