# .cursor/rules/project.mdc # Project React + TypeScript frontend project. # Commands - install: `npm install` - dev: `npm run dev` - build: `npm run build` - lint: `npm run lint` - typecheck: `npm run typecheck` - test: `npm run test` - test single: `npm run test -- ` # Global rules - Всегда изучай existing code и nearby components перед изменениями - Делай minimal, review-friendly diff - Не добавляй new dependencies без явной причины - Следуй существующим patterns # Done criteria Перед завершением: - lint passes - typecheck passes - tests pass - нет regressions # UI checklist - loading state - error state - empty state - disabled state - accessibility