Open-source tool · npm CLI · local-first

SlopCheck

A lightweight CLI that scans your git diff for risky AI-assisted code review patterns before they land.

SlopCheck helps developers catch obvious review debt in added lines — loosened types, suppressed errors, debug output, unfinished work, and broad error handling — before opening or merging a PR.

Local-onlyNo API callsMIT licensedGitHub Actions readyTypeScript CLI

Try it with npx

npx @shervnariman/slopcheck diff

Prototype

Breakdown

AI-assisted coding can move fast, but the risk is that patches often arrive looking complete while the changed lines still contain small review-risk signals: suppressed errors, loose types, debug output, unfinished work, or broad catch blocks.

SlopCheck creates a small review layer between generation and merge. It scans the diff, focuses on added lines, applies a focused set of rules, and returns a short risk report developers can review before opening a PR.

How it works

01

Scan the diff

Checks staged or unstaged git changes and focuses on added lines.

02

Flag review-risk patterns

Catches high-signal patterns like ts-ignore, loose TypeScript, TODO/FIXME/HACK, console.log, and broad catch blocks.

03

Score the patch

Groups findings by severity and summarizes the patch into a simple review-risk score.

04

Review before merge

Use the output locally, in automation, or before opening a pull request.

Try SlopCheck

npx @shervnariman/slopcheck diff

Built in public

SlopCheck is part of a small-tools approach: build narrow developer utilities, ship them quickly, and improve them based on real feedback.

I’m especially looking for feedback from developers using Cursor, Copilot, Claude Code, and other AI-assisted coding workflows.

What rules should SlopCheck add next?