A living, open knowledge base of antipatterns, rules, and quality principles for AI-assisted software development.
AI-assisted programming ("vibe coding") is fast. Too fast for its own good.
It generates code that looks correct, tests that look thorough, and documentation that looks complete — while none of it actually works the way you think it does.
The same mistakes appear in every project, in every language, with every AI agent:
- Code that passes all tests but breaks when a real user touches it
- Tests that validate the presence of a file, not its behavior
- Features that exist in the backend but are unreachable from the UI
- Technical debt that compounds silently session after session
- Lessons learned in one project that are forgotten in the next
The Golden Standard exists to stop that cycle.
A structured, growing library of knowledge organized into four streams:
Antipatterns specific to AI-assisted development: improvised architecture, non-reversible solutions, ghost files, hardcoded paths, invisible technical debt accumulation.
154 entries cataloged with severity, description, detection criteria, and mitigation.
Ways tests become "security theater": checking file existence instead of behavior, mocks with no real-world correspondence, tests that pass despite broken user flows.
116 entries with examples of what bad tests look like and how to detect them.
A separate governance category for efficient use of AI context tokens — because wasting tokens is also a form of technical debt. Always subordinate to code quality.
Tokenomics is navigated through its own index, a bridge map, and thematic subindices for memory/headroom, input/retrieval, output/compaction, measurement/telemetry, and automation/tooling. The refined surfaces are memory/headroom, input/retrieval, output/compaction, measurement/telemetry, and automation/tooling.
Cross-cutting lessons and reusable observations that explain, connect, or contextualize the rule catalogs without duplicating them.
- Wiki Home — Entry point with category indexes
- Conceptual Framework — Root doctrine and architectural baseline
- Repository Hygiene — Canonical cleanup and naming doctrine
- Inbox — Intake process for raw findings and proposed entries
- Audit Report — Machine-generated coverage map
- Graph — Local knowledge graph with hubs, intentional templates, orphan candidates, and impact paths
- Tokenomics Index — Dedicated token-efficiency catalog
- Tokenomics Map — Bridge between TK lenses and PI insights
- Coding Vices Index — All VC-xxx and VT-xxx articles
- YAML Catalogs — Machine-readable knowledge for tooling
The Golden Standard is plain Markdown plus YAML plus git. You do not need Obsidian, Dataview, Web Clipper, or any other plugin stack for the repo to work.
If you want a nicer local reading experience, Obsidian is a good optional viewer because the Wiki/ tree is already Obsidian-friendly.
The graph view is also generated locally in Wiki/Graph.md plus golden_standard_graph.json, so you can inspect relationships without installing any extra stack.
# Clone the Golden Standard as a git submodule in your project
git submodule add https://github.com/lcasarin-maker/VibeCoding_GoldenStandard.git Golden_Standard
# Or just reference it for reading
git clone https://github.com/lcasarin-maker/VibeCoding_GoldenStandard.git# Cross-reference YAML catalogs with Wiki articles, generate audit report
python generate_golden_audit.pyOutput: golden_standard_audit_report.md — shows the compliance map and generated status snapshot. CI also validates that the catalogs and Wiki stay in sync.
VibeCoding_GoldenStandard/
├── README.md ← You are here
├── CONCEPTUAL_FRAMEWORK.md ← Philosophy and architecture
├── CONTRIBUTING.md ← How to contribute
├── CODE_OF_CONDUCT.md ← Community standards
│
├── golden_standard.yaml ← Master index
├── golden_standard_coding_vices.yaml ← VC-xxx catalog (154 entries)
├── golden_standard_testing_vices.yaml ← VT-xxx catalog (115 entries)
├── golden_standard_tokenomics.yaml ← Tokenomics principles
├── golden_standard_project_insights.yaml ← Cross-cutting lessons
│
├── Wiki/
│ ├── Home.md ← Wiki entry point
│ ├── Tokenomics_Index.md ← Dedicated tokenomics index
│ ├── Tokenomics_Map.md ← Bridge between tokenomics lenses and insights
│ ├── Concepts/
│ │ └── Conceptual_Framework.md ← Canonical doctrine with hygiene chapter
│ ├── Tokenomics/ ← Individual TK articles
│ ├── Graph.md ← Generated graph summary
│ └── Vices/ ← Individual articles (VC/VT)
│
├── Inbox/ ← Proposed entries (pending review)
├── scripts/ ← Validation helpers for CI and local checks
│ └── validate_golden_standard_catalogs.py ← Catalog + wiki validator
├── generate_golden_audit.py ← Audit tool
├── golden_standard_graph.json ← Knowledge graph export
└── deprecated/ ← Historical artifacts
The knowledge is stored in human-readable YAML files:
| File | Domain | Entries |
|---|---|---|
golden_standard_coding_vices.yaml |
Vibe coding antipatterns | 154 |
golden_standard_testing_vices.yaml |
Testing failures | 116 |
golden_standard_tokenomics.yaml |
Token efficiency | 47 |
golden_standard_project_insights.yaml |
Cross-cutting insights | 35 |
Total: 317 vices + 35 insights (352 entries). Counts here are the source of truth and are validated against the YAML; the entries badge reflects the total number of flaws (317).
Each entry includes:
- ID (e.g.,
VC-042) - Title and Description
- Severity (
critical,high,medium,low) - Status (
DOC_ONLY,AUDITED,PREVENTED,REMEDIATED) DOC_ONLYmeans the rule is documented in GS, not that downstream verification is forbidden. VC/VT/TK entries must declaredownstream_verificationexplicitly asrequiredornone.
What
PREVENTEDdoes and does not mean. APREVENTEDstatus means a guard for this vice exists in a downstream enforcing project (e.g. Cerberus) — typically a test that fails when the vice's signature appears (such as missing JSON evidence in.protocol/evidence/). This knowledge-base repo does not itself run those guards. It catalogs the principle and names the mechanism; it does not execute it. The CI in this repo validates catalog/wiki integrity only. TreatPREVENTEDas "enforceable, and enforced where Cerberus is wired in" — not as protection automatically present in any project that merely clones this repo. A stricter, self-describing status enum (ENFORCED_LOCAL/ENFORCED_EXTERNAL/PROPOSED) is tracked in issue #4.Naming note: the "Cerberus" referenced here is this project's own downstream enforcement layer. It is unrelated to the unaffiliated
philips-software/cerberus(a Java build quality-gate); a verified scan found no LLM-space repo colliding with the name.
- Tags (at least two normalized)
- Detection criteria
- Mitigation
A knowledge entry is only operationally active when it has all four:
Principle → Executable Rule → Associated Test → Evidence → Consequence
Documentation alone does not make a principle real.
Entries progress through these statuses:
| Status | Meaning |
|---|---|
KNOWLEDGE |
Documented, not yet implemented |
RULE_DEFINED |
Has a mandate, no test yet |
TEST_ASSOCIATED |
Has a test, no evidence yet |
EVIDENCE_GENERATED |
Produces evidence, no consequence defined |
OPERATIONAL |
Full chain active |
BLOCKING |
Operational + can block commits |
The Golden Standard grows through real experience. If you've encountered a vibe coding failure that isn't in the catalog yet, please contribute it.
See CONTRIBUTING.md for the full guide.
Quick version:
- Check the Inbox/ folder and the YAML catalogs for similar/duplicate entries.
- Open an Issue using the "New Vice" template, or submit a PR with the entry in YAML + a Wiki article.
- Make the entry meet the Definition of Done (below). CI checks the rest.
An entry is only merged when it is falsifiable or honestly doctrinal — never a bare stub:
- Deep (falsifiable): ships
example_bad,example_good, a concretedetectionrecipe, and at least oneevidencereference. If the signature is statically checkable on a snippet, also add a detector toscripts/detectors.py—scripts/test_detectors.pyproves it fires on yourexample_badand stays silent on yourexample_good. - Doctrinal: if it's a behavioral/epistemic principle with no static signature, mark
doctrinal: trueexplicitly. Fabricating example code for these is not allowed. - Choose
downstream_verificationexplicitly (requiredornone) soDOC_ONLYis never read as "test exempt".
The live stubs badge must stay at 0, and all numbers (entries, deep %, detectors) are generated from the YAML by scripts/metrics.py — they can't be inflated by hand. Run python generate_golden_audit.py before committing; CI fails if generated artifacts, the wiki, or the badges are out of sync.
The Golden Standard is designed to be consumed by any agent, tool, or team that wants a portable knowledge base for AI-assisted development quality.
It is:
- Agent-agnostic — works with Claude, GPT, Gemini, or any AI
- Framework-agnostic — applies to any language or stack
- Tool-agnostic — can be integrated into any CI/CD or linting pipeline
MIT — See LICENSE for details.
The knowledge is free to use, adapt, and build upon. Attribution is appreciated but not required.
Built from lessons learned during real AI-assisted development sessions in 2025–2026. Extracted from its original enforcement lineage in June 2026 to become an independent, community-driven resource.
The best way to fight AI-generated technical debt is to document it, name it, and share it.