Pular para o conteúdo
Skillpedia
Código em geral29 mil · #9568

minimalist

O que ela faz

Esta skill aplica uma lista curta de verificações antes de qualquer código novo, como perguntar se o recurso é necessário e se a biblioteca padrão já faz o trabalho. Ela é para quem quer código enxuto e com poucas dependências.

Quando usar

  • ✓Quando você quer que um agente evite exagerar na engenharia de uma tarefa pequena.
  • ✓Quando você quer cortar dependências de um projeto.
  • ✓Quando você pede o menor código possível que resolva um problema.

Link da skill

https://github.com/alirezarezvani/claude-skills/blob/main/engineering/minimalist/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/alirezarezvani/claude-skills/blob/main/engineering/minimalist/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Quero que isto seja resolvido com o menor código possível, e sem pacote novo se a biblioteca padrão puder fazer o trabalho.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

Antes de escrever qualquer coisa, o agente percorre uma escada de opções, desde perguntar se o recurso é necessário até reutilizar código existente, e só então escreve a menor versão que funciona.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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.
Perguntas frequentes

Ela deixa de fora recursos que eu pedi?

Não. Ela evita recursos que você não pediu, mas entrega o que a tarefa precisa.

Ela vai instalar pacotes?

Ela evita pacotes novos quando a biblioteca padrão ou uma dependência existente pode fazer o trabalho.

Qual é a primeira pergunta que ela faz?

Se o trabalho precisa ser feito de fato, já que o melhor código é aquele que nunca foi escrito.

Detalhes

Descrição original do 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

Popularidade

Estrelas no GitHub
29 mil
Posição no ranking
#9568
Licença
MIT
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas