Drep banner
slb350 slb350

Drep

AI community

Description

A local commit gate: runs the linters your repo configures, and sends changed code to an LLM for review

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

drep

drep logo

**A local commit gate.** It runs the linters your repository already configures, and sends the code you changed to an LLM for review.

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Rust 1.88+](https://img.shields.io/badge/rust-1.88+-orange.svg)](https://www.rust-lang.org)

curl --proto '=https' --tlsv1.2 -LsSf \
  https://github.com/slb350/drep/releases/latest/download/drep-ai-installer.sh | sh

What it does

On `git commit` and `git push`, drep checks your changes twice.

Layer Source Blocks?
Deterministic ruff, eslint, tsc, gofmt, go vet, clippy Yes
Semantic an LLM you point it at No, unless you ask

Your linters are precise, so their findings block. A model's opinion about naming is not precise at any severity, so it informs instead. Splitting by source rather than by severity is what makes the gate calibratable; opt the LLM into blocking with `--fail-on error` when you want it.

Semantic review is intentionally high-signal rather than exhaustive. The model is asked for concrete, reachable defects worth fixing before merge, and told to omit speculative hardening, implausible extreme edge cases, nits and cleanup opportunities. A clean response is preferable to manufacturing marginal work.

drep is a single binary. It talks to no source-control platform, runs no server, and needs no drep account. The deterministic half needs no model and no API key at all. Semantic review can use an HTTP API or a separately installed Codex CLI authenticated through a ChatGPT subscription.

Install

# Shell installer (macOS and Linux, x86_64 and arm64)
curl --proto '=https' --tlsv1.2 -LsSf \
  https://github.com/slb350/drep/releases/latest/download/drep-ai-installer.sh | sh

# Homebrew
brew install slb350/tap/drep

# crates.io
cargo install drep-ai

# Current