Introduction

Welcome to Slopcannon

Slopcannon is an AI slop detection tool for GitHub pull requests. It analyzes code changes to identify patterns commonly associated with AI-generated code that may need human review.

What is "AI Slop"?

AI slop refers to code patterns that suggest AI-generated content lacking human refinement:

  • Mystery fallbacks - Empty catch blocks, generic error handling
  • Silent failures - Swallowed exceptions, ignored return values
  • Overly verbose code - Unnecessary abstractions, redundant comments
  • Copy-paste artifacts - Duplicated code blocks, inconsistent naming
  • Complexity bloat - Deeply nested conditionals, overly complex logic

Why Use Slopcannon?

As AI coding assistants become more prevalent, teams need tools to maintain code quality standards. Slopcannon helps by:

  • Automated Review - Scans every PR automatically via GitHub webhooks
  • Objective Scoring - Quantifies code quality with a consistent "slop score"
  • Team Insights - Track patterns across your organization over time
  • Ghost Mode - Analyze silently without posting PR comments (default)

Quick Start

  1. Install the GitHub App on your repositories
  2. View your Dashboard (opens in a new tab) to see scan results
  3. Configure settings per-repo or organization-wide

Features at a Glance

FeatureDescription
PR AnalysisAutomatic scanning of opened/updated PRs
Slop ScoringNumeric score based on detected patterns
Finding DetailsLine-level findings with severity ratings
Team LeaderboardsTrack clean vs sloppy code contributors
Per-Repo SettingsCustomize thresholds and draft analysis
Ghost ModeSilent analysis without GitHub comments