Skip to content

codacy/gatemd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

GATE.md

The quality gate for AI-generated code.

GATE.md enforces quality and security standards on AI-generated code by combining deterministic static analysis with independent AI review (Gemini).

Install

Run from your project root:

curl -fsSL https://raw.githubusercontent.com/codacy/gatemd/main/install.sh | bash

This installs skills and hooks directly into your project. Then run /gate-setup in Claude Code.

What It Does

  1. Intercepts AI coding agent output at natural stopping points (via hooks)
  2. Analyzes code changes using static analysis tools + independent Gemini AI review
  3. Enforces project-specific quality and security standards
  4. Returns actionable findings for the coding agent to self-heal

Every analysis produces a gate decision: PASS, WARN, or FAIL.

Components

  • install.sh — Machine installer (Node.js 20+, git, Claude Code required)
  • hooks/analyze.sh — Stop hook script (runs on every agent response)
  • skills/ — Claude Code skills (/gate-setup, /gate-analyze, /gate-status)

Requirements

About

The quality gate for AI-generated code

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages