

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
1# GitHub Copilot Code Review Instructions23## Review Philosophy4- Only comment when you have HIGH CONFIDENCE (>80%) that an issue exists5- Be concise: one sentence per comment when possible6- Focus on actionable feedback, not observations7- When reviewing text, only comment on clarity issues if the text is genuinely confusing or could lead to errors. "Could be clearer" is not the same as "is confusing" - stay silent unless HIGH confidence it will cause problems89## Priority Areas (Review These)1011### Security & Safety12- Unsafe code blocks without justification13- Command injection risks (shell commands, user input)14- Path traversal vulnerabilities15- Credential exposure or hardcoded secrets16- Missing input validation on external data17- Improper error handling that could leak sensitive info1819### Correctness Issues20- Logic errors that could cause panics or incorrect behavior21- Race conditions in async code22- Resource leaks (files, connections, memory)23- Off-by-one errors or boundary conditions24- Incorrect error propagation (using `unwrap()` inappropriately)25- Optional types that don't need to be optional26- Booleans that should default to false but are set as optional27- Error context that doesn't add useful information (e.g., `.context("Failed to do X")` when error already says it failed)28- Overly defensive code that adds unnecessary checks29- Unnecessary comments that just restate what the code already shows (remove them)3031### Architecture & Patterns32- Code that violates existing patterns in the codebase33- Missing error handling (should use `anyhow::Result`)34- Async/await misuse or blocking operations in async contexts35- Improper trait implementations3637### No Doc Updates with Code Changes38- PRs with code changes shouldn't update `/documentation` - docs deploy on merge, code on release. Use `unlisted: true` or remove/hide docs.3940## Project-Specific Context4142- This is a Rust project using cargo workspaces43- Core crates: `goose` (agent logic and ACP server), `goose-cli` (CLI), `goose-mcp` (MCP servers)44- Error handling: Use `anyhow::Result`, not `unwrap()` in production code45- Async runtime: tokio46- MCP protocol implementations require extra scrutiny47- Naming convention: In `documentation/docs` and `documentation/blog`, always refer to the project as "goose" (lowercase), never "Goose" (even at the start of sentences)4849## CI Pipeline Context5051**Important**: You review PRs immediately, before CI completes. Do not flag issues that CI will catch.5253### What Our CI Checks (`.github/workflows/ci.yml`)5455**Rust checks:**56- `cargo fmt --check` - Code formatting (rustfmt)57- `cargo test --jobs 2` - All tests58- `cargo clippy --all-targets -- -D warnings` - Linting (clippy)5960**Desktop app checks:**61- `pnpm install --frozen-lockfile` - Fresh dependency install (in `ui/desktop/`)62- `pnpm run lint:check` - ESLint + Prettier63- `pnpm run test:run` - Vitest tests6465**Setup steps CI performs:**66- Installs system dependencies (libdbus, gnome-keyring, libxcb)67- Activates hermit environment (`source bin/activate-hermit`)68- Caches Cargo and pnpm dependencies69- Runs `pnpm install --frozen-lockfile` before any pnpm scripts (ensures all packages are installed)7071**Key insight**: Commands like `npx` check local `node_modules` first, which CI installs via `pnpm install --frozen-lockfile`. Don't flag these as broken unless you can explain why CI setup wouldn't handle it.7273## Skip These (Low Value)7475Do not comment on:76- **Style/formatting** - CI handles this (rustfmt, prettier)77- **Clippy warnings** - CI handles this (clippy)78- **Test failures** - CI handles this (full test suite)79- **Missing dependencies** - CI handles this (pnpm install will fail)80- **Minor naming suggestions** - unless truly confusing81- **Suggestions to add comments** - for self-documenting code82- **Refactoring suggestions** - unless there's a clear bug or maintainability issue83- **Multiple issues in one comment** - choose the single most critical issue84- **Logging suggestions** - unless for errors or security events (the codebase needs less logging, not more)85- **Pedantic accuracy in text** - unless it would cause actual confusion or errors. No one likes a reply guy8687## Response Format8889When you identify an issue:901. **State the problem** (1 sentence)912. **Why it matters** (1 sentence, only if not obvious)923. **Suggested fix** (code snippet or specific action)9394Example:95```96This could panic if the vector is empty. Consider using `.get(0)` or add a length check.97```9899## When to Stay Silent100101If you're uncertain whether something is an issue, don't comment. False positives create noise and reduce trust in the review process.102
One 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 |
|---|---|---|---|---|---|
| aaif-goose/goosedocumentation/AGENTS.md · 53k | AGENTS.md | lint-formatstyledocs | 33/100 | 14 days ago | |
| aaif-goose/gooseAGENTS.md · 53k | AGENTS.md | setupbuildtestlint-format+7 | 100/100 | 8 days ago |
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| louislam/uptime-kuma.github/copilot-instructions.md · 90k | Copilot instructions | setupbuildtestlint-format+9 | 100/100 | 14 days ago | |
| chihebnabil/lovable-boilerplate.github/instructions/global.instructions.md · 65 | Copilot instructions | buildlint-formatstylearch+4 | 100/100 | 14 days ago | |
| pytorch/pytorch.github/copilot-instructions.md · 102k | Copilot instructions | setupbuildteststyle+5 | 100/100 | 14 days ago | |
| JCodesMore/ai-website-cloner-template.github/copilot-instructions.md · 32k | Copilot instructions | buildlint-formatstylearch+3 | 97/100 | 7 days ago | |
| bagisto/bagisto.github/copilot-instructions.md · 28k | Copilot instructions | setupbuildteststyle+5 | 97/100 | 14 days ago | |
| rtk-ai/rtk.github/copilot-instructions.md · 76k | Copilot instructions | buildtestlint-formatstyle+2 | 97/100 | 14 days ago | |
| nerolis-lab/nerolis-lab.github/copilot-instructions.md · 32 | Copilot instructions | setupbuildtestlint-format+11 | 96/100 | 14 days ago | |
| darkmatter/nixmac.github/copilot-instructions.md · 25 | Copilot instructions | setupbuildtestlint-format+8 | 96/100 | 14 days ago |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/aaif-goose-goose-github-copilot-instructions)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.