anti-slop
A skill that installs a set of Oxlint rules catching low-quality TypeScript and JavaScript patterns often left by code generation
Medium risk
We rate an entry medium when the tool runs code, makes network calls or reads project files. Check what exactly it does before installing.
Why this level
- Copies files into the repository and changes the linter config
- Installs and updates project dependencies
Install
In your terminal, with SkillFoxx CLI
npx skillfoxx add skills/anti-slopDetects the agents on your machine, checks the risk and pins the version.
Other ways to install
Run in a terminal in the project folder
npx skills add dmmulroy/anti-slop --skill install-anti-slop -a claude-code -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Without third-party tools, from commit c44ef22
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/dmmulroy/anti-slop.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/install-anti-slop/
git -C "$tmp" checkout c44ef22ca116d0ba62a3ff663a0bd13a3f3fa40b
mkdir -p .claude/skills
cp -R "$tmp/skills/install-anti-slop" .claude/skills/install-anti-slopCommands for macOS and Linux, on Windows run them in Git Bash.
Run in a terminal in the project folder
npx skills add dmmulroy/anti-slop --skill install-anti-slop -a cursor -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Without third-party tools, from commit c44ef22
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/dmmulroy/anti-slop.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/install-anti-slop/
git -C "$tmp" checkout c44ef22ca116d0ba62a3ff663a0bd13a3f3fa40b
mkdir -p .agents/skills
cp -R "$tmp/skills/install-anti-slop" .agents/skills/install-anti-slopCommands for macOS and Linux, on Windows run them in Git Bash.
Run in a terminal in the project folder
npx skills add dmmulroy/anti-slop --skill install-anti-slop -a github-copilot -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Without third-party tools, from commit c44ef22
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/dmmulroy/anti-slop.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/install-anti-slop/
git -C "$tmp" checkout c44ef22ca116d0ba62a3ff663a0bd13a3f3fa40b
mkdir -p .github/skills
cp -R "$tmp/skills/install-anti-slop" .github/skills/install-anti-slopCommands for macOS and Linux, on Windows run them in Git Bash.
Run in a terminal in the project folder
npx skills add dmmulroy/anti-slop --skill install-anti-slop -a codex -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Without third-party tools, from commit c44ef22
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/dmmulroy/anti-slop.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/install-anti-slop/
git -C "$tmp" checkout c44ef22ca116d0ba62a3ff663a0bd13a3f3fa40b
mkdir -p .agents/skills
cp -R "$tmp/skills/install-anti-slop" .agents/skills/install-anti-slopCommands for macOS and Linux, on Windows run them in Git Bash.
Run in a terminal in the project folder
npx skills add dmmulroy/anti-slop --skill install-anti-slop -a gemini-cli -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Without third-party tools, from commit c44ef22
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/dmmulroy/anti-slop.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/install-anti-slop/
git -C "$tmp" checkout c44ef22ca116d0ba62a3ff663a0bd13a3f3fa40b
mkdir -p .agents/skills
cp -R "$tmp/skills/install-anti-slop" .agents/skills/install-anti-slopCommands for macOS and Linux, on Windows run them in Git Bash.
Run in a terminal in the project folder
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/dmmulroy/anti-slop.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/install-anti-slop/
git -C "$tmp" checkout c44ef22ca116d0ba62a3ff663a0bd13a3f3fa40b
mkdir -p .devin/skills
cp -R "$tmp/skills/install-anti-slop" .devin/skills/install-anti-slopCommands for macOS and Linux, on Windows run them in Git Bash.
Formerly Windsurf.
Run in a terminal in the project folder
npx skills add dmmulroy/anti-slop --skill install-anti-slop -a cline -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Without third-party tools, from commit c44ef22
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/dmmulroy/anti-slop.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/install-anti-slop/
git -C "$tmp" checkout c44ef22ca116d0ba62a3ff663a0bd13a3f3fa40b
mkdir -p .cline/skills
cp -R "$tmp/skills/install-anti-slop" .cline/skills/install-anti-slopCommands for macOS and Linux, on Windows run them in Git Bash.
Run in a terminal in the project folder
npx skills add dmmulroy/anti-slop --skill install-anti-slop -a roo -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Without third-party tools, from commit c44ef22
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/dmmulroy/anti-slop.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/install-anti-slop/
git -C "$tmp" checkout c44ef22ca116d0ba62a3ff663a0bd13a3f3fa40b
mkdir -p .roo/skills
cp -R "$tmp/skills/install-anti-slop" .roo/skills/install-anti-slopCommands for macOS and Linux, on Windows run them in Git Bash.
A fork of Roo Code, same .roo folders.
Run in a terminal in the project folder
npx skills add dmmulroy/anti-slop --skill install-anti-slop -a opencode -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Without third-party tools, from commit c44ef22
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/dmmulroy/anti-slop.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/install-anti-slop/
git -C "$tmp" checkout c44ef22ca116d0ba62a3ff663a0bd13a3f3fa40b
mkdir -p .agents/skills
cp -R "$tmp/skills/install-anti-slop" .agents/skills/install-anti-slopCommands for macOS and Linux, on Windows run them in Git Bash.
Run in a terminal in the project folder
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/dmmulroy/anti-slop.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/install-anti-slop/
git -C "$tmp" checkout c44ef22ca116d0ba62a3ff663a0bd13a3f3fa40b
mkdir -p .agents/skills
cp -R "$tmp/skills/install-anti-slop" .agents/skills/install-anti-slopCommands for macOS and Linux, on Windows run them in Git Bash.
Run in a terminal in the project folder
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/dmmulroy/anti-slop.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/install-anti-slop/
git -C "$tmp" checkout c44ef22ca116d0ba62a3ff663a0bd13a3f3fa40b
mkdir -p .agents/skills
cp -R "$tmp/skills/install-anti-slop" .agents/skills/install-anti-slopCommands for macOS and Linux, on Windows run them in Git Bash.
Install the skill: npx skills add dmmulroy/anti-slop --skill install-anti-slop, then follow SKILL.md to copy the rules and wire them into the Oxlint config.
Other ways from the author
npx skills add dmmulroy/anti-slop --skill install-anti-slopAdds the install skill. Full skill list: npx skills add dmmulroy/anti-slop --list.
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 levelLimitations
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.
Security check
- Copies files into the repository and changes the linter config
- Installs and updates project dependencies
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.
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.
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.
Related
A skills library that gives coding agents a development process: brainstorming, planning, TDD, subagents and code review
Skills for real engineers by Matt Pocock
Skills For Real Engineers
Small composable skills for engineering with agents: plan grilling, TDD, bug diagnosis, code review and architecture
GitHub toolkit for spec-driven development: the specify CLI adds agent commands and skills to a project, from principles to implementation
Reference MCP servers
Model Context Protocol servers
Official reference MCP servers: Filesystem, Fetch, Git, Memory, Sequential Thinking, Time and Everything