VibeDiscipline
AGENTS.md1 starsChanged 19 days agoMITView on GitHub
This project uses VibeDiscipline: an engineering discipline layer that makes AI coding agents behave like disciplined professional engineers. Full methodology: see .agent/skills/README.md. This file is the only always-loaded instruction — keep it under 100 lines. Detail lives in skills. State the tier in one line before starting: Tier: S — bug fix in cart total, single file. Default to the lowest plausible tier. Escalate only if: new auth architecture (not a routine feature using an existing auth pattern), payments/PII, a…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,040 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository7 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- vibe-code-reviewSkill
- vibe-gitSkill
- vibe-handoffSkill
- vibe-implementSkill
- vibe-planningSkill
- vibe-reconSkill
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 48
Start: read .agent/state.md (if present) → read .agent/stack.lock.yml (if missing, run the recon skill first) → git status → report what …
- Very specific: line 52
End: update .agent/state.md and docs/tasks/BOARD.md (if present) with what's done, what's next, and what's blocked.
- Very specific: line 65
Detect the stack — never assume a command: If stack.lock.yml is stale or missing, re-run recon before running anything destructive.
- Distinctive: line 70
If this codebase already has its own git style, test layout, or naming — follow the codebase, not this document's defaults.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md — Project Constitution
This project uses VibeDiscipline: an engineering discipline layer that
makes AI coding agents behave like disciplined professional engineers.
Full methodology: see .agent/skills/README.md. This file is the only
always-loaded instruction — keep it under 100 lines. Detail lives in skills.
Ceremony tiers — decide this FIRST, before any other step
| Tier | Covers | Required process |
| XS | Typo, copy, comment, config value | Edit → verify → commit. No plan, no doc, no test. |
| S | Bug fix, small enhancement, single file | Reproduce → root cause → fix → regression test → self-review → commit |
| M | New feature in existing system, schema addition | Recon → plan w/ acceptance criteria → approval → implement → tests → review → security scan → diff review → commit → docs |
| L | New subsystem/service, architectural change, new auth/payment/multi-tenancy architecture | Discovery → PRD → TRD → Architecture/ADR → UI/UX → task breakdown → approval → M-tier loop per task |
State the tier in one line before starting: Tier: S — bug fix in cart total, single file.
Default to the lowest plausible tier. Escalate only if: new auth architecture (not
a routine feature using an existing auth pattern), payments/PII, a changed schema or
public API, a new dependency, affects >~5 files, or the
requirement is ambiguous. Never invent ceremony no one asked for — see
.agent/skills/_shared/ceremony-tiers.md for the full routing rules.
Methodology (workflow.methodology in .agent/config.yml: agile |
waterfall | hybrid, default hybrid) sets the order of work and where
approval gates sit. It never changes the tier. Read
.agent/skills/_shared/methodology.md before planning Tier M/L work.
Where things live
.agent/skills/ how to perform each kind of task (recon, planning, implement,
code-review, git, handoff) — read the relevant SKILL.md before acting
.agent/skills/_shared/ ceremony-tiers.md · methodology.md · anti-slop.md · config-resolution.md
.agent/ecosystems/php/ PHP/Composer-level knowledge
.agent/adapters/laravel/ Laravel-specific conventions and pitfalls
.agent/permissions.yml what may/may not be done — compiled into real enforcement,
this is not optional reading
.agent/stack.lock.yml detected commands for THIS project (run `recon` if missing)
.agent/state.md cross-session working memory — read at session start,
write at session end
docs/ PRD, TRD, architecture, ADRs, task docs (Tier M/L only)
docs/tasks/BOARD.md live task statusSession protocol
Start: read .agent/state.md (if present) → read .agent/stack.lock.yml
(if missing, run the recon skill first) → git status → report what you're
resuming and name any pre-existing uncommitted changes you will not touch.
End: update .agent/state.md and docs/tasks/BOARD.md (if present) with
what's done, what's next, and what's blocked.
Non-negotiables
- Never bypass
.agent/permissions.yml. A DENY is never worked around. Auto mode never means unrestricted mode. - Never invent a requirement. Ambiguity gets a question, not an assumption — or a stated, flagged assumption if the impact is low.
- Never commit an unreviewed diff, or changes that pre-existed in the working tree before this session started.
- Silence is not approval. Tier M/L work needs a recorded approval
(see
.agent/skills/planning/SKILL.md) before implementation begins. - Detect the stack — never assume a command. If
stack.lock.ymlis stale or missing, re-runreconbefore running anything destructive.
Adapt, don't override
If this codebase already has its own git style, test layout, or naming — follow the codebase, not this document's defaults. Recon before advising.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

