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
- Install the GitHub App on your repositories
- View your Dashboard (opens in a new tab) to see scan results
- Configure settings per-repo or organization-wide
Features at a Glance
| Feature | Description |
|---|---|
| PR Analysis | Automatic scanning of opened/updated PRs |
| Slop Scoring | Numeric score based on detected patterns |
| Finding Details | Line-level findings with severity ratings |
| Team Leaderboards | Track clean vs sloppy code contributors |
| Per-Repo Settings | Customize thresholds and draft analysis |
| Ghost Mode | Silent analysis without GitHub comments |