AI SummaryA comprehensive Cursor IDE ruleset for the ue-too monorepo project, establishing strict standards for TypeScript, Bun package management, testing, and canvas development. Developers working on interactive HTML canvas applications or contributing to the ue-too ecosystem will find this essential for maintaining code consistency and understanding project conventions.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "ue-too — Cursor Rules" prompt rules to my project. Repository: https://github.com/ue-too/ue-too 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
toolkit for interactive HTML canvas applications
CRITICAL: Package Manager
This project uses Bun, NOT npm/pnpm. • Always use bun commands: bun install, bun run <script>, bun add <package> • Never suggest npm or pnpm commands • When running tests or scripts, use bun run test not npm test • Package installation: bun add <package> not npm install
Project Structure
Monorepo with independent packages: • packages/ - Publishable npm packages (@ue-too/*) • apps/ - Example applications • Foundational packages: math, being, ecs (zero internal deps) • Mid-level: board, animate, curve, border (depend on foundational) • Integration: board-react-adapter, board-vue-adapter (depend on mid-level)
TypeScript Standards
• Strict mode required - All packages use strict: true • No any types in public interfaces (use unknown with guards) • All exports require JSDoc comments with @param, @returns, @example • TypeScript errors are BLOCKING
Testing
• Use Jest for testing • Tests required for public APIs and critical paths • Test file location: test/.test.ts or test/.spec.ts • Run tests: bun run test (package-level) or bun test (root)
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