r/VibeCodeDevs • u/Semilearnedhand • 1h ago
ResourceDrop – Free tools, courses, gems etc. I open-sourced vibecode-enforcer (MIT): an auditing and code guardrail enforcing skill package for coding agents
If you're vibe coding apps with Claude Code, Codex, Cursor, Antigravity, Lovable, or Bolt, the biggest danger isn't what you don't know—it's what you don't know that you don't know.
Across real-world projects, AI-coded apps keep failing in the same three ways:
- Unreviewed code turns into "cognitive debt" and compounding slop. As a codebase gets messier, AI models actually get worse and more expensive because they pattern-match onto their own past mess.
- Models grade their own homework. Ask an AI to build a feature and write tests, and it writes the code first and writes tests afterward that the code literally cannot fail. Everything looks 100% green while billing math, data imports, or user isolation is silently broken.
- Unstructured guardrails swing into process bloat. Pile enough rules and unconstrained review loops onto agents and they start generating multi-revision receipt folders and bloated 50-page instruction files.
So I put together vibecode-enforcer — 100% free and open source (MIT): https://github.com/jimdawdy-hub/vibecode-enforcer
What's inside (written for vibe coders, not just senior engineers):
- Plain-English Hooks (ELI5): A rule in a prompt or
CLAUDE.mdis a polite sticky note an AI ignores when it's 30 steps deep. A hook is a security guard standing at the door—every time the AI tries to edit a file or run a command, the hook intercepts it before it runs and physically blocks rule violations. - TDD +
@nizos/probity(Why Order Matters): Test-Driven Development (TDD) simply means: write a test for what the code should do, run it and watch it fail, then write the minimum code to pass it. Left alone, AI models write code first and tests afterward—creating fake "tests" the code literally cannot fail.@nizos/probityconnects straight into your coding agent'sPreToolUsehook (./node_modules/.bin/probity --agent claude-codeorcodex), reads the live session transcript before each file write, and physically blocks the AI from editing production logic until a failing test has been observed (paired withgitleaksand strict CI gates). - Rule Zero (Outside Truth): Never let an AI certify its own work against itself. Compare parsers, math, dates, APIs, and database schemas against independent outside sources of truth.
- Cross-Vendor Opposing Counsel (with Cotal): We found strong evidence that pitting agents from different AI companies against each other in a bounded 1-round adversarial review dramatically cuts bugs. We include setup instructions for Cotal (
Cotal-AI/Cotal) for multi-vendor peer rooms, plus a zero-install CLI option. - 208 Tiered Checks Across Composable Profiles: A shared 19-check base + SaaS (131), Data Platform (30), and Agent Runtime (28) profiles, plus an
OUT OF PROFILEguard so non-SaaS apps never get a falseSHIP. - Anti-Bureaucracy Rules: Guardrails to stop agents from generating endless tracking docs and compliance theater.
Double-blind benchmark results: We tested this across two completely different held-out apps (a TypeScript/Express SaaS and a Python/SQLite FTS5 data pipeline)—both with 100% passing unit tests and zero bug hints—built by one AI model and audited completely blind by other models:
- TypeScript SaaS (
LedgerPulse): Gemini caught 8/8 planted core defects (0 false positives across 7 clean controls); Claude caught 8/8 + 3 bonus real bugs (0 false positives). - Python Data Pipeline (
RecallVault): Claude caught 11/11 planted defects (including 3/3 planted outside the 30-item checklist), 0 false positives, + 3 real unintentional SQLite bugs; Codex caught 11/11 (including 3/3 outside the checklist), 0 false positives, + 7 real unintentional bugs.
Contributors wanted: Right now the repo covers SaaS web apps, data platforms, and agent runtimes. We're inviting developers and domain experts to contribute modules for games, security/cryptography, engineering, science, math, mobile apps, and ML pipelines—with one rule: every contributed profile must include documented double-blind testing on a held-out repo like ours.
Repo (MIT, free & open source): https://github.com/jimdawdy-hub/vibecode-enforcer