dalpozzo92/gym icon
public
Published on 4/7/2025
Sample rule

Rules
## Build & Development Commands
- Use Vite for fast dev/build workflows and hot module reload - Structure the app to support PWA features (manifest, service worker) - Use React functional components and modern hooks - Keep mobile-first approach when using Ant Design Mobile - Organize project folders using lowercase and dashes (e.g., components/auth-wizard)
## Testing Guidelines
- Ensure components render correctly on both desktop and mobile - Use manual testing in the browser for responsiveness and PWA behavior - Write simple unit tests if needed for utility functions - Test theming (dark/light) and component variants
## Code Style & Guidelines 
- Use JavaScript (not TypeScript) for components - Use named exports for all components - Avoid CSS modules unless strictly necessary - Extract reusable UI into smaller components - Use meaningful component/file names with clear structure
## Documentation Guidelines 
- Write comments where logic is not obvious - Document custom hooks or utilities when reused across files - Keep README updated for PWA features or deployment steps