@DanKornas introduced pliablepixels/gap-trap, an open-source coding-agent skill that reads a repository, writes rules that fit the codebase, and adds gates that fail a commit or CI run when a rule is broken. It covers contracts, proven-red tests, problem ratchets, and playbooks, with multi-language gates. The repository had about 171 GitHub stars at verification and uses the MIT license.

Key Takeaways

  • Turns approved paths for HTTP, logging, settings, and auth into contracts with bypass checks.
  • Proven-red CI runs new tests against old code so a test must prove it can fail; ratchets only allow known-problem counts to fall.
  • Installs as a coding-agent skill with Node/Python and shell-based gates; pliablepixels/gap-trap had about 171 stars at verification under MIT.
ADSponsored