dislop
AGENTS.md2 starsChanged 7 days agoApache-2.0View on GitHub
Guidelines for contributors and AI agents working in the dislop repository.
- Reads credentials
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,196 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.
- site/llms-full.txtllms.txt
- site/llms.txtllms.txt
- deslop-docsSkill
- deslop-slides-docxSkill
- deslop-verifySkill
- deslop-web-uiSkill
- dislopSkill
The file
We split this AGENTS.md into the rules it gives an agent
7 rules. About 0 are common, 0 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 7
Micro-Kernel Purity (
src/kernel/): Keep src/kernel/ completely agnostic to specific prose clichés or UI template rules. - Very specific: line 9
Only deterministic pack.check(doc, ctx) hooks may call ctx.reportDefect(...) (error | warning).
- Very specific: line 19
Voice Reference: Follow docs/brand-and-voice-guide.md and docs/brand/voice.json.
- Very specific: line 20
Mandatory Pre-Flight Check: Before shipping or posting outbound copy, run node ./bin/dislop.mjs check <file> --no-llm --fail-on warning and …
- Very specific: line 24
Local-First Default: Default routing (routing: "local") performs zero network uploads.
- Very specific: line 25
Offline Deterministic Tests: All unit and integration tests (npm test via node --test) must run 100% offline using local mock servers or …
- Very specific: line 26
Pending Website Extraction: Do not modify site/, content/, or awesome/ during CLI work until the website repo extraction in …
≈ “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
Guidelines for contributors and AI agents working in the dislop repository.
1. Architecture Boundaries
- Micro-Kernel Purity (
src/kernel/): Keepsrc/kernel/completely agnostic to specific prose clichés or UI template rules. All linguistic, UI, and slide rules belong inside modular Packs underpacks/<scope-or-lang>/<scenario>/{pack.json,scripts/,prompts/}(scripts/*.mjsviadefinePackScriptsfor deterministic checks/gates, andprompts/*.mdfor lazy-loaded LLM instructions). - Dual-Track Enforcement:
- Only deterministic
pack.check(doc, ctx)hooks may callctx.reportDefect(...)(error | warning). - Prompt rules (
pack.resolvePromptand.pack.md) are structurally restricted to emitSuggestions (strong | moderate | hint) and must never fail CI (Exit Code 0).
- Only deterministic
- High-Restraint Default Packs: Built-in prose packs (
packs/en/prose,packs/zh/prose) must only flag zero-information filler (safe to delete) or self-contained syntactic AI shells—never ordinary domain claims that merely contain an abstract verb. - Strict Single-Language Separation:
src/,packs/common/,packs/en/,README.md, andPRODUCT.mdmust stay strictly in English (no mixed Chinese specimen strings).packs/zh/contains pure Chinese rules, prompts, and examples.
2. Zero AI Slop in Outbound Copy (Global Guiding Principle)
- Plain, Direct Public Voice: Every public-facing text in
dislop(READMEs, documentation, CLI help, release notes, issues, PR comments, benchmark notes, and social posts or replies) must read like plain, direct engineering prose—never AI filler, sycophantic praise (Great point!,Spot on!), balanced marketing triads, rhetorical-question openers, pull-quote closers, or costumed editorial roleplay. - Voice Reference: Follow docs/brand-and-voice-guide.md and docs/brand/voice.json.
- Mandatory Pre-Flight Check: Before shipping or posting outbound copy, run
node ./bin/dislop.mjs check <file> --no-llm --fail-on warningand confirm 0Defects and 0Suggestions (and rundislop verifyafter edits to confirm numbers, links, and quotes stay intact).
3. Privacy & Testing Guardrails
- Local-First Default: Default routing (
routing: "local") performs zero network uploads. Ambient environment keys (OPENAI_API_KEY, etc.) must always pass throughsrc/runtime/privacy-gate.mjs. - Offline Deterministic Tests: All unit and integration tests (
npm testvianode --test) must run 100% offline using local mock servers or injected adapters—never live external LLM APIs. - Pending Website Extraction: Do not modify
site/,content/, orawesome/during CLI work until the website repo extraction in docs/MIGRATION-TODO.md is completed.
4. Verification Commands
npm test
npm run dogfoodDoes 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.

