About Slopcannon

Slopcannon is a GitHub App that automatically detects AI-generated "slop" patterns in pull requests and provides inline annotations with a tweetable slop score.

What is AI Slop?

AI slop refers to code patterns that are common in AI-generated code but often indicate low-quality or poorly considered implementations. These patterns include:

Mystery Fallbacks

Generic fallback values like "Unknown", "N/A", or "Default" that indicate lazy error handling instead of proper null checks or error messages.

Silent Catches

Empty catch blocks that swallow errors without logging or handling them, making debugging nearly impossible.

Style Drift

Inconsistent code style within a single file or PR that suggests copy-paste from AI completions rather than thoughtful integration.

How It Works

  1. Install the Slopcannon GitHub App for your repositories
  2. Open or update a pull request (non-draft PRs are automatically analyzed)
  3. Slopcannon analyzes the PR diff for slop patterns and posts review comments
  4. Get a summary comment with your total slop score and breakdown
  5. Climb the leaderboards and share your slop scores

Privacy & Data

Slopcannon only analyzes code in pull requests for repositories where it's installed. We store PR metadata and slop scores for leaderboards. Private repository data is never displayed publicly.