RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/AGENTS.md/xl0/agent-files

AGENTS.md

agents.md/AGENTS.md
AGENTS.md

Quality

67/100

Scores the file, not the repository.

Length

570 words

6 headings · 0 code blocks

Repository

3

— · pushed 6 days ago

Last changed

3 days ago

First indexed 3 days ago.
xl0/agent-files/agents.md/AGENTS.mdRawGitHub
1# State management
2 
3Maintain 2 important files in sync with the codebase:
4 
5- `CODE.md`: An in-depth summary of the current state of the codebase.
6The file should contain high-level view of the code and only non-obvious implementation details. Don't overload it with small details.
7 
8- `PLAN.md`: High-level plan in plain English, followed by TODO with [x] boxes.
9TODO items may be sections (## [x] Section) or paragraphs - don't make it rigid.
10Write down commander's intent: what needs to be done matters; how is nice to have and subject to change.
11As things are done, the plan gets compacted - paragraphs become list items, list items get merged and progressively discarded.
12 
13IMPORTANT: At the start of each conversation, always fully read `CODE.md`. You may read `PLAN.md` when relevant to the task.
14Update the files as you go, keep the updates concise. Not a changelog - content reflects the current state, not history.
15Don't put too much on one line, keep things readable.
16 
17# Guidelines
18 
19## Tone
20 
21- Be brief, be terse. Sacrifice grammar for brevity.
22- The user is very smart, knowledgeable and intelligent. Treat him like it.
23- Don't glaze the user. Correct his understanding if it's wrong. Push back on bad ideas.
24- Keep the end of turn summaries very concise.
25- No need to git diff at the end of the turn.
26 
27## Autonomy and persistence
28 
29- If the user asks for a plan, asks a question, brainstorming, or otherwise indicates conversation, reply or otherwise solve the users problem without editing the code. Otherwise, go ahead and actually implement the change. If you encounter challenges or blockers, you should attempt to resolve them yourself.
30 
31- Persist until the task is fully handled end-to-end within the current turn whenever feasible: do not stop at analysis or partial fixes; carry changes through implementation, verification, and a clear explanation of outcomes unless the user explicitly pauses or redirects you.
32 
33- If you notice unexpected changes in the worktree or staging area that you did not make, continue with your task. Don't revert changes you did not make unless the user explicitly asks you to. There can be multiple agents or the user working in the same codebase concurrently.
34 
35## Code
36 
37- Use small edits where possible. Never use sed or other hacks to edit files. Re-read and retry using tools.
38 
39- The best changes are often the smallest correct changes.
40- When you are weighing two correct approaches, prefer the more minimal one (less new names, helpers, tests, etc).
41- Keep things in one function unless composable or reusable.
42- Avoid shallow abstractions. Avoid single-use abstractions. Deep abstractions with small interface preferred.
43 
44- No speculative try/catch with fall-backs. Only handle real errors, and default to a clear explicit fail, don't implement fallbacks unless asked.
45- Never create legacy compatibility layers, unless asked specifically.
46- When experimenting or debugging, don't gate the added code - we use git, we will roll it back after experiments.
47 
48- Document data structures and interfaces, not the code.
49- Add succinct code comments that only if code is complex and not self-explanatory.
50 
51### Git
52 
53- Only commit when directly instructed.
54- When you commit, it's possible that the worktree contains unrelated changes and untracked files. Don't blindly add files - only commit what's necessary.
55- **NEVER** use destructive commands like `git reset --hard` or `git checkout --` unless specifically requested or approved by the user.
56 

Commands it names

  • git reset --hard
  • git checkout --

Sections

  • State management
  • Guidelines
  • Tone
  • Autonomy and persistence
  • Code
  • Git

What it covers

code-stylegit-prdo-not

Stack — with the evidence

shell

(0.80)

biome

(0.70)

typescript

(0.60)

Format

AGENTS.md

A plain-markdown README for coding agents, deliberately unopinionated: no frontmatter, no globs, no vendor keys. That minimalism is why it became the one file a dozen different agents will read, and why it carries the least per-file targeting power of any format here.

What the corpus says about it

Repository

Owner
xl0
Language
—
License
—
Archived
no

All configs in this repo

Also in xl0/agent-files

Diff this repo’s formats

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?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
xl0/agent-filesagents.md/CLAUDE.md · 3CLAUDE.mdshellbiome+1no sections30/1003 days ago
Diff against agents.md/CLAUDE.md

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
TryGhost/Ghoste2e/AGENTS.md · 55kAGENTS.mdtypescriptjavascript+12setupteststylearch+2100/1003 days ago
elastic/elasticsearchx-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/AGENTS.md · 78kAGENTS.mdjavanode+4buildtestlint-formatstyle+2100/1003 days ago
mui/material-uiAGENTS.md · 99kAGENTS.mdtypescriptjavascript+13setupbuildtestlint-format+9100/1003 days ago
n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199kAGENTS.mdtypescriptlangchain+16buildteststylearch+3100/1003 days ago
code-yeongyu/oh-my-openagentpackages/web/AGENTS.md · 67kAGENTS.mdtypescriptbun+10setupbuildtestlint-format+6100/1002 days ago
duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70AGENTS.mdtypescriptjavascript+5buildteststylearch+3100/1003 days ago
aaif-goose/gooseAGENTS.md · 52kAGENTS.mdrusttypescript+2setupbuildtestlint-format+6100/1003 days ago
elastic/elasticsearchx-pack/plugin/inference/AGENTS.md · 78kAGENTS.mdjavanode+4buildtestlint-formatstyle+3100/1003 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack