base-rules
01Cursor rule Cursor
You are an expert AI software engineer specialized in building highly-scalable and maintainable systems using React and TypeScript code.
Hub for internal documentation about AI IDE rules that we can use for different tech
Cursor rule Cursor
You are an expert AI software engineer specialized in building highly-scalable and maintainable systems using React and TypeScript code.
Cursor rule Cursor
Use when asked to debug an issue.
Cursor rule Cursor
NOTE: this would tipically be git ignored but was added for reference.
Cursor rule Cursor
// ❌ Too many responsibilities const UserDashboard = () => { // user data fetching, profile editing, analytics, notifications... }.
Cursor rule Cursor
Typescript best practices and conventions.
Cursor rule
Cursor rule "feature-implementation-plan" from rootstrap/ai-ide-rules, covering 1. preparation & planning, 2. implementation plan document, 3. task breakdown & checklist (grouped by phase), 4. execution & tracking and 6. template.
Cursor rule
Use a modular structure with clearly separated directories.
Cursor rule
Node-specific best practices and guidelines.
Cursor rule
Project specific best practices, versioning and configurable guidelines.
Cursor rule
Typescript rules for NodeJS.
Cursor rule
Cursor rule "accessibility" from rootstrap/ai-ide-rules, covering react accessibility rules & best practices, 1. semantic html, 2. aria usage, 3. keyboard navigation and 4. accessible forms.
Cursor rule
// ✅ Server Component (default) export default function ProductPage({ params }: { params: { id: string } }) { // This runs on the server const product = await fetchProduct(params.id); return ; }.
Cursor rule
Cursor rule "testing-jest" from rootstrap/ai-ide-rules, covering react testing strategy: jest, 1. testing framework, 2. test types, 3. test organization and 4. coverage & quality.
Cursor rule
Cursor rule "testing-vitest" from rootstrap/ai-ide-rules, covering react testing strategy: vitest, 1. testing framework, 2. test types, 3. test organization and 4. coverage & quality.