From 657d0b5a4e20089e45c372372bc178d10232fadc Mon Sep 17 00:00:00 2001 From: Nitish <73771450+Nitish-JS@users.noreply.github.com> Date: Mon, 7 Jul 2025 16:06:19 +0530 Subject: [PATCH] docs: add AGENTS instructions --- AGENTS.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 AGENTS.md diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..45fba58 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,20 @@ +# AGENTS.md - CryptoHunter + +## Development +- Requires Node.js ≥14. +- Install packages with `npm install --legacy-peer-deps`. +- Use `npm start` for the dev server. +- Before committing, verify the project builds by running `npm run build`. +- If any tests are present, run `npm test` as well. + +## Style +- Use 2-space indentation and include semicolons. +- Favor React functional components as in existing files. +- Apply Prettier (or similar) to maintain consistent formatting. + +## Commit messages +- Follow the structure `: `, e.g. + `Header: fix currency selector`. + +## Pull requests +- Ensure `npm run build` succeeds and cite any test output in the PR body.