Saltar al contenido
Skillpedia
Programación general15 mil · #10959

correct

Qué hace

Permite que el asistente revise las correcciones recurrentes y arregle sus causas en el propio código. Está pensada para equipos que corrigen una y otra vez los mismos errores hechos por IA.

Cuándo usarla

  • ✓Cuando los mismos errores aparecen una y otra vez en los cambios hechos por IA.
  • ✓Cuando quieres dejar de repetir correcciones cambiando el propio repositorio.
  • ✓Cuando pides al asistente que ejecute el proceso de corrección.

Link de la skill

https://github.com/cursor/plugins/blob/main/harness/pstack/claude-code/skills/correct/SKILL.md

Có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

Usa esta skill para ayudarme: https://github.com/cursor/plugins/blob/main/harness/pstack/claude-code/skills/correct/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Revisa nuestras últimas reversiones y comentarios de revisión, encuentra los errores repetidos de la IA y haz que sea difícil repetirlos.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El asistente agrupa los errores recurrentes en clases y arregla cada una al nivel más alto que funcione: primero la arquitectura, después los tipos, luego las reglas de lint con mensajes útiles, las pruebas y, por último, la documentación.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

Correct

The operator keeps correcting agents in this repo for the same mistakes. Change the repo so the next agent can't make them.

Assume every contributor is an agent that sees only the files it opened, copies the nearest example, and takes the shortest path that compiles. Design the repo so a change that looks right from one file is right for the whole repo.

Find the mistake classes

First, read recent commits, reverts, review comments, agent instruction files, and comments that explain workarounds. Group the mistakes into classes. A class counts once it has happened twice.

Fix each class at the highest level that works

  1. Eliminate it with architecture. Give each piece of state one owner and each task one supported way. Hide internals so the wrong import fails. Replace hand-synced lists with one source of truth. Delete old ways and dead code an agent would copy.
  2. Enforce it with types so the bad state can't be written. If bad code still compiles, add a lint or CI check whose error names the file, type, or function to use instead. If the pattern is already common, fail only when a change adds more.
  3. Test the behavior. Fix or delete any test that still passes when the behavior it checks breaks, or that fails when only the internals change.
  4. Write docs or agent rules last, only for judgment calls. Nothing fails when an agent skips them.

Fix and prove

Then fix the most frequent classes now, one commit each. Prove each new check fails on a real past mistake. Run the same command locally and in CI. Exceptions go on the offending line with a reason, an expiry date, and a human's approval.

Keep the rule table

Last, keep a table in the agent instruction file that pairs each rule with what enforces it. When the operator corrects you, fix the mistake and add the rule. If the rule was already there and nothing enforces it, that's a repeat, so fix it at the highest level in the same change. Drop a rule once its mistake can't happen.

Reply: each class with its evidence, the level you picked, and why a higher level didn't work.

Preguntas frecuentes

¿Por qué arregla primero la arquitectura?

Un diseño que elimina el error por completo funciona mejor que comprobaciones o documentación que un agente podría saltarse.

¿Cuándo cuenta un error como una clase?

Después de haber ocurrido dos veces, la skill lo trata como una clase repetida que merece corregirse.

¿Escribe primero la documentación?

No. La documentación va al final, solo para decisiones de criterio, ya que nada falla cuando un agente la omite.

Detalles

Descripción original del autor

Find the mistakes agents keep repeating in this repo and make each one impossible. Try architecture first, then types, then a lint whose error names the fix, then a test, and write docs last. Prove each check fails on a real past mistake. Repeat this each time the operator corrects you. Use for /correct.

repo: cursor/plugins

Popularidad

Estrellas en GitHub
15 mil
Posición en el ranking
#10959
Licencia
—
Actualizada
31/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas