DA

dmmulroy/anti-slop

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

5821 stars 品質 79 トレンド 69MIT

低エビデンスのTypeScriptおよびJavaScriptパターンを拒否するための意見を持つOxlintルール

概要

低証拠かつ低シグナルのTypeScriptやJavaScriptパターンを拒否する意見の強いOxlintルール。 アンチスロップは、私が仕事やプロジェクト、チームで何よりもまず使っているルールセットです。これは私の好みや好みを反映しており、普遍的なコーディング標準を目指しているわけではありません。 固定されたnpm依存関係として扱われていません。公式のnpmパッケージはありません。ルールをリポジトリにコピーし、読み、チームの標準に合わせて変更してください。バンドルされたエージェントスキルが初期のコピーと設定を担当します。その後はベンダーファイルはあなたのもので管理し、自分で作成できます。コミュニティが管理するフォークやパッケージも歓迎しますが、その互換性やリリースライフサイクルはメンテナに委ねられます。 その後、コーディングエージェントに現在のリポジトリにアンチスロップをインストールしたり設定したりしてもらうよう依頼してください。

概要(AI 翻訳)

低証拠かつ低シグナルのTypeScriptやJavaScriptパターンを拒否する意見の強いOxlintルール。

アンチスロップは、私が仕事やプロジェクト、チームで何よりもまず使っているルールセットです。これは私の好みや好みを反映しており、普遍的なコーディング標準を目指しているわけではありません。

このプロジェクトはベンダー提供を想定しており、固定されたnpm依存関係として扱われていません。公式のnpmパッケージはありません。ルールをリポジトリにコピーし、読み、チームの標準に合わせて変更してください。バンドルされたエージェントスキルが初期のコピーと設定を担当します。その後はベンダーファイルはあなたのもので管理し、自分で作成します。コミュニティで管理されるフォークやパッケージは歓迎されますが、その互換性やリリースライフサイクルはメンテナの責任です。

エージェントスキルでインストール

その後、コーディングエージェントに現在のリポジトリにアンチスロップをインストールしたり設定したりするよう依頼します。スキルはプラグインをコピーし、既存のOxlintバージョンと対応するOxlint依存関係をインストールし、プラグインを既存のlint設定に統合し、すべての汎用ルールを有効にし、結果を検証します。

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

anti-slop

Opinionated Oxlint rules that reject low-evidence and low-signal TypeScript and JavaScript patterns.

Anti-slop is first and foremost the ruleset I use with my work, projects, and team. It reflects my preferences and taste rather than attempting to be a universal coding standard.

This project is meant to be vendored, not treated as a fixed npm dependency. There is no official npm package. Copy the rules into your repository, read them, and change them to match your team’s standards. The bundled agent skill handles the initial copy and configuration; after that, the vendored files are yours to maintain and make your own. Community-maintained forks and packages are welcome, but their compatibility and release lifecycle belong to their maintainers.

Install with an agent skill

npx skills add dmmulroy/anti-slop --skill install-anti-slop

Then ask your coding agent to install or configure anti-slop in the current repository. The skill copies the plugin, installs compatible Oxlint dependencies—matching an existing Oxlint version when present—merges the plugin into the existing lint configuration, enables every generic rule, and validates the result. In repositories that depend directly on Effect, it also enables the opt-in Effect rule group.

Update an existing installation

Ask your agent to update anti-slop while preserving local customizations, optionally naming an upstream revision or selected fixes. The same skill stages incoming source separately, uses a three-way merge when the original upstream snapshot is recoverable, and otherwise ports reviewed changes conservatively. It preserves local rules and configuration, asks about conflicting policy and enabling new rules, and records provenance for future updates. It does not force-replace the vendored directory.

For latest upstream, ask the agent to retrieve and identify that revision; an already-installed skill bundle may be older. The copy script itself does not fetch or merge updates.

To inspect available skills first:

npx skills add dmmulroy/anti-slop --list

Manual local installation

Copy src/ into the target repository, for example at tools/oxlint/anti-slop/. If the repository already uses oxlint, install @oxlint/plugins at exactly the resolved Oxlint version. Otherwise, install the same current version of both packages. Keep both versions exact so upgrades move them together.

Register the copied entry point in oxlint.config.ts:

import { defineConfig } from "oxlint";

export default defineConfig({
  ignorePatterns: [
    ".agent/**",
    ".agents/**",
    ".claude/**",
    ".codex/**",
    ".continue/**",
    ".cursor/**",
    ".gemini/**",
    ".opencode/**",
    ".pi/**",
    ".roo/**",
    ".windsurf/**",
    "tools/oxlint/anti-slop/**",
  ],
  jsPlugins: [
GitHub で README 全文を見る

推奨ツール

別のキーワードを試すか、フィルタを外してください。

インストール

npx skillfish add dmmulroy/anti-slop
MCP 初心者?mcpskill.org のガイドから始めましょう →