# Ralph Quality Gates: The Three Mandatory Checks Before Committing Changes

> Discover the three essential Ralph quality gates typechecking linting and testing ensuring successful commits and preventing failed code changes.

- Repository: [Ryan Carson/ralph](https://github.com/snarktank/ralph)
- Tags: best-practices
- Published: 2026-04-13

---

**Ralph commits changes only after typechecking, linting, and testing all succeed, aborting the commit immediately if any quality gate fails.**

Ralph (snarktank/ralph) is an AI-driven development agent that enforces strict quality standards before committing code. According to the repository's prompt templates and documentation, Ralph implements a mandatory three-stage quality gate system that prevents broken code from ever reaching the repository.

## The Three Mandatory Quality Gates

Ralph enforces a combined pass of three distinct quality checks before allowing any commit. These gates are explicitly defined