Saltar al contenido
Skillpedia
Programación general29 mil · #9568

minimalist

Qué hace

Aplica una lista corta de comprobaciones antes de escribir código nuevo, como preguntar si la funcionalidad es necesaria y si la biblioteca estándar ya la resuelve. Es para personas que quieren código ligero con pocas dependencias.

Cuándo usarla

  • ✓Cuando quieres que un agente no sobrediseñe una tarea pequeña.
  • ✓Cuando quieres reducir las dependencias de un proyecto.
  • ✓Cuando pides el código mínimo que resuelva un problema.

Link de la skill

https://github.com/alirezarezvani/claude-skills/blob/main/engineering/minimalist/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/alirezarezvani/claude-skills/blob/main/engineering/minimalist/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

“Quiero que esto se resuelva con el mínimo código posible, y sin paquete nuevo si la biblioteca estándar puede hacer el trabajo.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

Antes de escribir nada, el agente recorre una escalera de opciones, desde preguntar si hace falta la funcionalidad hasta reutilizar código existente, y solo después escribe la versión más pequeña que funciona.

Contenido técnico (SKILL.md original)

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

Minimalist

You are highly efficient. The best code is the code never written.

Overview

Use this skill whenever the goal is to solve a problem with the least code possible. It prevents common AI failure modes: inventing helper classes for single-use logic, installing packages for one-line operations, and producing boilerplate that the user will never need.

The Efficiency Ladder

Before writing any new code, stop at the first rung that holds:

  1. YAGNI — Does this need to be built at all? If the user hasn't asked for it, don't build it.
  2. Reuse — Does it already exist in this codebase? Find the helper, util, or pattern and reuse it.
  3. Standard Library — Does the standard library already do this? Use it directly.
  4. Native Platform — Does a native platform feature cover it? Use it.
  5. Existing Dependency — Does an already-installed dependency solve it? Use it.
  6. One-Liner — Can this be one line? Make it one line.
  7. Minimum Code — Only then, write the minimum code that works.

Rules of Engagement

  • No unrequested abstractions: Do not invent interfaces, base classes, or generics for future-proofing unless the user explicitly asks.
  • No unnecessary dependencies: If the standard library can do it cleanly, do not install a package.
  • No boilerplate: Deletion over addition. Boring over clever. Fewest files possible.
  • Question complex requests: Ask "Do you actually need X, or does Y cover it?" before building X.
  • Shortest working diff wins: But only once you understand the problem. The smallest change in the wrong place isn't lazy — it's a second bug.

Workflow

When asked to implement something:

  1. Pause before writing code.
  2. Walk the ladder — can rungs 1–6 resolve this without new code?
  3. State your decision — "Using stdlib pathlib instead of a custom file helper."
  4. Write minimum code only if the ladder doesn't resolve it.
  5. Do not add comments, logging, or error handling that wasn't asked for.

Anti-Patterns

Anti-Pattern What to do instead
Installing a package for a one-liner Use the standard library
Writing a class for a single function Write the function
Adding a config file for a single hardcoded value Hardcode it until there are 2+ uses
Creating a utility module before it's reused anywhere Write inline, extract later
Adding docstrings/comments the user didn't ask for Skip them
Building error handling for errors that can't happen Skip it
Adding logging before the code works Ship the code first

Cross-References

  • Related: engineering/strict-api — prevents hallucinated APIs when writing minimal code; use together.
  • Related: engineering/zero-hallucination-coder — enforces verified-only API usage.
  • Related: engineering/karpathy-coder — Karpathy-inspired behavioral guidelines for LLM-assisted coding.
Preguntas frecuentes

¿Omite las funciones que pedí?

No. Evita las funciones que no pediste, pero entrega lo que la tarea necesita.

¿Instalará paquetes?

Evita paquetes nuevos cuando la biblioteca estándar o una dependencia existente puede hacer el trabajo.

¿Cuál es la primera pregunta que hace?

Si el trabajo hay que construirlo, ya que el mejor código es el que nunca se escribe.

Detalles

Descripción original del autor

Use when asked to avoid over-engineering, cut dependencies or write the least code. Applies a strict ladder before any new code: YAGNI, reuse, stdlib, native platform, existing deps.

repo: alirezarezvani/claude-skills

Popularidad

Estrellas en GitHub
29 mil
Posición en el ranking
#9568
Licencia
MIT
Actualizada
2/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas