Zum Inhalt springen
Skillpedia
Allgemeines Programmieren15k · #10975

principle-build-the-lever

Was er macht

Gibt dem Assistenten eine Regel, um wiederholbare Arbeit mit einem Werkzeug zu automatisieren, das ein Reviewer erneut ausführen kann. Er ist für Ingenieure gedacht, die große, repetitive oder schwer prüfbare Änderungen vor sich haben.

Wann du ihn nutzt

  • ✓Wenn eine Änderung viele Dateien auf dieselbe Weise berühren würde.
  • ✓Wenn du eine Analyse oder Prüfung willst, die ein Reviewer erneut ausführen kann.
  • ✓Wenn Arbeit von Hand erledigt werden soll, die ein Skript zuverlässig erledigen könnte.

Link zum Skill

https://github.com/cursor/plugins/blob/main/harness/pstack/claude-code/skills/principle-build-the-lever/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/cursor/plugins/blob/main/harness/pstack/claude-code/skills/principle-build-the-lever/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

“Wir müssen diese API in 200 Dateien umbenennen. Bau ein Skript, das wir erneut ausführen können, statt sie einzeln zu bearbeiten.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Assistent erledigt die erste Einheit von Hand, um das Muster zu lernen, und baut dann ein erneut ausführbares Werkzeug, etwa ein Codemod. Er beweist das Werkzeug, indem er es auf dieser Einheit erneut laufen lässt und das Ergebnis mit der Handarbeit vergleicht.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Build the Lever

When the work isn't trivial, build the tool that does it instead of doing it by hand.

A codemod, generator, or script does the work the same way every time and reruns for free. The tool is one artifact a reviewer can read and rerun to check the work. Hand-done changes can only be re-verified by redoing them. A deterministic script turns "trust me" into "run this".

Default to building the lever. Skip it only when the task is trivial, a couple of obvious edits you can see at a glance.

  • Do the first unit by hand to learn the recipe, then build the tool. Prove it by rerunning it on that unit and diffing against your hand-done version. Make the lever safe to rerun.
  • Codemod or script for edits, generator for repetitive files, a dump-to-sqlite query for analysis, a rerunnable check for verification.
  • A deterministic lever beats fan-out. If the tool can process every unit in one pass, run it yourself. Don't fan out delegates to hand-apply what a script can do.
  • When you fan work out to subagents, write the lever as a skill they all read: the recipe, the verification contract, and the do-not-touch fences in one artifact. Keep it outside the delegates' write scope so they can't quietly edit the contract.
  • Applying this principle produces a file. If you cited it and there is no codemod, script, generator, or delegate skill in the diff, you didn't apply it.
  • Commit the lever when the work outlives the session.

The bar is triviality, not repetition. A one-off still earns a lever when the lever is what makes the work checkable. Per the Laziness Protocol, build the smallest script that does or proves the job, never a framework.

Distinct from Encode Lessons in Structure, which makes a recurring instruction a durable guardrail. This is throughput and reviewability on the work in front of you. For scripting the verification itself, see Prove It Works.

Häufige Fragen

Wann kann er auf ein Werkzeug verzichten?

Bei trivialer Arbeit, etwa ein paar offensichtlichen Bearbeitungen, ist Handarbeit in Ordnung.

Warum ist ein Skript besser als Handarbeit?

Es wiederholt sich jedes Mal auf dieselbe Weise, und ein Reviewer kann es ausführen, um die Arbeit zu prüfen.

Was ist mit Hilfsagenten?

Wenn ein Skript die ganze Aufgabe in einem Durchgang erledigen kann, sollte es das tun, statt die Arbeit an Helfer zu verteilen.

Details

Originalbeschreibung des Autors

Apply to any non-trivial work, not just bulk work: edits, migrations, analyses, checks. Build the tool that does it or proves it (codemod, script, generator, or a skill your subagents follow) instead of working by hand. The tool is the artifact a reviewer can rerun.

repo: cursor/plugins

Beliebtheit

GitHub-Sterne
15k
Platz im Ranking
#10975
Lizenz
—
Aktualisiert
31.10.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills