AGENTS.md
AGENTS.mdAGENTS.mdroot
Quality
100/100
Scores the file, not the repository.Length
436 words
12 headings · 9 code blocksRepository
51k
— · pushed 2 days agoLast changed
3 days ago
First indexed 3 days ago.1# AGENTS23## Guidelines45- **Keep changes minimal and focused.** Only modify code directly related to the task at hand. Do not refactor unrelated code, rename existing variables or functions for style, or bundle unrelated fixes into the same commit or PR.6- **Do not add, remove, or update dependencies** unless the task explicitly requires it.78## Pre-Commit Checklist910Before every commit, run **all** of the following checks and ensure they pass:1112### 1. Formatting1314Before committing, always run `gofmt` and `goimports` on all modified files:1516```sh17gofmt -w <modified files>18goimports -w <modified files>19```2021### 2. Build All Commands2223Verify that all tools compile successfully:2425```sh26make all27```2829This builds all executables under `cmd/`, including `keeper` which has special build requirements.3031### 3. Tests3233While iterating during development, use `-short` for faster feedback:3435```sh36go run ./build/ci.go test -short37```3839Before committing, run the full test suite **without** `-short` to ensure all tests pass, including the Ethereum execution-spec tests and all state/block test permutations:4041```sh42go run ./build/ci.go test43```4445### 4. Linting4647```sh48go run ./build/ci.go lint49```5051This runs additional style checks. Fix any issues before committing.5253### 5. Generated Code5455```sh56go run ./build/ci.go check_generate57```5859Ensures that all generated files (e.g., `gen_*.go`) are up to date. If this fails, first install the required code generators by running `make devtools`, then run the appropriate `go generate` commands and include the updated files in your commit.6061### 6. Dependency Hygiene6263```sh64go run ./build/ci.go check_baddeps65```6667Verifies that no forbidden dependencies have been introduced.6869## What to include in commits7071Do not commit binaries, whether they are produced by the main build or byproducts of investigations.7273## Commit Message Format7475Commit messages must be prefixed with the package(s) they modify, followed by a short lowercase description:7677```78<package(s)>: description79```8081Examples:82- `core/vm: fix stack overflow in PUSH instruction`83- `eth, rpc: make trace configs optional`84- `cmd/geth: add new flag for sync mode`8586Use comma-separated package names when multiple areas are affected. Keep the description concise.8788## Pull Request Title Format8990PR titles follow the same convention as commit messages:9192```93<list of modified paths>: description94```9596Examples:97- `core/vm: fix stack overflow in PUSH instruction`98- `core, eth: add arena allocator support`99- `cmd/geth, internal/ethapi: refactor transaction args`100- `trie/archiver: streaming subtree archival to fix OOM`101102Use the top-level package paths, comma-separated if multiple areas are affected. Only mention the directories with functional changes, interface changes that trickle all over the codebase should not generate an exhaustive list. The description should be a short, lowercase summary of the change.103
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| code-yeongyu/oh-my-openagentpackages/web/AGENTS.md · 67k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 2 days ago | |
| OnlyTerp/prompt-cache-skillsAGENTS.md · 111 | AGENTS.md | setupbuildtestlint-format+5 | 100/100 | 3 days ago | |
| wpscanteam/wpscanAGENTS.md · 9.7k | AGENTS.md | setupbuildteststyle+6 | 100/100 | 2 days ago | |
| SkeneTechnologies/skene-cookbookAGENTS.md · 51 | AGENTS.md | setupbuildtestlint-format+7 | 100/100 | 2 days ago | |
| aaif-goose/gooseAGENTS.md · 52k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199k | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70 | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| mui/material-uiAGENTS.md · 99k | AGENTS.md | setupbuildtestlint-format+9 | 100/100 | 3 days ago |
