honor-code Skill
✓ VerifiziertVerhindert wiederholte Fehler von Agenten, indem architektonische, typbasierte oder Linting-Schutzmaßnahmen basierend auf historischen Fehlermustern implementiert werden.
- GitHub Stars
- 113
- Dateien
- 1
- Letzter Commit
- 1. Nov. 2026
- Lizenz
- MIT
- Erlaubte Tools
- —
Was macht der honor-code Skill?
honor-code ist ein Agent Skill. Verhindert wiederholte Fehler von Agenten, indem architektonische, typbasierte oder Linting-Schutzmaßnahmen basierend auf historischen Fehlermustern implementiert werden.
Zusammenfassung erzeugt aus der SKILL.md des Skills.
Über den honor-code skill
Entwickler, die verhindern wollen, dass KI-Agenten immer wieder dieselben Coding-Fehler machen, können diesen Skill nutzen, um historische Fehler in dauerhafte strukturelle Schutzmaßnahmen zu verwandeln. Anstatt sich auf repetitive manuelle Korrekturen zu verlassen, analysiert das Tool aktuelle Commits, Reverts, Review-Kommentare und Agent-Instruction-Files wie AGENTS.md oder CLAUDE.md, um wiederkehrende Fehlerklassen zu identifizieren. Sobald ein Muster erkannt wurde, wird eine Lösung auf der höchstmöglichen Ebene des Development-Stacks implementiert.
Der Prozess priorisiert architektonische Änderungen zur Fehlereliminierung, gefolgt von der Durchsetzung durch das Type-System, benutzerdefinierten Linting-Regeln oder CI-Checks. Er adressiert zudem instabile Tests, die Regressionen nicht abfangen. Um die Effektivität sicherzustellen, beweist der Skill jede neue Schutzmaßnahme, indem er zeigt, dass sie einen realen Fehler aus der Vergangenheit korrekt meldet. Das Endergebnis enthält eine strukturierte Tabelle innerhalb der Agent-Instruction-Files, die spezifische Regeln ihren technischen Enforcement-Mechanismen zuordnet, wie etwa einem bestimmten Typ oder einem Lint-Pfad.
Was ein agent damit machen kann
- 1Manuelle Korrekturen in Code umwandelnTransformiere wiederholte Korrekturen von Operatoren in dauerhafte architektonische oder typbasierte Constraints.
- 2Neue Schutzmaßnahmen gegen die Historie validierenVerifiziere, dass ein neuer Lint- oder Type-Check tatsächlich funktioniert, indem du einen früheren Fehler nachspielst.
- 3Ein Enforcement-Registry pflegenErstelle eine zentrale Tabelle in den Agent-Instructions, die Regeln mit ihrer technischen Implementierung verknüpft.
Geschrieben basierend auf dem SKILL.md des skills. Jeder use case wurde gegen ein zitat daraus geprüft.
So installierst du den honor-code Skill
Jeder Befehl kopiert den Skill-Ordner in das Skills-Verzeichnis des Clients. Starte den Client neu oder beginne eine neue Session, um ihn zu laden.Den honor-code Skill in Plugin installieren
/plugin marketplace add tmcfarlane/team-avatar /plugin install team-avatar@team-avatar
Den honor-code Skill in Claude Code installieren
~/.claude/skills/honor-code/SKILL.md
$ npx degit tmcfarlane/team-avatar/plugins/team-avatar/skills/honor-code ~/.claude/skills/honor-codeDen honor-code Skill in Claude Code (project) installieren
.claude/skills/honor-code/SKILL.md
$ npx degit tmcfarlane/team-avatar/plugins/team-avatar/skills/honor-code .claude/skills/honor-codeDen honor-code Skill in Codex installieren
~/.agents/skills/honor-code/SKILL.md
$ npx degit tmcfarlane/team-avatar/plugins/team-avatar/skills/honor-code ~/.agents/skills/honor-codeDen honor-code Skill in Gemini CLI installieren
~/.gemini/skills/honor-code/SKILL.md
$ npx degit tmcfarlane/team-avatar/plugins/team-avatar/skills/honor-code ~/.gemini/skills/honor-codeDen honor-code Skill in Claude.ai installieren
npx degit tmcfarlane/team-avatar/plugins/team-avatar/skills/honor-code honor-code && zip -r honor-code.zip honor-code # claude.ai → Customize → Skills → + → Create skill → Upload a skill → honor-code.zip
Automatisierte Checks
Geluften am 14. Nov. 2026Vollständiger Bericht →Hat unsere automatischen Prüfungen bestanden. Das ist kein Sicherheitsaudit: Lesen Sie die Skripte, bevor ein Agent sie ausführt. Wie die Checks funktionieren
- Source Repository verknüpft und erreichbartmcfarlane/team-avatar/plugins/team-avatar/skills/honor-code is public and reachablegithub.com/tmcfarlane/team-avatar/tree/HEAD/plugins/team-ava ↗Bestanden
- Open Source Lizenz (OSI)MITspdx.org/licenses/MIT.html ↗Bestanden
- Commit oder Release im letzten JahrLast commit 2026-11-01github.com/tmcfarlane/team-avatar/commits ↗Bestanden
- Keine Download-und-Ausführen-Muster oder Zugangsdatendiebstahl in SkriptenNo scripts in the skill folderBestanden
- Keine versteckten Anweisungen in SKILL.mdNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/tmcfarlane/team-avatar/blob/HEAD/plugins/team-ava ↗Bestanden
- Vorab erlaubte Tools sind eingeschränktNo pre-approved tools; the agent asks before using onegithub.com/tmcfarlane/team-avatar/blob/HEAD/plugins/team-ava ↗Bestanden
- SKILL.md folgt dem Agent-Skills-FormatValid name and description; says when to use it; 40 linesgithub.com/tmcfarlane/team-avatar/blob/HEAD/plugins/team-ava ↗Bestanden
SKILL.md
Auf GitHub ansehenZuko's honor code
Zuko's uncle never let him forget a mistake, and he never let him dwell on one either. Each failure became a line in the code Zuko lived by, so the same mistake could not catch him twice. A repo can live by a code too. When the operator keeps correcting agents for the same thing, the fix is not another reminder. It is a change that makes the mistake impossible.
Assume every contributor is an agent that sees only the files it opened, copies the nearest example, and takes the shortest path that compiles. Shape the repo so a change that looks right from one file is right for the whole repo.
Find the mistake classes
Read recent commits, reverts, review comments, agent instruction files (AGENTS.md, CLAUDE.md, and the like), and comments that explain workarounds. Group the mistakes into classes. A class counts once it has happened twice. Cite the evidence for each occurrence.
Fix each class at the highest level that works
- 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.
- Enforce it with types, so the bad state cannot be written (Type System Discipline, Earth in
four-elements). If bad code still compiles, add a lint or a 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 of it. - 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 (Test Behavior, Not Implementation, Earth in
four-elements). - Write docs or agent rules last, and only for judgment calls. Nothing fails when an agent skips them.
Fix and prove
Fix the most frequent classes now, one commit each. Prove each new check fails on a real past mistake by reapplying that mistake and showing the check's error. Run the same command locally and in CI. An exception goes on the offending line with a reason, an expiry date, and a human's approval.
Keep the code
Keep a table in the agent instruction file that pairs each rule with what enforces it.
| Rule | Enforced by |
|---|---|
| <the mistake, stated as a rule> | <the type, lint, check, or test, with its path> |
When the operator corrects you, fix the mistake and add the rule. If the rule was already there and nothing enforces it, that is a repeat, so fix it at the highest level in the same change (Encode Lessons in Structure, Fire in four-elements). Drop a rule once its mistake cannot happen.
Reply
Each class with its evidence, the level you picked, and why a higher level did not work.
Dateien in diesem Skill
1honor-code Skill-Fragen
Wie installiere ich den honor-code Skill in Claude Code?
Führe npx degit tmcfarlane/team-avatar/plugins/team-avatar/skills/honor-code ~/.claude/skills/honor-code aus. Claude Code lädt Skills aus ~/.claude/skills (alle Projekte) oder .claude/skills (ein Projekt) und nutzt einen Skill, wenn seine Beschreibung zur Aufgabe passt.
Welche Clients können den honor-code Skill nutzen?
Jeder Client, der das Agent Skills-Format liest: Claude Code, Codex, Gemini CLI und claude.ai (als ZIP hochladen). Skripte im Skill laufen nur dort, wo der Client Codeausführung erlaubt.
Wie behebt der Honor Code Fehler?
Er behebt Fehler auf der höchstmöglichen Ebene, beginnend bei der Architektur, gefolgt von Typen, Lints, Tests und schließlich der Dokumentation.
Wie identifiziert man eine Fehlerklasse?
Eine Fehlerklasse wird durch das Gruppieren von aktuellen Commits, Reverts, Review-Kommentaren und Agent-Instruction-Files identifiziert; sie gilt offiziell als erkannt, sobald sie zweimal aufgetreten ist.
Wie kann man beweisen, dass ein neuer Check tatsächlich funktioniert?
Du beweist die Funktionalität eines Checks, indem du einen echten Fehler aus der Vergangenheit reproduzierst und zeigst, dass der neue Check einen Fehler auslöst.