/nt-vendor:install-anti-slopfrom nt-vendor
Install and configure the anti-slop Oxlint plugin in a local TypeScript or JavaScript repository. Use whenever a user asks to add anti-slop lint rules, copy the anti-slop plugin, configure opinionated Oxlint rules, or migrate an existing local anti-slop setup.
Ships in nt-vendor. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Copy the bundled Oxlint plugin into the current repository and add it to the existing lint setup.
Inspect the repository first. Read its agent instructions, check git status so you
preserve unrelated work, and find the package manager, the Oxlint config, and any
existing copy of anti-slop.
Copy the plugin. Run this from the target repository:
node <skill-directory>/scripts/install.mjs [relative-destination]
The default destination is tools/oxlint/anti-slop/. The script refuses to replace an
existing destination. Compare the two copies first, and pass --force only after
backing up and reviewing the existing files.
Install the dependencies. Query the current versions of oxlint and
@oxlint/plugins, and install the same version of both as development dependencies
with the repository's package manager.
Register the plugin. Merge these fields into the existing config and keep every entry already there:
ignorePatterns: [
".agent/**", ".agents/**", ".claude/**", ".codex/**", ".continue/**",
".cursor/**", ".gemini/**", ".opencode/**", ".pi/**", ".roo/**",
".windsurf/**", "tools/oxlint/anti-slop/**",
],
jsPlugins: [{ name: "anti-slop", specifier: "./tools/oxlint/anti-slop/index.ts" }],
Add any other agent-tool directories the repository has. Never ignore every
dot-directory, because some hold owned source. For Vite+, merge into
lint.ignorePatterns, lint.jsPlugins, and fmt.ignorePatterns.
Enable every bundled anti-slop/* rule at error.
Run the repository's lint and typecheck, or the full vp check for Vite+. Report
findings in owned source, and fix them only if the user asked for a migration or
cleanup. Never weaken a rule, suppress an error, add an unsafe cast, or rewrite types
only to make lint pass.
Report the destination, the versions installed, the config changes, the checks run, and any findings that remain.
When replacing an older local copy, compare its rules and diagnostics before
overwriting, and keep project-specific rules in their own plugin. To resolve findings,
prefer inference, as const, satisfies, named contracts, and parsing at the boundary.
assets/anti-slop/index.ts (opens in a new tab)assets/anti-slop/rules/no-chained-type-assertions.ts (opens in a new tab)assets/anti-slop/rules/no-conditional-empty-object-spread.ts (opens in a new tab)assets/anti-slop/rules/no-known-value-widening.ts (opens in a new tab)assets/anti-slop/rules/no-module-mocking.ts (opens in a new tab)assets/anti-slop/rules/no-object-parameters.ts (opens in a new tab)assets/anti-slop/rules/no-reflect-apply.ts (opens in a new tab)assets/anti-slop/rules/no-reflect-get.ts (opens in a new tab)assets/anti-slop/rules/no-runtime-typeof.ts (opens in a new tab)assets/anti-slop/rules/no-shape-in-symbol-names.ts (opens in a new tab)assets/anti-slop/rules/no-unknown-parameters.ts (opens in a new tab)assets/anti-slop/rules/no-unknown-returns.ts (opens in a new tab)assets/anti-slop/rules/no-unknown-type-aliases.ts (opens in a new tab)assets/anti-slop/rules/no-unsafe-dictionary-type.ts (opens in a new tab)assets/anti-slop/rules/no-widen-then-assert.ts (opens in a new tab)assets/anti-slop/rules/require-safety-comment-for-type-assertion.ts (opens in a new tab)assets/anti-slop/shared/dictionary-types.ts (opens in a new tab)assets/anti-slop/shared/lexical-type-parameters.ts (opens in a new tab)assets/anti-slop/shared/reflect-method.ts (opens in a new tab)scripts/install.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
5 skills in this plugin
/audit-codebaseRead-only whole-codebase audit for simplifications in data structures, state representation, control flow, algorithms, and ownership. Inventories every subsystem as a coverage contract, reviews each one in a bounded subagent, verifies each finding against the repo, then audits its own coverage. Never edits, runs tests, commits, or pushes. Use for "audit this codebase", "find simplifications", or a pre-refactor survey./codebase-designShared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary./npx claudepluginhub notambourine/agent-plugins --plugin nt-vendor