automations
Un repo nuevo se queda con una configuración de Claude Code hecha a su medida —permisos, hooks, reviewers con nombres de tus propias tablas— en una pasada, y apruebas cada pieza antes de que se escriba. A new repo gets a Claude Code setup fitted to it — permissions, hooks, reviewers named after your own tables — in one pass, and you approve each piece before it's written.
Qué haceWhat it does
La config .claude de un repo suele ser ad-hoc y quedarse desactualizada. automations la arranca de forma determinista: un scanner sin dependencias lee las 8 superficies (CLAUDE.md, settings.json, agents/, skills/, output-styles/, workflows/, .mcp.json…) una sola vez, y 5 agentes read-only en paralelo interpretan cada superficie por separado.A repo's .claude config is usually ad-hoc and stale. automations bootstraps it deterministically: a dependency-free scanner reads all 8 surfaces (CLAUDE.md, settings.json, agents/, skills/, output-styles/, workflows/, .mcp.json…) once, and 5 parallel read-only agents interpret each surface separately.
La regla es reusar antes que generar: si una necesidad encaja con un plugin que ya tienes instalado, recomienda instalarlo en vez de reinventarlo. Todo lo demás pasa por un multi-check obligatorio — nada se escribe hasta que lo marcas, ítem por ítem.The rule is reuse before generating: if a need fits a plugin you already have installed, it recommends installing it instead of reinventing it. Everything else goes through a mandatory multi-check — nothing gets written until you tick it, item by item.
Corres /optimize-my-setup en un repo Next.js con i18n. Sale una checklist como [ ] agents · .claude/agents/i18n-reviewer.md · generado para locales/{en,es} + t(). Marcas dos ítems; los otros seis nunca se escriben. Más tarde, editar una migration.sql ya commiteada se bloquea con exit 2.You run /optimize-my-setup on a Next.js repo with i18n. Out comes a checklist like [ ] agents · .claude/agents/i18n-reviewer.md · generated for locales/{en,es} + t(). You tick two items; the other six are never written. Later, editing an already-committed migration.sql gets blocked with exit 2.
Cómo funciona, en diagramasHow it works, in diagrams
Diagramas interactivos hechos con Archify, sacados del propio repo: recorre los caminos, haz zoom o ábrelos a pantalla completa.Interactive diagrams built with Archify, taken from the repo itself: trace the paths, zoom in, or open them full screen.
Por qué importaWhy it matters
A medida de tu repo, no genérico.Fitted to your repo, not generic. Los reviewers se generan con los invariantes que encuentra de verdad en tu código.Reviewers are generated from the invariants it actually finds in your code.
Nada sin tu marca.Nothing without your tick. El multi-check es obligatorio — puedes marcar cero y no pasa nada.The multi-check is mandatory — you can tick zero and nothing happens.
Reusa antes de generar.Reuses before generating. Si un plugin que ya tienes resuelve la necesidad, lo recomienda en vez de duplicarlo.If a plugin you already have solves the need, it recommends it instead of duplicating it.
Cómo se usaHow it's used
/optimize-my-setup dentro de Claude Code. Es un paso de setup del repo, no de una feature — córrelo una vez y de nuevo cuando cambien tu stack o tus convenciones./optimize-my-setup inside Claude Code. It's a repo setup step, not a feature step — run it once, and again when your stack or conventions change.
Compone conComposes with
Funciona completo en standalone. Si detecta que ya tienes instalado el resto de la familia, lo aprovecha en sus recomendaciones — nunca lo exige.It works fully standalone. If it detects the rest of the family is already installed, it leverages it in its recommendations — it never requires it.
Preguntas frecuentesFrequently asked questions
¿Qué hace automations?What does automations do?
Escanea de forma determinista las 8 superficies de configuración de Claude Code de tu repo y genera solo lo que no tiene ya un equivalente reutilizable.It deterministically scans your repo's 8 Claude Code config surfaces and only generates what doesn't already have a reusable equivalent.
¿Aplica cambios sin preguntar?Does it apply changes without asking?
No — todo pasa por un multi-check obligatorio. Lo que no marcas nunca se escribe.No — everything goes through a mandatory multi-check. What you don't tick is never written.
¿Cómo se usa?How is it used?
Con /optimize-my-setup, una vez por repo y de nuevo cuando cambien tus convenciones.With /optimize-my-setup, once per repo and again when your conventions change.
¿Es gratis y de código abierto?Is it free and open source?
Sí — licencia MIT, publicado en GitHub.Yes — MIT license, published on GitHub.
Un comando, tu config a medida.One command, your config, tailored.
$ /plugin marketplace add davidgarciagordo/claude-plugins$ /plugin install automations@davidgarciagordo-plugins
