install-anti-slop

Installs and configures the anti-slop Oxlint plugin in TypeScript and JavaScript repositories.

Updated Sep 11, 2026
One-click install
npx skills add https://github.com/celeroncoder/skills --skill install-anti-slop-celeroncoder
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: install-anti-slop
Source: https://github.com/celeroncoder/skills/tree/main/install-anti-slop
Command: npx skills add https://github.com/celeroncoder/skills --skill install-anti-slop-celeroncoder

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Setting up a custom Oxlint plugin by hand involves copying plugin source, resolving compatible dependency versions, merging lint configuration, and wiring ignore patterns correctly. This Skill automates that entire installation and migration workflow while preserving existing repository configuration and unrelated work. ## Core Features & Use Cases - Bundled Plugin Installation: Copies the anti-slop Oxlint plugin (15 opinionated TypeScript lint rules) into the target repository via a guarded install script that refuses to overwrite existing files without --force. - Configuration Merging: Registers the plugin in oxlint.config.*, .oxlintrc*, or Vite+ configs, merges ignore patterns for agent tooling directories, and enables all anti-slop rules at error severity. - Dependency Resolution: Queries npm for current compatible versions of oxlint and @oxlint/plugins and installs them with the repository's own package manager. - Use Case: A team wants to enforce rules banning chained type assertions, unknown parameters, module mocking, and unsafe dictionary types across their TypeScript codebase. Run this Skill to vendor the plugin, wire it into Oxlint, and verify with the repository's lint and typecheck commands. ## Quick Start Ask the agent to install the anti-slop Oxlint plugin into this repository and enable all of its lint rules.

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 skill's install script with node, which copies the anti-slop plugin into tools/oxlint/anti-slop by default. Then register it in your Oxlint config under jsPlugins and enable the anti-slop rules at error severity.

What lint rules does the anti-slop Oxlint plugin include?▼

The plugin ships 15 rules covering chained type assertions, conditional empty-object spreads, known-value widening, module mocking, object and unknown parameters, Reflect.apply and Reflect.get, runtime typeof checks, unsafe dictionary types, widen-then-assert flows, and required SAFETY comments on assertions.

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

Yes. For Vite+ projects, the plugin fields are added to lint.ignorePatterns and lint.jsPlugins, and the same ignore patterns are merged into fmt.ignorePatterns so vp check does not reformat the vendored plugin or agent assets.

What happens if the anti-slop plugin already exists in my repository?▼

The install script refuses to overwrite an existing destination unless you pass --force. The skill instructs reviewing the existing files and comparing rules and diagnostics before replacing an older local copy.

Which dependencies does the anti-slop plugin require?▼

The plugin requires oxlint and @oxlint/plugins, installed as development dependencies at the same current version. The skill queries npm for the latest compatible versions rather than relying on remembered version numbers.