triage
Skill0 starsChanged 2 months agoMITView on GitHub
Bug report where the right move is unclear, especially after failed fixes: \"otra vez el mismo bug\", \"no se puede arreglar\", \"este proyecto es basura\". Read-only diagnosis, verdict, next skill.
194 other projects use a version of this.
Adopted by
Most recently taken up by
- mattpocock/skillstheir own version, first seen Oct 8, 2026
- wardawgmalvicious/agent-configtheir own version, first seen Oct 7, 2026
- hmjBill/skillstheir own version, first seen Oct 5, 2026
- gymcoach-app/gymcoachtheir own version, first seen Oct 5, 2026
- KroxiDev/engineering-skillstheir own version, first seen Oct 5, 2026
- lohi-ai/babysittheir own version, first seen Oct 5, 2026
Used with
Projects with it also use setup-matt-pocock-skills, writing-beats and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
AWSSkillsetup-matt-pocock-skills
Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.
Also in 80 projects that use this
RoentekSkillwriting-beats
Writing, exploit — assemble raw material into a journey of beats, grounding each term before a beat leans on it.
Also in 27 projects that use this
qhuang20Skillmigrate-to-shoehorn
Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.
Also in 31 projects that use this
loulanyueSkillsetup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.
Also in 17 projects that use this
RoentekSkillwriting-shape
Writing, exploit — shape raw material into an article, paragraph by paragraph.
Also in 24 projects that use this
AnasX7Skillscaffold-exercises
Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.
Also in 31 projects that use this
- +1 more from Roentek
Other versions194 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 194
- mattpocock/skills★ 335ksame name
- herdrdev/herdr★ 42ksame name
- coleam00/Archon★ 24ksame name
- anthropics/defending-code-reference-harness★ 7.5ksame name
- vinvcn/mattpocock-skills-zh-CN★ 4.6ksame name
- K9i-0/ccpocket★ 1.1ksame name
- H-mmer/pentest-agents★ 984same name
- GoogleCloudPlatform/magic-modules★ 973same name
- SethGammon/Citadel★ 922same name
- mongodb/docs★ 778same name
184 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository37 other files it gives its agents.
- skills/constitution/templates/AGENTS.mdAGENTS.md
- agent-debugSkill
- agentic-codingSkill
- ai-securitySkill
- api-backendSkill
- app-securitySkill
- architectureSkill
- automationSkill
- batchSkill
- bot-devSkill
- changelog-generatorSkill
- code-standardSkill
- constitutionSkill
- consultaSkill
- data-layerSkill
- deploySkill
- desktop-appSkill
- dev-routerSkill
- diff-reviewSkill
- env-doctorSkill
- featureSkill
- fixerSkill
- intakeSkill
- mobile-appSkill
- observabilitySkill
- performanceSkill
- project-memorySkill
- quality-gateSkill
- readme-generatorSkill
- rebuildSkill
- refactorSkill
- tech-debtSkill
- test-strategySkill
- ui-bugSkill
- ui-designSkill
- valida-ideaSkill
- web-appSkill
The file
Files
Triage — ¿fix, refactor, agent-debug o rebuild?
Overview
Decide QUÉ tipo de intervención necesita el proyecto ANTES de tocar código. El error más caro no es un mal fix: es aplicar la herramienta equivocada — parchar lo que necesita reestructura, o reescribir lo que necesitaba un cambio de una línea.
Regla de hierro: cero ediciones de código durante el triage. Solo lectura, métricas y veredicto.
Cuándo usar
- Reporte de bug en un proyecto que no conoces o que ya falló antes.
- El mismo síntoma ya se "arregló" 2+ veces y volvió.
- Archivos gigantes, sin tests, historial de fixes que rompen otras cosas.
- Duda entre arreglar y rehacer.
Cuándo NO usar
| Situación | Ruta |
| Diagnóstico claro y ruta evidente | invoca directo la skill correspondiente |
| No arranca por entorno | env-doctor |
| Pregunta teórica sin proyecto | consulta |
| Pedido nuevo, no un bug | intake |
Proceso (30 minutos máximo, solo lectura)
- Memoria del proyecto primero:
AGENTS.md,docs/project/state.md,bugs.md,gotchas.md(o la bóveda de notas si el proyecto usa una). El historial de bugs es la mejor evidencia de repetición. - Medir el repo, no opinar:
- Tamaño de los archivos principales (monolito = un archivo > 1.500 líneas).
- ¿Hay tests que se puedan ejecutar? ¿Pasan hoy?
- Cobertura aproximada y complejidad máxima si hay herramienta.
git logde los últimos 20-30 commits: cuántos son "fix" sobre el mismo archivo o el mismo síntoma.- Cruce churn × complejidad: qué archivo concentra los cambios recientes.
- ¿Existe constitución/gate? ¿Corre?
- Clasificar el síntoma: ¿error puntual con traza? ¿comportamiento errático de un agente IA? ¿visual? ¿funciona pero da miedo tocarlo? ¿no arranca?
- Veredicto con la tabla.
Tabla de ruteo
| Evidencia dominante | Ruta |
| Error puntual, causa localizable, proyecto estructuralmente sano | fixer |
| Bot/agente IA decide mal: flujo, estado, prompt, clasificadores, herramientas | agent-debug |
| Síntoma visual, de maquetación o de interacción | ui-bug |
| Funciona, pero cada cambio rompe otra cosa; monolito; miedo a tocar | refactor (antes: test-strategy para la red) |
| Sin tests + sin estructura + efectos cruzados + la arquitectura ya no soporta lo pedido + repetición documentada de fixes | rebuild |
| No arranca / entorno roto | env-doctor |
| Lento pero correcto | performance |
| Falla en producción y nadie se entera | observability |
| Deuda difusa, hay que priorizar antes de intervenir | tech-debt |
| 2+ intentos de fix fallidos sobre el MISMO síntoma | prohibido volver a fixer — elegir entre agent-debug, refactor o rebuild según lo de arriba |
Señales combinadas: monolito + comportamiento raro de IA → agent-debug primero (encontrar la capa real), refactor después como prevención. El fix inmediato y la deuda estructural son dos entregables distintos: nombra los dos.
Lo que el triage también debe detectar
- No hay gate ni umbrales → la falta de verificación es parte del diagnóstico:
constitution. - No hay notas del proyecto → cada sesión re-explora y repite errores:
project-memory. - No hay tests ejecutables → cualquier intervención es a ciegas:
test-strategyantes que nada. - El proyecto no tiene dueño claro de la decisión → decir quién tiene que decidir y qué.
Anti-racionalización
| Excusa | Realidad |
| "Es solo una línea, la arreglo de una" | Si el síntoma ya reapareció antes, la línea no es la causa. |
| "Triage es burocracia" | 30 minutos de lectura contra días de ciclo fix → rompe → fix. |
| "Rebuild es admitir derrota" | La mayoría de los rewrites cuestan mucho más de lo previsto; pero parchar un proyecto inmantenible también es tirar plata. El veredicto honesto gana en ambas direcciones. |
| "No hay notas de este proyecto" | Entonces el triage incluye recomendar crearlas: la falta de memoria escrita es parte del diagnóstico. |
| "Miré el código y me parece que..." | Sin métricas, "me parece" es gusto. Cuenta líneas, corre git log, mide. |
Formato de salida
- Veredicto: skill a invocar (una principal, opcional una secundaria como deuda).
- Evidencia: 3-5 hechos medidos (líneas, tests, repetición en el historial, bugs recurrentes).
- Qué NO hacer: la ruta descartada y por qué.
- Faltantes estructurales: gate, tests o notas que no existen.
- Si falta información para decidir: decirlo y pedir exactamente qué (log, captura, conversación real). No adivinar.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

