fitaiProto/AGENTS.md
2025-11-07 20:59:56 +01:00

1.0 KiB

AGENTS.md

Project Overview

FitAI is a fitness management solution with admin web app and React Native mobile app for client management, payments, attendance tracking, and notifications.

Build/Test Commands

This project is in early prototype stage - no build system configured yet.

  • When implementing: expect standard npm/yarn commands (npm run dev, npm run build, npm test)
  • For single tests: use npm test -- --testNamePattern="test name" or npm test path/to/test.test.js

Code Style Guidelines

  • Use TypeScript for type safety
  • Follow React/React Native conventions
  • Use camelCase for variables and functions
  • Use PascalCase for components
  • Import order: external libraries → internal modules → relative imports
  • Implement proper error handling with try/catch blocks
  • Use semantic HTML and accessible components
  • Follow mobile-first responsive design principles
  • Implement proper state management (Context API or Redux)
  • Use environment variables for configuration
  • Write comprehensive tests for critical functionality