Copilot instructions
.github/copilot-instructions.mdCopilot instructions
Quality
74/100
Scores the file, not the repository.Length
220 words
6 headings · 0 code blocksRepository
1.4k
— · pushed 0 days agoLast changed
3 days ago
First indexed 3 days ago.1# codedb — Agent Instructions23## Project45Zig 0.17.0-dev code intelligence server (pinned to `0.17.0-dev.813+2153f8143`). Tests live in `src/test_*.zig`. Build and test with `zig build test`.67## Rules89### Filing Issues1011**Every GitHub issue must include a failing test case.** No exceptions.1213When creating an issue:14151. Write a `test "issue-XX: <description>"` block in `src/tests.zig` that **fails** on the current `main` branch162. Verify it fails: `zig build test 2>&1 | grep "issue-XX"`173. File the issue via `gh issue create` with this structure:18 - **Title:** `<module>: <concise description>`19 - **Body sections:** Problem, Failing Test (the zig test block), Expected, Fix20 - **Labels:** `bug` for defects, `priority:p0` for crashes, `priority:p2` for correctness214. Commit the failing test on a branch: `issue-XX-failing-test`225. Do **not** fix the bug in the same commit as the failing test2324If you cannot write a failing test, the issue is not well-defined enough to file.2526### Test Style2728- Use `std.testing` and `testing.allocator`29- Use `std.heap.ArenaAllocator` for Explorer tests30- Always `defer` cleanup (arena.deinit, allocator.free)31- One test per issue, named `test "issue-XX: <short description>"`32- Keep tests minimal — only exercise the specific broken code path3334### Code Style3536- No comments or documentation changes unless explicitly asked37- Prefer minimal, targeted fixes over refactors38- Follow existing patterns in the module you're editing39
Also in justrach/codedb
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 |
|---|---|---|---|---|---|
| justrach/codedbAGENTS.md · 1.4k | AGENTS.md | gitsecurityagent-behaviour | 58/100 | 3 days ago | |
| justrach/codedbCLAUDE.md · 1.4k | CLAUDE.md | teststyledo-notagent-behaviour | 74/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 | |
| louislam/uptime-kuma.github/copilot-instructions.md · 90k | Copilot instructions | setupbuildtestlint-format+9 | 100/100 | 3 days ago | |
| pytorch/pytorch.github/copilot-instructions.md · 102k | Copilot instructions | setupbuildteststyle+5 | 100/100 | 3 days ago | |
| dotnet/roslyn.github/instructions/Compiler.instructions.md · 21k | Copilot instructions | buildteststylearch+3 | 99/100 | 3 days ago | |
| hiyouga/LlamaFactory.github/copilot-instructions.md · 74k | Copilot instructions | setupbuildtestlint-format+5 | 97/100 | 2 days ago | |
| rtk-ai/rtk.github/copilot-instructions.md · 74k | Copilot instructions | buildtestlint-formatstyle+2 | 97/100 | 3 days ago | |
| JCodesMore/ai-website-cloner-template.github/copilot-instructions.md · 31k | Copilot instructions | buildlint-formatstylearch+3 | 97/100 | 2 days ago | |
| dotnet/roslyn.github/copilot-instructions.md · 21k | Copilot instructions | buildteststylearch+3 | 97/100 | 3 days ago |
