Back to directory

ExSlop

A set of forty Credo checks that catch patterns common in AI-generated Elixir code but rare from experienced Elixir developers, such as blanket rescues, narrator-style comments and N+1 queries.

ExSlop

ExSlop is a Credo plugin adding checks for patterns that large language models tend to produce in Elixir code but that experienced Elixir developers avoid, including blanket rescue clauses, comments that narrate obvious code, anti-idiomatic use of Enum, try/rescue wrapped around functions that cannot raise, N+1 database queries, and GenServers used as nothing more than a key-value store.

Most checks avoid overlapping with Credo's own built-in checks, since Credo does not inspect documentation or comment content and does not catch Ecto-specific anti-patterns; a few checks intentionally overlap with existing Credo refactors so the plugin can also serve as a validation pipeline for generated code. Registering the plugin enables 31 high-signal checks by default, while noisier style and performance checks stay opt-in.

It installs as a Mix dependency and requires explicitly appending its checks to an existing enabled list if one is already configured.

More in Code quality

See all 94
  • Critic

    critic.run

    A code-change viewer, backed by Y Combinator, built for reviewing work written by coding agents, presenting a plain-language narrative of each change alongside the diff and a running conversation with the agent.

  • GitIntel

    hoangsonww.github.io

    An MCP server that computes git repository analytics such as hotspots, churn, temporal coupling, knowledge maps and risk scoring entirely from local commit history, for AI coding agents like Claude Code and Codex.

  • Axint

    axint.ai

    A verification layer for AI coding agents working on Apple projects: it runs real Xcode builds and tests against the Swift an agent wrote, reconciles static analysis findings against that evidence, and returns a signed proof with the exact repairs still needed.