{
 "schema_version": 1,
 "generated": "2026-10-20",
 "repo": "pliablepixels/gap-trap",
 "name": "gap-trap",
 "owner": "pliablepixels",
 "slug": "pliablepixels-gap-trap",
 "github": "https://github.com/pliablepixels/gap-trap",
 "what": "gap-trap is a skill for Claude Code and Codex that reads a repository, writes contracts and gates so AI-written code follows the codebase's rules, and adds CI checks that prove the tests can fail.",
 "why": "",
 "language": "JavaScript",
 "requirements": [
  "A git repository you want to set up",
  "Claude Code (Opus or better) or Codex (frontier coding model at high reasoning), since the skill stops on smaller models",
  "The skills CLI via npx, or a git clone for a manual install",
  "Your repo's test command, and git, grep, and awk for non-Node and non-Python repos"
 ],
 "audience_note": "Developers and teams who let AI agents write most of their code and want quality checks in the repo instead of reviewing every diff.",
 "risk": "none",
 "section": "earlier",
 "weekly_rank": null,
 "category": "Software and DevOps",
 "url": "https://dedupedai.com/use-cases/pliablepixels-gap-trap/",
 "use_case_count": 4,
 "use_cases": [
  {
   "id": "pliablepixels-gap-trap--set-up-agent-code-gates",
   "title": "Set up gates so agent code stays correct",
   "best": true,
   "url": "https://dedupedai.com/use-cases/pliablepixels-gap-trap/set-up-agent-code-gates/",
   "json": "https://dedupedai.com/use-cases/u/pliablepixels-gap-trap/set-up-agent-code-gates.json"
  },
  {
   "id": "pliablepixels-gap-trap--audit-existing-repo-violations",
   "title": "Find existing rule violations before they spread",
   "best": false,
   "url": "https://dedupedai.com/use-cases/pliablepixels-gap-trap/audit-existing-repo-violations/",
   "json": "https://dedupedai.com/use-cases/u/pliablepixels-gap-trap/audit-existing-repo-violations.json"
  },
  {
   "id": "pliablepixels-gap-trap--refine-rules-after-incidents",
   "title": "Refine rules after incidents and keep gates current",
   "best": false,
   "url": "https://dedupedai.com/use-cases/pliablepixels-gap-trap/refine-rules-after-incidents/",
   "json": "https://dedupedai.com/use-cases/u/pliablepixels-gap-trap/refine-rules-after-incidents.json"
  },
  {
   "id": "pliablepixels-gap-trap--prove-new-tests-can-fail",
   "title": "Catch tests that pass against old code in CI",
   "best": false,
   "url": "https://dedupedai.com/use-cases/pliablepixels-gap-trap/prove-new-tests-can-fail/",
   "json": "https://dedupedai.com/use-cases/u/pliablepixels-gap-trap/prove-new-tests-can-fail.json"
  }
 ],
 "disclaimer": "Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk."
}
