Skill honor-code
✓ VerifiedMencegah kesalahan agent yang berulang dengan menerapkan safeguard berbasis arsitektur, tipe data, atau linting berdasarkan pola error historis.
- Bintang GitHub
- 113
- File
- 1
- Commit terakhir
- 1 Nov 2026
- Lisensi
- MIT
- Tool yang diizinkan
- —
Apa fungsi skill honor-code?
honor-code adalah agent skill. Mencegah kesalahan agent yang berulang dengan menerapkan safeguard berbasis arsitektur, tipe data, atau linting berdasarkan pola error historis.
Ringkasan dibuat dari SKILL.md skill ini.
Tentang skill honor-code
Developer yang ingin menghentikan AI agent agar tidak mengulangi kesalahan coding yang sama dapat menggunakan skill ini untuk mengubah kesalahan historis menjadi safeguard struktural yang permanen. Alih-alih mengandalkan koreksi manual yang berulang, tool ini menganalisis commit terbaru, revert, komentar review, dan file instruksi agent seperti AGENTS.md atau CLAUDE.md untuk mengidentifikasi mistake class yang sering muncul. Setelah sebuah pola teridentifikasi, ia akan menerapkan perbaikan pada level tertinggi yang memungkinkan dalam stack pengembangan.
Proses ini memprioritaskan perubahan arsitektur untuk mengeliminasi error, diikuti oleh penegakan type system, aturan linting kustom, atau CI checks. Tool ini juga menangani test yang rapuh yang gagal menangkap regresi. Untuk memastikan efektivitasnya, skill ini membuktikan setiap safeguard baru dengan menunjukkan bahwa ia berhasil menandai kesalahan nyata dari masa lalu. Output akhirnya mencakup tabel terstruktur di dalam file instruksi agent yang memetakan aturan spesifik ke mekanisme penegakan teknisnya, seperti tipe data tertentu atau lint path.
Apa yang bisa dilakukan agent dengannya
- 1Mengubah koreksi manual menjadi kodeTransformasikan koreksi operator yang berulang menjadi batasan arsitektur atau berbasis tipe data yang permanen.
- 2Validasi safeguard baru terhadap historiVerifikasi bahwa lint atau type check baru benar-benar berfungsi dengan memutar ulang error sebelumnya.
- 3Mengelola registry penegakan aturanBuat tabel pusat dalam instruksi agent yang menghubungkan aturan dengan implementasi teknisnya.
Ditulis dari SKILL.md milik skill tersebut. Setiap use case diverifikasi dengan kutipan darinya.
Cara install skill honor-code
Setiap perintah menyalin folder skill ke direktori skills client. Restart client atau mulai sesi baru untuk memuatnya.Install skill honor-code di Plugin
/plugin marketplace add tmcfarlane/team-avatar /plugin install team-avatar@team-avatar
Install skill honor-code di Claude Code
~/.claude/skills/honor-code/SKILL.md
$ npx degit tmcfarlane/team-avatar/plugins/team-avatar/skills/honor-code ~/.claude/skills/honor-codeInstall skill honor-code di Claude Code (project)
.claude/skills/honor-code/SKILL.md
$ npx degit tmcfarlane/team-avatar/plugins/team-avatar/skills/honor-code .claude/skills/honor-codeInstall skill honor-code di Codex
~/.agents/skills/honor-code/SKILL.md
$ npx degit tmcfarlane/team-avatar/plugins/team-avatar/skills/honor-code ~/.agents/skills/honor-codeInstall skill honor-code di Gemini CLI
~/.gemini/skills/honor-code/SKILL.md
$ npx degit tmcfarlane/team-avatar/plugins/team-avatar/skills/honor-code ~/.gemini/skills/honor-codeInstall skill honor-code di Claude.ai
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
Pengecekan otomatis
Berjalan 14 Nov 2026Laporan lengkap →Lolos cek otomatis kami. Ini bukan audit keamanan: baca skripnya sebelum membiarkan agent menjalankannya. Cara kerja checks
- Source repository terhubung dan dapat dijangkautmcfarlane/team-avatar/plugins/team-avatar/skills/honor-code is public and reachablegithub.com/tmcfarlane/team-avatar/tree/HEAD/plugins/team-ava ↗Lolos
- Lisensi open source (OSI)MITspdx.org/licenses/MIT.html ↗Lolos
- Ada commit atau release dalam satu tahun terakhirLast commit 2026-11-01github.com/tmcfarlane/team-avatar/commits ↗Lolos
- Skrip tanpa unduh-lalu-jalankan atau pencurian kredensialNo scripts in the skill folderLolos
- Tidak ada instruksi tersembunyi di SKILL.mdNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/tmcfarlane/team-avatar/blob/HEAD/plugins/team-ava ↗Lolos
- Tool yang diizinkan otomatis dibatasiNo pre-approved tools; the agent asks before using onegithub.com/tmcfarlane/team-avatar/blob/HEAD/plugins/team-ava ↗Lolos
- SKILL.md mengikuti format Agent SkillsValid name and description; says when to use it; 40 linesgithub.com/tmcfarlane/team-avatar/blob/HEAD/plugins/team-ava ↗Lolos
SKILL.md
Lihat di GitHubZuko'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.
Berkas dalam skill ini
1Pertanyaan seputar skill honor-code
Bagaimana cara install skill honor-code di Claude Code?
Jalankan npx degit tmcfarlane/team-avatar/plugins/team-avatar/skills/honor-code ~/.claude/skills/honor-code. Claude Code memuat skill dari ~/.claude/skills (semua proyek) atau .claude/skills (satu proyek) dan menggunakan skill saat deskripsinya cocok dengan tugas.
Client mana saja yang bisa menggunakan skill honor-code?
Client apa pun yang membaca format Agent Skills: Claude Code, Codex, Gemini CLI, dan claude.ai (unggah sebagai ZIP). Script dalam skill hanya berjalan di client yang mengizinkan eksekusi kode.
Bagaimana honor code memperbaiki kesalahan?
Ia memperbaiki kesalahan pada level tertinggi yang memungkinkan, dimulai dari arsitektur, kemudian beralih ke tipe data, lints, tests, dan terakhir dokumentasi.
Bagaimana cara mengidentifikasi sebuah mistake class?
Sebuah mistake class diidentifikasi dengan mengelompokkan commit terbaru, revert, komentar review, dan file instruksi agent, dan akan dihitung secara resmi setelah terjadi sebanyak dua kali.
Bagaimana cara membuktikan bahwa check baru benar-benar berfungsi?
Anda membuktikan sebuah check berfungsi dengan menerapkan kembali kesalahan nyata dari masa lalu dan menunjukkan bahwa check baru tersebut memicu error.