diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 8d2004f..bb676cf 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -36,6 +36,14 @@ The `docs/instructions/` directory contains best practices and conventions that - **`docs/instructions/keycloak.md`** — Auth integration, JWT claims, guards, token refresh - **`docs/instructions/testing.md`** — Vitest unit/integration/E2E test patterns, coverage targets +## Tool Usage Rules + +- **Always use `read_file` to read file contents** — never use terminal commands like `Get-Content`, `cat`, `head`, or `tail` to read files. These will be denied. +- **Always use `grep_search` or `file_search` to find files and patterns** — never use `Select-String`, `grep`, `find`, or `rg` in terminal commands. +- **Run scripts only via `npm run