53129
Pa
PAT / files
PAT / AGENTS.md
1.1 KB
1# Agent Instructions 2 3- **Never make assumptions** - Ask for clarification instead. 4- **Never ignore errors, warnings, or issues** - Address them immediately. 5- **Never install, uninstall, or delete anything** without explicit authorization. 6- **Never commit or add to git secrets and passwords.** 7- **Never add code that is not used** - only add the minimum necessary to satisfy the task. 8- **Always do exactly what was asked** - Don't add anything that wasn't explicitly mentioned. 9- **Always lint and typecheck** changes using `npm run lint` and `npm run typecheck`. 10- **Always write modular, testable code** - Prefer small, focused functions and components, focused on reusability. 11- **Always** use absolute paths in import using path aliases: `@/` for imports (e.g., `@/src/components/...`). 12- **Always review your changes before committing**: 13 - identify code repetition and consolidate 14 - identify overly complex code and simplify 15 - ensure code modularity and separation of concerns 16 - ensure code respects project guidelines 17 - ensure the code uses best practices for React and Next.js