super-code
Qué hace
Esta 'skill' ayuda a la IA a escribir código que sea lo más corto, correcto y fácil de entender posible. Se centra en evitar código innecesario y en que la IA trabaje de forma eficiente.
Cuándo usarla
- ✓Cada vez que le pidas a la IA que escriba o modifique código.
- ✓Cuando le pidas a la IA que revise o mejore código existente.
- ✓Cuando quieras que el código generado sea lo más limpio y directo posible.
Link de la skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/super-code/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
“Escribe una función en Python que sume dos números, pero que sea lo más concisa y correcta posible.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
Primero, la IA piensa en la forma más sencilla de resolver el problema. Luego usa las buenas prácticas del lenguaje de programación y elimina el código o los comentarios que no son esenciales, para que lo que queda sea fácil de leer y funcione bien.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Super Code Skill
Overview
Produce code that is short, correct, idiomatic, and maintainable — in that priority order. This skill addresses two distinct inefficiency types that must be fixed independently:
- Code-token inefficiency — the artifact itself is bloated (unnecessary lines, boilerplate, over-abstraction)
- Generation-token inefficiency — how the agent operates during a session (full-file rewrites, unrequested files, prose padding before/after changes)
Both matter. Fixing only one is not enough.
When to Use This Skill
- Apply this skill automatically on EVERY coding task in the IDE.
- Use whenever the user asks to write, edit, refactor, generate, or review code in any language.
- This is a standing house style, not an on-demand pass — always apply it.
Priority Order (never violate this ranking)
Correctness → Clarity → Necessary robustness → Conciseness → Micro-performance
Conciseness never wins over correctness or readability. If a compression would drop error handling for a case that can actually occur, or produce code a human couldn't read in six months, undo that specific compression. Short bad code is worse than long correct code.
Workflow — apply to every coding task
Step 1: Commit to minimal correct shape BEFORE writing
Before touching a file, decide:
- What is the smallest surface area that correctly solves this problem?
- What does the caller actually need from this function/class/module?
- Is there a stdlib/framework primitive that already does this?
Write that down mentally (not in a prose block to the user). This is the target shape.
Step 2: Write using language-idiomatic patterns
Read the relevant reference file for the language in use:
- Bash/Shell →
bash/SKILL.md - C →
c/SKILL.md - C++ →
cpp/SKILL.md - C# →
csharp/SKILL.md - Dart/Flutter →
dart/SKILL.md - Elixir/Erlang →
elixir/SKILL.md - Go →
go/SKILL.md - Java →
java/SKILL.md - Kotlin/Compose →
kotlin/SKILL.md - PHP →
php/SKILL.md - Python →
python/SKILL.md - Ruby →
ruby/SKILL.md - Rust →
rust/SKILL.md - Scala →
scala/SKILL.md - Swift →
swift/SKILL.md - TypeScript/JavaScript →
typescript/SKILL.md
Apply idiomatic patterns from that file. They replace verbose imperative code with correct, concise equivalents that are still readable.
Step 3: Compression pass on your own draft
Before presenting any code, scan it for:
| Anti-pattern | Fix |
|---|---|
| Comment restates what code does | Delete comment, or rewrite to say why |
| Single-use helper function/class | Inline it |
| Stdlib/framework already does this | Replace with the primitive |
| Defensive handling for impossible case | Remove |
| Verbose loop replaceable by idiomatic expression | Replace |
| Logging/print nobody asked for | Remove |
| Extra config/files/parameters not requested | Remove |
| Unused import or variable | Remove |
Step 4: Guardrail check — run this before presenting
Ask yourself (silently):
- Did I remove handling for a case that can actually happen?
- Did I make this harder to read for a human six months from now?
- Did I drop correctness or security to save lines?
If yes to any: undo that specific compression and keep the rest.
Step 5: Present output — generation-token rules
Always:
- Edit files via targeted patches/diffs, not full rewrites, unless the file is new or the change touches >70% of lines
- Present only what was asked for
Never:
- Generate unrequested files (tests, READMEs, configs, types) unless the user asked
- Add prose blocks before/after code explaining what you're about to do or just did — just do it
- Re-explain the user's own requirement back to them before writing
- Restate what changed in a paragraph after showing the diff — the diff is self-evident
Universal Anti-Pattern Checklist
These apply in every language. The language-specific files extend this list.
Comments
- ❌
// Loop through the list and add each item→ ❌ delete - ✅
// Order matters: process refunds before charges→ ✅ keep (explains why) - Rule: if the comment could be generated mechanically from reading the code, it adds no value
Defensive coding
- Only handle error cases that can actually occur given the call site
- If the caller guarantees non-null, don't null-check inside the function
- If a catch block can only log and rethrow, consider removing the try/catch
Abstractions
…
Preguntas frecuentes
¿Por qué el código tiene que ser conciso?
El código conciso se lee, se entiende y se mantiene más fácilmente, y además usa menos recursos informáticos.
¿Qué significa 'idiomático'?
Significa usar las construcciones y los patrones que son habituales y esperados en ese lenguaje de programación concreto, para que otros programadores lo reconozcan con facilidad.
¿La IA eliminará comentarios importantes?
No. Solo quita los comentarios que repiten lo que ya dice el código. Los comentarios que explican el 'porqué' de una implementación se mantienen.
Detalles
Descripción original del autor
Standing house style to enforce dense, correct, and idiomatic code on all coding tasks. Minimizes code bloat and agent operation overhead.
Popularidad
- Estrellas en GitHub
- 48 mil
- Posición en el ranking
- #5885
- Licencia
- MIT
- Actualizada
- 15/10/2026
Comentarios
- …
Más skills de este repositorio
00-andruia-consultant
48 milAyuda a tu agente a iniciar o mejorar proyectos de IA. Analiza código, sugiere herramientas y crea planes de acción en español.
007
48 milPermite que tu agente realice auditorías de seguridad y modelado de amenazas. Es útil para proteger proyectos contra ataques y vulnerabilidades.
10-andruia-skill-smith
48 milAyuda a tu agente a crear o mejorar herramientas de IA. Define cómo funcionan, escribe la documentación y valida la estructura.
20-andruia-niche-intelligence
48 milPermite que tu agente cree un resumen de un sector específico. Es útil para entender su contexto, normas, patrones de uso y riesgos, usando fuentes fiables.
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.