anti-slop skill

A skill that installs a set of Oxlint rules catching low-quality TypeScript and JavaScript patterns often left by code generation

  • 6,053 ★ on the repository
  • Last commit
  • MIT
Skill

Extended access

Why this level

  • Copies files into the repository and changes the linter config
  • Installs and updates project dependencies
All reasons and checks

dmmulroy/anti-slop

Install

Manual install

npx skills add dmmulroy/anti-slop --skill install-anti-slop

Adds the install skill. Full skill list: npx skills add dmmulroy/anti-slop --list.

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • Copies files into the repository and changes the linter config
  • Installs and updates project dependencies

This is third-party code. Review the repository files before installing.

What it does

The install-anti-slop skill adds pluggable rules for the Oxlint linter to a repository and configures them. The rules reject weak patterns: chained type assertions, wide types such as unknown in returns, needless runtime typeof checks, accumulator copying in reduce and other signs of hasty code. On install the skill reads the package manager and project config, copies the rules as vendored code and enables them at the error level. A separate procedure updates an existing copy while preserving local choices.

Who it is for. For TypeScript and JavaScript developers who keep a quality bar in the team.

Good fit when

  • You want to reject weak TypeScript patterns automatically
  • Agent-written code lands in the project and needs strict linting
  • You need to migrate and update an existing anti-slop install without losing settings

Not a fit when

  • The project is not TypeScript or JavaScript
  • The team does not use Oxlint and will not
  • You need a formatting style guide rather than pattern checks

Example request

Install anti-slop in this repository and enable all rules at the error level

Limitations

The rules target Oxlint and its plugin format. Code is vendored into the repository and updates go through a separate procedure. There is an extra rule set for the Effect library.

How to disable. Remove the anti-slop entry from jsPlugins in the Oxlint config and delete the tools/oxlint/anti-slop folder.

FAQ

Are these ESLint rules?

No, they are Oxlint plugins wired in through jsPlugins in the Oxlint config.

Do the rules change my code?

The rules flag problem spots as linter errors. Fixes are up to the developer or agent; the skill does not rewrite code itself.

Discussion

No questions or reviews yet.

Skills
Official

Two official Oxc skills: the agent moves a project from ESLint to the Oxlint linter and from Prettier or Biome to the Oxfmt formatter

SkillExtended access23.4KRepository stars

An agent skill with TypeScript conventions: types, discriminated unions, functions, naming, source layout, React and tests, loaded per topic

SkillMinimal access786Repository stars

A zero-config linter and formatter for JavaScript and TypeScript, with ready presets for dozens of AI agents and editors

CLIExtended access3.4KRepository stars

A code review skill across many languages and frameworks: architecture, performance, security, anti-patterns and common bugs

SkillMinimal access2.2KRepository stars12Installs via CLI and agents
Russian stack

A Claude Code skill that finds Russian-language bugs in code: incomplete plural forms, case errors in string concatenation, terminology drift

SkillMinimal access6Repository stars

A skill that finds AI slop in code: duplicate helpers, empty abstractions, weak tests. It cleans one pattern per commit.

SkillExtended access94Repository stars

README in short

anti-slop is a set of Oxlint rules that reject low-evidence patterns in TypeScript and JavaScript. The repository ships the rules, tests and an install-anti-slop skill that installs and updates them in a target project. The skill vendors the code, matches compatible oxlint and plugin versions and enables the rules at the error level. There is a separate set for the Effect library. MIT licensed.

README badge

Original SKILL.md

---
name: install-anti-slop
description: Install, configure, update, or upgrade vendored anti-slop Oxlint plugins. Use when adding anti-slop, picking up upstream rules or fixes, or migrating an existing installation while preserving local customizations.
---

# Install or update anti-slop

Anti-slop is vendored code: the target repository owns its rules, diagnostics, tests, and configuration. Preserve those choices when bringing in upstream changes.

Report a problem