Skip to content

Commit 76d0fb9

Browse files
committed
Try to add copilot instructions
1 parent d803101 commit 76d0fb9

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/copilot-instructions.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Copilot PR Review Instructions
2+
3+
## Review scope
4+
- Focus on correctness, security, performance, and deprecated APIs.
5+
- Flag missing tests when behaviour changes or new features land.
6+
- Prefer precise, actionable comments over summaries when issues exist.
7+
- For stylistic nits, suggest fixes only if the repository enforces them.
8+
9+
## Required checks before approval
10+
- Ensure the description explains *what* changed and *why*.
11+
- Verify that new endpoints, configs, or scripts are documented.
12+
- Confirm migrations or data changes include rollback notes.
13+
- Look for added secrets, credentials, or tokens committed by mistake.
14+
15+
## Tests and validation
16+
- Confirm automated tests cover the new functionality.
17+
- If tests are absent or incomplete, request them or supply a test plan summarising the manual steps required to validate the change.
18+
- For flaky or long-running suites, suggest targeted smoke tests that cover the risk surface.
19+
20+
## Tone and style
21+
- Keep feedback concise, professional, and specific.
22+
- Reference files and lines when calling out problems.
23+
- Offer concrete remediation ideas alongside critiques.
24+
- Acknowledge improvements or clever solutions when applicable.

0 commit comments

Comments
 (0)