game-dev-combat-skill-polish
Fungsinya
Skill ini memandu agent memberi nilai pada setiap skill dan mantra pertarungan, lalu menaikkan yang paling lemah hingga mencapai standar yang ditetapkan. Cocok untuk tim game yang ingin skill mereka mudah dibaca dan tampak rapi dibandingkan referensi yang disebutkan.
Kapan dipakai
- ✓Saat Anda ingin semua skill pertarungan dalam game dinilai dan dibandingkan.
- ✓Saat skill tertentu tidak terbaca dengan jelas atau muncul pada waktu yang salah.
- ✓Saat seni skill perlu mencapai kualitas referensi, misalnya game aksi tertentu.
Link skill
https://github.com/MengTo/Skills/blob/main/agent-skills/game-combat/game-dev-combat-skill-polish/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Beri nilai setiap skill di game saya dengan skor 10, lalu perbaiki yang nilainya paling rendah hingga mencapai 7.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent merekam setiap skill pada jam yang bertahap, meminta juri buta menilainya berdasarkan rubrik yang dinyatakan, lalu memperbaiki yang paling lemah. Skor selalu disertai rubrik asalnya.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Game dev: combat skill polish
A skill is the cast (the caster's body), the effect (what it throws, raises or tears open), and the result (the target's reaction and what it leaves behind). Polish all three, judged from real footage by people who did not make it.
There are two bars. Know which one the user means:
| Bar | Asks | Rubric | Typical target |
|---|---|---|---|
| Readability | Does it read as itself? Does the result land when and where the blow arrives? Is the pose its own? | references/rubric-readability.md (reads, timing, body, effect, reaction) |
every skill 6+ |
| Art | Detail and texture, light, motion and trails, impact, art direction, against a named reference | references/rubric-art.md (Diablo IV paladin skills, described in words) |
7+ per skill |
A skill can score 7 on readability and 3 on art. Never quote a score without naming its rubric.
1. Pin down the job
- Which skills: all of them (a survey), or named ones (a rebuild). One skill per thread when several run at once.
- The bar and the reference. If the user shows a reference image, save it into the project so judges can open it; otherwise describe it in words in the rubric.
- Read the project reference first (
references/<project>.md, if there is one): where each skill's code lives, the harness settings, the scorecard so far, and what other threads already learned. - Before designing,
git fetchand check what other threads are changing; several skill threads edit the same effect and animation files.
2. Film the real thing
- Work in your own git worktree off the main branch. Serve it on a free port; serve a clean main worktree on a second port for the "before".
- Film headlessly on a stopped, stepped clock: freeze the game clock, step it 0.05 s per frame, wait for a rendered frame, shoot. A loaded machine then still gives evenly spaced frames. (
scripts/film.mjs; staging per skill in a scenarios file likescripts/scenarios.example.mjs.) The game needs review-only hooks for this: stage a state, issue a command, aim the camera, freeze and step the clock (the contract is at the top offilm.mjs; HOOK, PAGE, READY, SETTINGS_KEY and CHROME are set from the environment). - Stage each cast so the caster, the target, the hero object and the landing are in the crop and clear of the HUD (
frame,span,points). A thing hidden behind a panel scores as "a speck". - Build a contact strip per cast (
scripts/strips.py, N=16 and TAIL=3 to keep the aftermath) and a close-up of the key frames (scripts/close.py). Judges need both: strips show timing, close-ups show art. - Measure what can be measured: the frame the foe moves against the frame the blow lands (
meta.jsonper-frame action and time), draw calls and triangles during the cast (scripts/perf.mjs), and download size. - Never edit served source files during a film; the dev server reloads mid-capture.
3. Judge blind, two at a time
- Spawn two fresh general-purpose subagents per round. Give them the rubric, a list file and the image paths, and tell them to open no other files: no code, no earlier scores, no keys.
scripts/judge-set.pyanonymises strips under neutral ids and writes the list and a key;templates/judge-prompt.mdhas the two prompts. - Ask for JSON: part scores, a total, the biggest fault and the single change that would raise it most. Save every reply under
judges/. - Keep the lower of the two. Never round up. Never score your own captures.
- Judge spread is about ±0.5 to 1. Before calling a 7 solid, re-judge the same pictures or mix a calibration strip (an old version) into the set. One lucky round is not a pass.
- The judges' "next" lines are the work list. When both name the same thing, do that first.
4. Raise it, round by round
Fix the criterion costing the most points. These moved scores before:
Timing and readability
- Results must land on the beat: the target reacts, is pushed or gets its status when the blow, missile or wave arrives, never on the click. Check the scene layer that draws units at their rules position every frame; it will happily show a push before the blow (the first and biggest fix on the project this skill was built on).
- A skill that borrows another's schedule (its duration and contact moment) cannot have its own body. Give it its own schedule and keyed move: a kneel then rise, a gather then throw, a bow then welcome. Then update every place that branched on the old schedule's name
Pertanyaan umum
Apa dua standar tersebut?
Keterbacaan menanyakan apakah skill terbaca sebagai dirinya sendiri, sedangkan seni menanyakan detail, cahaya, dan dampak dibandingkan referensi.
Apakah juri tahu siapa pembuat skill?
Skill ini memakai penilaian anonim, sehingga juri menilai tanpa mengetahui penulisnya.
Bisakah skill mendapat nilai baik di satu standar tetapi buruk di standar lain?
Bisa. Setiap standar dinilai terpisah, sehingga skill bisa baik dalam keterbacaan tetapi tetap perlu dikerjakan dari sisi seni.
Detail
Deskripsi asli dari pembuat
Score a game's combat skills and spells out of 10 with blind judges, then raise the weakest to a bar, for timing and readability (does a skill read as itself, does the blow land when it lands) and for art (detail, light, trails, impact, art direction, judged against a reference such as Diablo IV). Covers filming casts on a stopped, stepped clock, contact strips and close-ups, anonymised two-judge rounds, the levers that moved scores (hero props made from a painted concept with image-to-3D, own schedules and keyed moves, painted additive textures, camera-facing ribbons, light outside the body),
repo: MengTo/Skills
Popularitas
- Bintang GitHub
- 7.2k
- Peringkat
- #13347
- Lisensi
- MIT
- Diperbarui
- 1/11/2026
Komentar
- …
Skill lain dari repositori ini
3d-cloth-material
7.2kMembantu agent Anda membuat kain tenun yang realistis di Three.js, dengan anyaman benang, kilau lembut, lipatan alami, kelim, dan jahitan.
3d-falling-leaves
7.2kMembantu agent Anda menambahkan daun berguguran yang realistis ke scene 3D, dengan daun yang berputar, terbawa angin, dan digunakan ulang saat kamera bergerak.
3d-four-seasons
7.2kMembantu agent Anda menambahkan tampilan musim semi, panas, gugur, dan dingin ke scene 3D, dengan mengubah dedaunan, cahaya, langit, dan salju tanpa membangun ulang scene.
3d-high-poly-models
7.2kMembantu agent Anda membangun model 3D yang detail dengan bentuk halus dan tepi yang meyakinkan, lalu menyiapkan versi lebih ringan yang berjalan baik di web.
Skill serupa
angular-developer
280kMembantu agent Anda membuat kode Angular dan memberi saran struktur proyek. Berguna saat memulai proyek baru, membuat komponen, atau meningkatkan performa.
frontend-a11y
280kMembantu agent Anda membuat antarmuka web dapat diakses semua orang. Memastikan website dan aplikasi berfungsi baik dengan screen reader dan navigasi keyboard.
frontend-patterns
280kMembuat agent Anda menerapkan pola modern dalam frontend. Mengoptimalkan performa, mengelola state, dan mengikuti praktik terbaik React dan Next.js.