AGENTS Instructions
Coding Guidelines
- Use TypeScript and React functional components.
- Prefer arrow functions and keep indentation at four spaces.
- Use Tailwind CSS utility classes for styling.
- Import modules using the
@/alias, e.g.import axios from "@/lib/axios". - Reuse helper components such as
Loader,CustomCheckbox, andSearchableSelectwhere possible.
Commands
- Install dependencies with
npm install(orpnpm installif available). - Run lint checks using
npm run lintbefore committing. - Development server:
npm run dev. - Build for production:
npm run build.
Commit Messages
- Use short present‑tense summaries (e.g.
Add patient search component). - Include a concise description of what was changed.
Testing
- Currently the project only provides
npm run lintfor automated checks. Ensure this command succeeds before submitting code changes.