{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "azrtydxb-procoder--gate-agent-commits-before-they-land",
 "repo": "azrtydxb/procoder",
 "repo_url": "https://github.com/azrtydxb/procoder",
 "repo_slug": "azrtydxb-procoder",
 "title": "Gate agent commits so bad changes never land",
 "page_title": "How to gate agent commits so bad changes never land with Procoder",
 "summary": "Run the commit gate on agent output to catch formatting, conflict markers, junk files, and secrets.",
 "who": "A developer whose AI agent writes code in a git repository and who wants a check before each commit.",
 "problem": "Agents often leave unformatted files, conflict markers, staged junk, or AI attribution lines, and say the work is done anyway.",
 "outcome": "Each run lists the blocking findings and the fixed formatting, so the agent corrects the change before committing.",
 "steps": [
  "Run `/plugin marketplace add azrtydxb/procoder`",
  "Run `/plugin install procoder`",
  "Run `/procoder:init` to install the tools this repository needs",
  "Run `procoder check` and read the blocking findings",
  "Run `procoder format \"<file>\"` on any unformatted file, then run `procoder check` again (inferred, check the README)"
 ],
 "agent_prompt": "In the azrtydxb/procoder-enabled repository at <repo-path>, run `procoder check` after your changes. Report the count of blocking findings and fix each one before you commit. Verify that the final run shows zero blocking findings.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Intermediate",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "The full check set applies only to repositories that have adopted Procoder, so in someone else's repository only the universal checks run.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "go",
 "requirements": [
  "A git repository you want the agent to work in",
  "Claude Code for the plugin install commands shown, or another agent that reads AGENTS.md through the adapters the README links",
  "Permission to install the procoder plugin and run /procoder:init in that repository"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/azrtydxb-procoder/gate-agent-commits-before-they-land/",
 "md": "https://dedupedai.com/use-cases/azrtydxb-procoder/gate-agent-commits-before-they-land/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/azrtydxb-procoder--gate-agent-commits-before-they-land.json",
 "api_version": "v1"
}
