install-anti-slop Skill: Add Anti-Slop Oxlint Rules
Makes Claude copy the anti-slop Oxlint rules into your repository, set up the config and dependencies, and update them later without losing your edits.
- Installs
- 15.1K
- on skills.sh
- Stars
- 5.8K
- on GitHub
- Files
- 35
- besides SKILL.md
- Updated
- Oct 2026
- last repo commit
install-anti-slop vendors the anti-slop rules into your repo. Claude runs a bundled Node script that copies the plugin to tools/oxlint/anti-slop/, matches the @oxlint/plugins version to your Oxlint, registers the plugin and turns on 19 rules at error level, including one native Oxlint rule.
If Effect is a direct dependency, or you ask for it, it adds 5 optional Effect rules. It then runs your lint and typecheck and records provenance in UPSTREAM.md. For an existing copy, it follows an update procedure that stages incoming source and merges it with your local changes. The README says the rules reflect the author's taste and are meant to be vendored, not installed as an npm package.
Good for
- TypeScript and JavaScript teams that lint with Oxlint
- Maintainers who want opinionated rules against low-signal code patterns
- Teams who already vendored anti-slop and want upstream fixes
Install install-anti-slop
Claude Code
- 1
Copy this prompt.
Install the install-anti-slop skill in Claude Code. Run this command: npx skills add https://github.com/dmmulroy/anti-slop --skill install-anti-slop Then check that it loaded and tell me how to use it.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Node.js.
From its listing on skills.sh. Source.
What's in the skill
When it loads
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.
Sections in SKILL.md
- Choose the path
- Fresh install
Key facts
- Author
- dmmulroy (repo owner)
- Installs on skills.sh
- 15,079
- Repo stars
- 5,814
- License
- MIT
- Last repo commit
- 2026-10-14
- Files in the skill folder
- 41 files including SKILL.md
- Rules enabled
- 19 generic (18 anti-slop plus oxc/no-accumulating-spread), plus 5 optional Effect rules
- Bundled script
- scripts/install.mjs (Node)
What it includes
Fresh install or update of an existing copy
Reads the repo's agent instructions, git status, package manager and Oxlint config, and finds renamed or moved copies.
Choose the pathnode scripts/install.mjs copies the rules into tools/oxlint/anti-slop/
Pass another relative folder if your repo has a tooling layout. It refuses to replace an existing folder unless --force is passed, and the skill says to use the update route instead.
Runs code ·
1. Copy the pluginInstall @oxlint/plugins at the exact version of Oxlint
If the repo has no oxlint, it checks the current versions with npm view and installs both as dev dependencies.
Runs code ·
2. Install dependenciesAdd ignorePatterns, jsPlugins and 19 rules at error
Merges into oxlint.config.ts or .oxlintrc.json (or Vite+ lint and fmt settings) without replacing existing entries. Adds 5 Effect rules only when Effect is a direct dependency or you ask.
Write ·
3. Register the pluginLint, typecheck and, for Vite+, vp check
Reports findings in your source. It fixes them only if you asked for cleanup, and it does not weaken rules or add unsafe casts to pass.
Runs code ·
4. Run the checksWrite UPSTREAM.md beside the entry point
Notes source repo, exact commit when known, installed paths and deliberate differences.
Write ·
5. Record provenanceStage upstream, find the base and three-way merge
Stages the incoming copy in a temporary folder, merges when the original snapshot is known, and otherwise ports changes conservatively.
Runs code ·
references/update.md
From the official docs
Permissions
Medium risk
The skill copies 38 files into your repo, installs npm dev dependencies and edits your lint config. Run it on a clean branch and review the diff before you merge.
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
It runs a script and installs npm packages
Claude runs node scripts/install.mjs, then installs @oxlint/plugins and, if missing, oxlint as dev dependencies with your package manager. Read the 937-byte script first and use a clean git branch. github.com
It edits your lint config
It merges ignore patterns, plugin entries and 19 rules at error level into your Oxlint or Vite+ config, so lint can start failing. Review the diff. github.com
Autofix runs only if you ask for cleanup
The require-readable-spacing autofix and formatter run when you authorize migration or cleanup. Otherwise it reports findings. github.com
Technical details
| Talks to | npm registry (npm view and dependency install). The upstream anti-slop source, only if you ask for the latest revision |
|---|
Questions
What does the install-anti-slop skill do?
It installs, configures and updates the anti-slop Oxlint rules in your repository. Claude copies the bundled plugin, matches dependency versions, registers the rules and runs your checks.
Is anti-slop an npm package?
No. The README says there is no official npm package. The rules are meant to be copied into your repo, read and changed to match your team's standards.
Will it overwrite my local changes?
The copy script refuses to replace an existing folder. For updates, the skill stages upstream separately and merges, and it is meant to preserve your local customizations.
Do I need Oxlint already?
Not necessarily. If your repo has no oxlint dependency, the skill looks up the current oxlint and @oxlint/plugins versions with npm view and installs the same version of both.
What are the Effect rules?
5 optional rules for Effect projects. They are registered only when effect is a direct dependency in a package manifest, or when you ask for them.
How do I install it?
Use the install box above. The README documents the skills CLI with --skill install-anti-slop. The folder has 41 files including SKILL.md, 38 of them the rule sources it copies.
Is it safe to install?
It runs a Node script, installs npm dev dependencies and edits your lint config, so it can change your repo. Use a clean branch and review the diff.
Information
updated Nov 2, 2026
- Repository
- dmmulroy/anti-slop
- Folder
skills/install-anti-slop
Sources
Docs, issue trackers and discussions this page is built from.
Show all 4Hide
- install-anti-slop SKILL.md · github.com
- install-anti-slop references/update.md · github.com
- install-anti-slop scripts/install.mjs · github.com
- anti-slop README · github.com