install-anti-slop

Install and update vendored anti-slop Oxlint plugins while preserving local customizations.

1|Updated Aug 11, 2026
One-click install
npx skills add https://github.com/Chia1104/agent-air --skill install-anti-slop-chia1104
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: install-anti-slop
Source: https://github.com/Chia1104/agent-air/tree/main/skills/shared/install-anti-slop
Command: npx skills add https://github.com/Chia1104/agent-air --skill install-anti-slop-chia1104

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires oxlint, @oxlint/plugins, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve? Teams that vendor custom Oxlint lint rules need a repeatable way to install, configure, and later update those rules without clobbering local edits, losing provenance, or breaking dependency versions. This Skill guides a safe fresh install and a reviewed three-way merge for updates. ## Core Features & Use Cases - Fresh installation: Copies the bundled anti-slop plugin into the target repository, pins matching oxlint and @oxlint/plugins versions, and registers all generic rules plus the opt-in Effect plugin in Oxlint or Vite+ configuration. - Vendored updates: Performs a three-way merge (local, incoming, base) that preserves local rule customizations, disabled rules, and configuration policy instead of replacing the directory. - Provenance tracking: Records source identity, adopted changes, and intentional deviations in UPSTREAM.md beside the vendored entry point. - Use Case: A repository already vendors anti-slop with locally tuned rules; when upstream fixes arrive, use this Skill to stage the incoming snapshot, merge only reviewed changes, run lint and typecheck, and record exactly what was adopted. ## Quick Start Ask the agent to install the anti-slop Oxlint plugin into this repository and configure all its rules, or to update the existing vendored anti-slop installation while keeping my local customizations.

Frequently Asked Questions about install-anti-slop

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install a custom Oxlint plugin in my repository?▼

Run the bundled install script with node from the target repository, which copies the anti-slop plugin to tools/oxlint/anti-slop by default. Then install matching oxlint and @oxlint/plugins versions and register the plugin in your Oxlint or Vite+ configuration.

How do I update a vendored lint plugin without losing local changes?▼

Stage the incoming upstream snapshot in a temporary directory, recover the original base revision, and perform a three-way merge classifying each change. Local-only rules, disabled rules, and configuration policy are preserved; conflicting changes are reported for your decision.

Does the anti-slop plugin work with Vite+ configuration?▼

Yes. Add the ignore patterns and jsPlugins entries to lint.ignorePatterns and lint.jsPlugins, and merge the same patterns into fmt.ignorePatterns so vp check does not reformat vendored files. Existing configuration entries are merged rather than replaced.

When should I enable the anti-slop Effect rules?▼

Enable the opt-in anti-slop-effect plugin only when the repository declares effect directly in a package manifest or the user explicitly requests it. A transitive Effect dependency in a lockfile is not sufficient justification.

Why does the installer refuse to overwrite an existing directory?▼

The install script refuses to replace an existing destination because existing copies are owned local policy, not drift to erase. Route existing installations through the update procedure, which merges changes in a reviewed way instead of forcing an overwrite.