# Install Anti Slop

> Install, audit, configure, or remove opinionated Anti-Slop Oxlint rules in local TypeScript or JavaScript repositories. Use ONLY when explicitly requested to add anti-slop rules, audit TS/JS anti-patterns, configure anti-slop profiles, or migrate/remove an anti-slop setup. Skip for Python/Go/Rust, prose editing (use /unslop), and ordinary coding tasks.

- Skill: `kuker24/install-anti-slop` (Agent Skill, multi-file: 29 files)
- Install (CLI): `npx skillmds@latest add kuker24/install-anti-slop`
- Raw SKILL.md: https://api.skillmd.com/api/skills/kuker24/install-anti-slop/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Security
- License: MIT
- Author: kuker24 (https://skillmd.com/u/kuker24)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/kuker24/install-anti-slop

---


# install-anti-slop

OpenCodeBestFriend adapter for installing, auditing, configuring, or removing Anti-Slop Oxlint rules.
Vendored from [dmmulroy/anti-slop](https://github.com/dmmulroy/anti-slop) (MIT, Dillon Mulroy, commit `e8c4880471b23ab7f216fba7b27d173a6ef07d4c`, v0.1.2).

## Core Boundaries

1. **Opt-In Only**: Load this skill ONLY when the user explicitly requests Anti-Slop (e.g. "pasang anti-slop", "audit anti-slop", "hapus anti-slop"). Never auto-load during ordinary coding or non-TS/JS tasks.
2. **Distinct from `/unslop`**: `/unslop` is for user-facing prose cleanup. `install-anti-slop` is for static Oxlint linting of TypeScript/JavaScript code.
3. **No OCBF Core Coupling**: Never add Oxlint or Anti-Slop to OCBF's core Python codebase or dependencies.
4. **Exact Version Coupling**: Keep `oxlint` and `@oxlint/plugins` on the exact same version.
5. **No Blind Global Rewrites**: Linter findings identify patterns; resolve root causes with inference, `satisfies`, and boundary validation rather than casts or fake comments.

## The 4 Modes

| Mode | Behavior |
|---|---|
| `audit` | Evaluates rules against source/test/tooling; reports findings without modifying files or dependencies. |
| `recommended` | Installs curated OCBF profile (high-signal type safety assertions) after baseline review. |
| `strict` | Enables all 15 generic upstream rules (requires explicit user confirmation). |
| `custom` | Enables user-selected rule set. |

*Effect Rule Group*: Opt-in separately (`--with-effect`) only if `effect` is a direct project dependency.

## Usage

From the target project repository root:

```bash
# 1. Audit without project modifications
node <skill-base-dir>/scripts/manage.mjs audit

# 2. Install recommended profile (default)
node <skill-base-dir>/scripts/manage.mjs install --profile recommended

# 3. Install strict profile (when requested)
node <skill-base-dir>/scripts/manage.mjs install --profile strict

# 4. Install with Effect rules (when project uses Effect)
node <skill-base-dir>/scripts/manage.mjs install --profile recommended --with-effect

# 5. Safe removal
node <skill-base-dir>/scripts/manage.mjs remove
```

## References

- Detailed profile definitions: [references/profiles.md](references/profiles.md)
- Complete rule documentation & fixes: [references/rules.md](references/rules.md)

