Zum Inhalt springen
Skillpedia
Allgemeines Programmieren15k · #10959

correct

Was er macht

Lässt den Assistenten wiederkehrende Korrekturen prüfen und ihre Ursachen im Codebestand selbst beheben. Er ist für Teams gedacht, die immer wieder dieselben KI-Fehler korrigieren.

Wann du ihn nutzt

  • ✓Wenn in KI-erstellten Änderungen immer wieder dieselben Fehler auftauchen.
  • ✓Wenn du wiederholte Korrekturen stoppen willst, indem du das Repo selbst änderst.
  • ✓Wenn du den Assistenten bittest, den Korrekturprozess auszuführen.

Link zum Skill

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

“Sieh dir unsere letzten Reverts und Review-Kommentare an, finde wiederkehrende KI-Fehler und mach sie schwer wiederholbar.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Assistent fasst wiederkehrende Fehler zu Klassen zusammen und behebt jede auf der höchsten Ebene, die funktioniert: zuerst die Architektur, dann Typen, Lint-Regeln mit hilfreichen Meldungen, Tests und zuletzt die Dokumentation.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Correct

The operator keeps correcting agents in this repo for the same mistakes. Change the repo so the next agent can't make them.

Assume every contributor is an agent that sees only the files it opened, copies the nearest example, and takes the shortest path that compiles. Design the repo so a change that looks right from one file is right for the whole repo.

Find the mistake classes

First, read recent commits, reverts, review comments, agent instruction files, and comments that explain workarounds. Group the mistakes into classes. A class counts once it has happened twice.

Fix each class at the highest level that works

  1. Eliminate it with architecture. Give each piece of state one owner and each task one supported way. Hide internals so the wrong import fails. Replace hand-synced lists with one source of truth. Delete old ways and dead code an agent would copy.
  2. Enforce it with types so the bad state can't be written. If bad code still compiles, add a lint or CI check whose error names the file, type, or function to use instead. If the pattern is already common, fail only when a change adds more.
  3. Test the behavior. Fix or delete any test that still passes when the behavior it checks breaks, or that fails when only the internals change.
  4. Write docs or agent rules last, only for judgment calls. Nothing fails when an agent skips them.

Fix and prove

Then fix the most frequent classes now, one commit each. Prove each new check fails on a real past mistake. Run the same command locally and in CI. Exceptions go on the offending line with a reason, an expiry date, and a human's approval.

Keep the rule table

Last, keep a table in the agent instruction file that pairs each rule with what enforces it. When the operator corrects you, fix the mistake and add the rule. If the rule was already there and nothing enforces it, that's a repeat, so fix it at the highest level in the same change. Drop a rule once its mistake can't happen.

Reply: each class with its evidence, the level you picked, and why a higher level didn't work.

Häufige Fragen

Warum zuerst die Architektur?

Ein Entwurf, der einen Fehler ganz beseitigt, wirkt besser als Prüfungen oder Dokumentation, die ein Agent übergehen könnte.

Wann zählt ein Fehler als Klasse?

Nachdem er zweimal aufgetreten ist, behandelt ihn der Skill als wiederkehrende Klasse, die sich zu beheben lohnt.

Schreibt er zuerst Dokumentation?

Nein. Dokumentation kommt zuletzt, nur für Ermessensfragen, denn nichts schlägt fehl, wenn ein Agent sie übergeht.

Details

Originalbeschreibung des Autors

Find the mistakes agents keep repeating in this repo and make each one impossible. Try architecture first, then types, then a lint whose error names the fix, then a test, and write docs last. Prove each check fails on a real past mistake. Repeat this each time the operator corrects you. Use for /correct.

repo: cursor/plugins

Beliebtheit

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

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills