Prompt

osday — Cursor Rules

by Schroedinger-Hat

AI Summary

A 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

# Download to your project root
curl --retry 3 --retry-delay 2 --retry-all-errors -o .cursorrules "https://raw.githubusercontent.com/Schroedinger-Hat/osday/2026/.cursorrules"

Run in your IDE terminal (bash). On Windows, use Git Bash, WSL, or your IDE's built-in terminal. If curl fails with an SSL error, your network may block raw.githubusercontent.com — try using a VPN or download the files directly from the source repo.

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

Quality Score

B

Good

77/100

Standard Compliance78
Documentation Quality62
Usefulness71
Maintenance Signal100
Community Signal88
Scored 3d ago

GitHub Signals

Stars73
Forks21
Issues4
Updated8d ago
View on GitHub

Trust & Transparency

Open Source — AGPL-3.0

Source code publicly auditable

Verified Open Source

Hosted on GitHub — publicly auditable

Actively Maintained

Last commit 8d ago

73 stars

21 forks

My Fox Den

Community Rating

Works With

Cursor