install-anti-slop
Qué hace
Guía a la IA para copiar el plugin de lint incluido en un repositorio y conectarlo a la configuración de Oxlint del proyecto. Está pensada para desarrolladores que quieren un lint de calidad de código más estricto.
Cuándo usarla
- ✓Cuando quieres añadir las reglas de lint anti-slop a un proyecto de TypeScript o JavaScript.
- ✓Cuando quieres trasladar una configuración anti-slop existente a un nuevo repositorio.
- ✓Cuando quieres configurar Oxlint con estas reglas sin perder tus ajustes actuales.
Link de la skill
https://github.com/trycompai/crm/blob/release/.agents/skills/install-anti-slop/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Por favor, instala las reglas de lint anti-slop en mi proyecto de TypeScript y conserva mis ajustes de lint actuales.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La IA revisa el gestor de paquetes y la configuración de lint existente del proyecto, copia el plugin, instala los paquetes compatibles y conecta las reglas.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Install anti-slop
Install the bundled Oxlint plugin into the current repository and integrate it with the repository's existing lint setup. Preserve unrelated work and adapt to the project's package manager and configuration style.
Procedure
Inspect the repository before changing it:
- Read its agent instructions.
- Check
git statusand preserve unrelated changes. - Identify the package manager from
packageManagerand lockfiles. - Find Oxlint configuration (
oxlint.config.*,.oxlintrc*, or a Vite+ config). - Check whether anti-slop files or rules already exist. Do not overwrite them without reviewing the diff.
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; only use--forceafter backing up and reviewing existing files.Install current compatible dependencies rather than trusting versions remembered by the agent:
- Query
npm view oxlint versionandnpm view @oxlint/plugins version. - Install the same current version of both packages with the repository's package manager.
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.
- Query
Register the plugin and enable all rules. For
oxlint.config.tsor.oxlintrc.json, add:jsPlugins: [ { name: "anti-slop", specifier: "./tools/oxlint/anti-slop/index.ts" }, ],For Vite+, add that same entry to
lint.jsPlugins. Merge it with existing entries instead of replacing them.Enable these rules at
"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-object-parameters": "error", "anti-slop/no-runtime-typeof": "error", "anti-slop/no-shape-in-symbol-names": "error", "anti-slop/no-unknown-parameters": "error", "anti-slop/no-unknown-type-aliases": "error", "anti-slop/no-unsafe-dictionary-type": "error", "anti-slop/no-widen-then-assert": "error" }Run the repository's lint command and typecheck. If findings appear, report them and fix them only when the user asked for migration/cleanup. Do not suppress rules, weaken rule severity, add unsafe casts, or mechanically launder types to make lint pass.
Review the final diff and clearly report:
- copied path,
- dependency versions installed,
- configuration changed,
- checks run and any remaining findings.
Migration guidance
When replacing an older local copy, compare its rules and diagnostics before overwriting. Keep project-specific rules in their own plugin; anti-slop is intentionally generic. Prefer inference, as const, satisfies, named owner contracts, and boundary parsing when resolving findings.
Preguntas frecuentes
¿Sobrescribirá mis archivos existentes?
No reemplaza un destino que ya existe. Solo sobrescribe después de hacer una copia de seguridad y una revisión.
¿Qué linter usa?
Usa Oxlint e instala versiones actuales compatibles de él y de su paquete de plugin.
¿Necesita un gestor de paquetes concreto?
No. Se adapta al gestor de paquetes del proyecto, que detecta a partir de sus ajustes y archivos de bloqueo.
Detalles
Descripción original del autor
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.
repo: trycompai/crm
Popularidad
- Estrellas en GitHub
- 12 mil
- Posición en el ranking
- #11519
- Licencia
- MIT
- Actualizada
- 1/11/2026
Comentarios
- …
Más skills de este repositorio
ai-elements
12 milAyuda a tu agente a crear interfaces de chat con IA usando componentes listos para conversaciones, mensajes y campos de instrucciones.
ai-sdk
12 milAyuda a tu agente a crear funciones de IA con el AI SDK de Vercel: texto, transmisión en tiempo real, herramientas y agentes.
better-accessibility
12 milAyuda a tu agente a hacer las interfaces utilizables con teclado y lectores de pantalla, cubriendo foco, etiquetas, ARIA y formularios.
better-auth-best-practices
12 milAyuda a tu agente a configurar Better Auth para inicio de sesión, sesiones, OAuth y plugins en una app de TypeScript, siguiendo sus pasos oficiales.
Skills parecidas
diffs
394 milPermite que tu agente genere un diff real y compartible de los cambios, como enlace de visualización o archivo de imagen, en lugar de un resumen escrito a mano.
coding-agent
394 milAyuda a tu agente a pasar un trabajo de programación grande a Codex, Claude Code u OpenCode como trabajador en segundo plano, y después revisar su progreso.
gh-issues
394 milAyuda a tu agente a encontrar incidencias de GitHub, elegir cuáles trabajar y abrir pull requests con correcciones, incluido el seguimiento de los comentarios de revisión.