game-dev-combat-skill-polish
它能做什么
这个技能指导智能体为每个战斗技能和法术评分,然后把最弱的技能提升到设定的标准。适合希望技能表现清晰、并达到某个指定参考水平的游戏团队。
适用场景
- ✓你想为游戏中的所有战斗技能评分并进行比较的时候。
- ✓某个技能表现不清楚,或在错误的时刻生效的时候。
- ✓技能美术需要达到参考水平,例如某款指定动作游戏的时候。
技能链接
https://github.com/MengTo/Skills/blob/main/agent-skills/game-combat/game-dev-combat-skill-polish/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请为我游戏中的每个技能打分(满分 10 分),并把最低的技能改进到 7 分。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会在分步的时钟上录制每个技能,让盲评评委依据明确的评分标准打分,然后改进最弱的技能。评分结果总会附上对应的评分标准。
技术内容(原始 SKILL.md)
作者在 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
常见问题
两个标准分别是什么?
可读性询问技能是否能清楚地表现出自身,美术则询问细节、光线和冲击感与参考相比如何。
评委知道技能是谁做的吗?
技能采用匿名评审,因此评委在不知道作者的情况下打分。
一个技能能在一项标准上得分高,在另一项上得分低吗?
能。每项标准分别打分,因此技能可能在可读性上表现良好,但仍需要美术方面的改进。
详情
作者的原始描述
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
热度
- GitHub 星标
- 7.2k
- 排名
- #13347
- 许可证
- MIT
- 更新时间
- 2026/11/1
评论
- …
同一仓库的更多技能
3d-cloth-material
7.2k帮你的智能体在 Three.js 中制作逼真的编织织物,包括纱线编织纹理、柔和光泽、自然褶皱、下摆和缝线。
3d-falling-leaves
7.2k帮你的智能体在 3D 场景中添加逼真的飘落树叶,树叶会翻滚、随风飘动,并在镜头移动时循环利用。
3d-four-seasons
7.2k帮你的智能体为 3D 场景添加春夏秋冬四季效果,无需重建场景即可改变植被、光线、天空和积雪。
3d-high-poly-models
7.2k帮你的智能体构建形状平滑、边缘可信的精细 3D 模型,然后制作在网页上运行流畅的轻量版本。