Copilot instructions
.github/copilot-instructions.mdCopilot instructions
Quality
76/100
Scores the file, not the repository.Length
705 words
18 headings · 7 code blocksRepository
453k
— · pushed 0 days agoLast changed
3 days ago
First indexed 3 days ago.1# GitHub Copilot Code Review Instructions23## Core Principles45**BE EXTREMELY MINIMAL.** Only provide actionable feedback.67**Skip all non-essential content:**8- Do not generate "Pull request overview" sections9- Do not create "Changes:" lists describing what was changed10- Do not create "Reviewed changes" sections or tables11- Do not list files with change descriptions12- Do not count how many files were reviewed13- Do not summarize what the PR does (visible in the diff)1415**Focus only on problems:**16- Comment ONLY on actual issues that need fixing17- Keep each comment 1-3 sentences18- If everything is correct, provide no output1920**Bad example (from PR 65578):**21```22## Pull request overview23This PR addresses issue 65331 by replacing em dash characters...2425### Reviewed changes26Copilot reviewed 4 out of 4 changed files...2728| File | Description |29| ---- | ----------- |30| file1.md | Updated em dash in seed content |31```3233**Good example (actionable feedback only):**34```35Line 46: Test will fail - `innerText` returns rendered `—`, not `—`.36```3738---3940## Focus Areas41421. **Test Coverage** - Ensuring adequate testing for code changes432. **Pull Request Guidelines** - Compliance with contribution standards4445---4647## Focus Area 1: Test Coverage4849When reviewing pull requests, ensure adequate test coverage for code changes in JavaScript, TypeScript, JSX, and TSX files.5051> Detailed test coverage rules are in `.github/instructions/testing.instructions.md`5253### Quick Reference5455| Location | Framework | File Pattern |56|----------|-----------|--------------|57| `api/` | Vitest | `*.test.ts` |58| `client/` | Vitest | `*.test.{ts,tsx}` |59| `e2e/` | Playwright | `*.spec.ts` |6061### When to Comment6263Only leave a comment if:6465- The PR modifies JavaScript/TypeScript/JSX/TSX code (bug fixes or new features)66- AND there are no corresponding test additions or updates6768### When NOT to Comment6970Do not comment if:7172- Changes are only to documentation, configuration, or non-JS/TS files73- The PR includes appropriate test coverage for the changes74- Changes are test-only modifications7576### Comment Style7778If tests are missing, provide ONE brief comment:7980```81Missing tests for [specific file]. Consider:82- [specific scenario]83- [edge case]84```8586If test coverage is sufficient, **DO NOT COMMENT**. No "LGTM" needed.8788---8990## Focus Area 2: Pull Request Guidelines9192When reviewing pull requests, verify compliance with [freeCodeCamp's contribution standards](https://contribute.freecodecamp.org/how-to-open-a-pull-request).9394### PR Title Format9596Check that the title follows conventional commits format:97`<type>([optional scope]): <description>`9899**Valid types:** `fix`, `feat`, `refactor`, `docs`, `test`100101**Common scopes:** `curriculum`, `client`, `api`, `i18n`, `a11y`, `tools`102103Flag if:104105- Title is vague (e.g., "Update file", "Fix bug", "Changes")106- Missing type prefix107- Description exceeds ~50 characters108- Type doesn't match the actual changes109110Example of good title:111112```113fix(client): resolve login button alignment on mobile114```115116Example of bad title:117118```119Fixed stuff120```121122### PR Description & Issue Linking123124Check for:125126- Meaningful description explaining what changes were made and why127- Proper issue linking using `Closes #XXXXX` format (not just `#XXXXX`)128- Screenshots included for UI/visual changes129130Flag if:131132- Description is empty or only contains template boilerplate133- Issue reference uses incorrect format (e.g., `fixes XXXXX` without `#`)134- UI changes lack screenshots135136### Checklist Completion137138Verify the PR template checklist items are completed:139140- Boxes should be checked (`[x]`) not left unchecked (`[ ]`)141- Placeholder text like `#XXXXX` should be replaced with actual issue numbers142143Flag if:144145- Checklist boxes are left unchecked146- Placeholder issue number `#XXXXX` remains unchanged147148### Comment Style149150Keep feedback minimal (one line when possible):151152```153Update PR title to format: `<type>(scope): description`154See: https://contribute.freecodecamp.org/how-to-open-a-pull-request155```156157```158Link issue using: `Closes #XXXXX`159```160161If PR guidelines are followed, **DO NOT COMMENT**. No "LGTM" needed.162163---164165## General Guidelines166167**Focus on Actionable Issues Only**168169### Strict Rules170171- NO summaries, overviews, or descriptions of changes172- NO tables or file listings173- NO "LGTM" or affirmative comments when everything is fine174- Only comment when action is required175- Keep each comment brief and actionable176177### Prioritization178179When multiple issues exist, address them in order of severity:1801811. Security vulnerabilities or critical bugs1822. Missing test coverage for new functionality1833. Outdated tests for modified functionality1844. PR title/description compliance185186Comment on all legitimate issues, but keep each comment concise.187
Also in freeCodeCamp/freeCodeCamp
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| freeCodeCamp/freeCodeCamp.github/instructions/testing.instructions.md · 453k | Copilot instructions | testlint-formattesting-strategygit+2 | 58/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| chihebnabil/lovable-boilerplate.github/instructions/global.instructions.md · 63 | Copilot instructions | buildlint-formatstylearch+4 | 100/100 | 3 days ago | |
| HerringtonDarkholme/megarepo.github/copilot-instructions.md · 17 | Copilot instructions | setupbuildtestlint-format+7 | 100/100 | 3 days ago | |
| louislam/uptime-kuma.github/copilot-instructions.md · 90k | Copilot instructions | setupbuildtestlint-format+9 | 100/100 | 3 days ago | |
| JCodesMore/ai-website-cloner-template.github/copilot-instructions.md · 31k | Copilot instructions | buildlint-formatstylearch+3 | 97/100 | 2 days ago | |
| bagisto/bagisto.github/copilot-instructions.md · 28k | Copilot instructions | setupbuildteststyle+5 | 97/100 | 3 days ago | |
| darkmatter/nixmac.github/copilot-instructions.md · 24 | Copilot instructions | setupbuildtestlint-format+8 | 96/100 | 3 days ago | |
| nerolis-lab/nerolis-lab.github/copilot-instructions.md · 32 | Copilot instructions | setupbuildtestlint-format+11 | 96/100 | 3 days ago | |
| thangaram611/second-brain.github/copilot-instructions.md · 0 | Copilot instructions | setupteststylearch+4 | 96/100 | 3 days ago |
