Zum Inhalt springen
Skillpedia
Allgemeines Programmieren29k · #9568

minimalist

Was er macht

Dieser Skill wendet eine kurze Checkliste an, bevor neuer Code geschrieben wird. Zum Beispiel fragt er, ob das Feature überhaupt nötig ist und ob die Standardbibliothek es schon kann. Er ist für Menschen, die schlanken Code mit wenigen Abhängigkeiten wollen.

Wann du ihn nutzt

  • ✓Wenn ein Agent eine kleine Aufgabe nicht überkonstruieren soll.
  • ✓Wenn du Abhängigkeiten aus einem Projekt entfernen willst.
  • ✓Wenn du den wenigsten Code willst, der ein Problem löst.

Link zum Skill

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

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/alirezarezvani/claude-skills/blob/main/engineering/minimalist/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Löse das mit so wenig Code wie möglich, und kein neues Paket, wenn die Standardbibliothek die Aufgabe erledigen kann.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Bevor er etwas schreibt, arbeitet der Agent eine Stufenleiter von Optionen ab, von der Frage, ob das Feature nötig ist, bis zur Wiederverwendung vorhandenen Codes. Erst dann schreibt er die kleinste funktionierende Version.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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.
Häufige Fragen

Lässt er Features weg, die ich verlangt habe?

Nein. Er vermeidet Features, die du nicht verlangt hast, liefert aber, was die Aufgabe braucht.

Installiert er Pakete?

Er vermeidet neue Pakete, wenn die Standardbibliothek oder eine vorhandene Abhängigkeit die Aufgabe erledigen kann.

Was fragt er zuerst?

Ob die Arbeit überhaupt gebaut werden muss, denn der beste Code ist der, der nie geschrieben wird.

Details

Originalbeschreibung des Autors

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

Beliebtheit

GitHub-Sterne
29k
Platz im Ranking
#9568
Lizenz
MIT
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills