install-anti-slop
하는 일
이 스킬은 AI가 작성한 코드에서 흔히 생기는 문제를 잡아내는 Oxlint 규칙 플러그인을 추가하거나 업데이트합니다. 허술한 코드 패턴을 린트로 잡고 플러그인을 최신으로 유지하려는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓프로젝트에 anti-slop 린트 규칙을 추가하고 싶을 때.
- ✓상류 규칙의 업데이트나 수정을 받아오고 싶을 때.
- ✓기존 anti-slop 설정을 로컬 변경을 잃지 않고 옮겨야 할 때.
스킬 링크
https://github.com/dmmulroy/anti-slop/blob/main/skills/install-anti-slop/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“내 저장소에 anti-slop Oxlint 플러그인을 설치하고, 기존 린트 설정은 그대로 유지해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트가 저장소의 패키지 관리자와 린트 설정을 확인하고, 번들된 플러그인을 tools 폴더에 복사한 뒤, 기존 설정을 바꾸지 않고 연결합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Install or update anti-slop
Anti-slop is vendored code: the target repository owns its rules, diagnostics, tests, and configuration. Preserve those choices when bringing in upstream changes.
Choose the path
Read the repository's agent instructions and git status. Identify its package manager, Oxlint/Vite+ configuration, and any existing anti-slop entry points, including renamed or relocated copies referenced by jsPlugins.
- Existing installation — update, upgrade, migrate, or reconfigure: read Update a vendored installation and follow that procedure instead of the fresh-install steps below.
- No installation — fresh install: follow the procedure below. If the user requested an update but no installation can be found, confirm the target before installing.
Complete when the operation and target path are established and pre-existing work is identified.
Fresh install
Copy the bundled plugin from this skill. Run from the target repository:
node <skill-directory>/scripts/install.mjsThis creates
tools/oxlint/anti-slop/. Pass another relative destination as the first argument when the repository has an established tooling layout. The script refuses to replace an existing destination; route existing copies through the update procedure rather than--force.Preserve the nested
vendor/eslint-stylistic/LICENSEandUPSTREAM.md; they travel with the copied rule. Readability enforcement is self-contained and requires no Stylistic plugin dependency.Complete when the files, including vendored license and provenance, exist at the agreed destination without replacing an existing copy.
Install current compatible dependencies rather than trusting versions remembered by the agent:
- If the repository already depends on
oxlint, read its installed version from the package manager or lockfile and install@oxlint/pluginsat exactly that version. Pin it exactly rather than by range so future upgrades move both packages together. - Only when the repository has no
oxlintdependency, querynpm view oxlint versionandnpm view @oxlint/plugins version, then install the same current version of both packages. oxlintis a development dependency. The copied source imports@oxlint/plugins, so install it as a development dependency for a local-only plugin.- Do not replace the package manager or rewrite unrelated dependency ranges.
Complete when matching compatible versions are installed and unrelated dependency ranges are preserved.
- If the repository already depends on
Register the generic plugin, configure ignores, and enable all generic rules. For
oxlint.config.tsor.oxlintrc.json, merge these fields with the existing configuration: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" }, ],Keep every existing ignore. Adjust the final pattern when the plugin was copied elsewhere. Inspect the repository for other project-local agent tooling directories and add them rather than linting installed skills, hooks, or generated agent configuration as application source. Do not broadly ignore all dot-directories, because some repositories keep owned source or checks in them.
For Vite+, add these fields to
lint.ignorePatternsandlint.jsPlugins. Also merge the same patterns intofmt.ignorePatternssovp checkdoes not reformat installed agent assets or the vendored plugin. Merge existing entries instead of replacing them.Enable these rules at
"error", including the native Oxlint companion rule:{ "oxc/no-accumulating-spread": "error", "anti-slop/no-array-filter-map": "error", "anti-slop/no-reduce-accumulator-copy": "error", "anti-slop/no-chained-type-assertions": "error", "anti-slop/no-conditional-empty-object-spread": "error", "anti-slop/no-known-value-widening": "error", "anti-slop/no-module-mocking": "error", "anti-slop/no-object-parameters": "error", "anti-slop/no-reflect-apply": "error", "anti-slop/no-reflect-get": "error", "anti-slop/no-runtime-typeof": "error", "anti-slop/no-shape-in-symbol-names": "error", "anti-slop/no-unknown-par
자주 묻는 질문
린트 설정을 덮어쓰나요?
이 스킬은 로컬 설정을 보존하도록 만들어졌습니다. 기존 복사본은 신중한 업데이트 없이 교체하지 않습니다.
플러그인은 어디에 놓이나요?
다른 위치를 지정하지 않으면 저장소 안에 tools 폴더를 만듭니다.
프로젝트에 무엇이 필요한가요?
프로젝트가 Oxlint를 쓰고 있어야 하며, 에이전트가 설치 전에 린트 설정을 확인합니다.
상세 정보
작성자의 원본 설명
Install, configure, update, or upgrade vendored anti-slop Oxlint plugins. Use when adding anti-slop, picking up upstream rules or fixes, or migrating an existing installation while preserving local customizations.
repo: dmmulroy/anti-slop
인기도
- GitHub 스타
- 5.9k
- 순위
- #14547
- 라이선스
- MIT
- 업데이트
- 2026. 10. 13.
댓글
- …