Automatic Quality Gates for Claude Code

2 min read Original article ↗

Every conversation ends with validation. Linting, formatting, type-checking, and tests run automatically, catching issues before they ship.

How It Works

Quality enforcement that runs automatically, learns from results, and gets faster over time.

1

Install

One command installs the CLI and auto-detects plugins for your stack.

han plugin install --auto

2

Code

Claude writes code as usual. No workflow changes needed.

3

Validate

Stop hooks run automatically. Linters, formatters, type checkers, and tests are all verified.

4

Learn

Local metrics track success rates and calibrate confidence. Nothing leaves your machine.

Why It Works

Smart Caching

Only runs validation when relevant files change. Native Rust hashing keeps it fast.

📊

Local Metrics

Tracks task success and confidence calibration. All data stays on your machine, never sent anywhere.

🔧

Zero Config

Binary auto-installs on first session. --auto flag detects your stack automatically.

🔌

Any Stack

TypeScript, Python, Rust, Go, Ruby, Elixir. If there's a linter, there's a plugin.

Getting Started

Two commands. That's it.

1. Install the CLI:

curl -fsSL https://han.guru/install.sh | bash

2. Auto-detect and install plugins for your project:

han plugin install --auto

That's it. Next time you use Claude Code, validation hooks will run automatically when you finish a conversation.

Han

Built by The Bushido Collective - developers committed to honor, quality, and continuous improvement.

Philosophy

"Beginning is easy - continuing is hard."

- Japanese Proverb

MIT License - Walk the way of Bushido. Practice with Discipline. Build with Honor.