Skip to content
Prompt

interact — Cursor Rules

by Krosebrook

AI Summary

A comprehensive Cursor rules configuration for the Interact employee engagement platform, providing standardized guidelines for React/TypeScript development, testing, security, and code organization. Essential for teams building with React 18, Vite, TailwindCSS, and Base44 SDK who need consistent development practices.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "interact — Cursor Rules" prompt rules to my project.
Repository: https://github.com/Krosebrook/interact

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

Base44 App: INTeract

Testing Requirements

• Write tests for all new code • Use Vitest + React Testing Library • User-centric testing (test behavior, not implementation) • AAA pattern: Arrange, Act, Assert

Project Context

• Employee engagement platform built with React 18 + Vite 6 + Base44 SDK • 566 JavaScript files, transitioning to TypeScript in Q2-Q3 2026 • TailwindCSS for styling, Radix UI for components • TanStack Query for data fetching, React Hook Form for forms

React Components

• Use functional components with hooks only • NEVER call hooks conditionally or in loops • PropTypes for all components (until TypeScript migration) • Use PascalCase for component names

File Organization

• Components in src/components/ • Pages in src/pages/ • Hooks in src/hooks/ • Utilities in src/lib/ and src/utils/

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 1mo ago
Active
AdoptionUnder 100 stars
2 ★ · Niche
DocsMissing or thin
Undocumented

GitHub Signals

Stars2
Issues5
Updated1mo ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more