design-action-combat
できること
このスキルは、Webアクションゲームの戦闘ルールを計画する作業を、AIエージェントに案内します。攻撃、防御、回避が公平に感じられ、テストしやすいものにしたいゲームデザイナーや開発者向けです。
使う場面
- ✓ゲームの攻撃、防御、回避を設計しているとき。
- ✓戦闘が不公平、分かりにくい、または遅く感じるとき。
- ✓戦闘のタイミングと命中の結果を確かめるテストが欲しいとき。
スキルのリンク
https://github.com/MengTo/Skills/blob/main/agent-skills/game-development/design-action-combat/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のブラウザゲームのボスの攻撃と回避のタイミングを、公平になるように設計してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、各行動の開始、有効な時間帯、回復、結果を定義します。そのうえで、命中の判定はゲーム自身の衝突イベントを使い、早すぎる入力、遅すぎる入力、繰り返しの入力のテストを書きます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Design Action Combat
Treat combat as explicit state machines with visible, testable timing rather than animation-driven guesses.
Specify every combat verb
For each player or enemy action, define: startup, active window, recovery, cancellation rules, resource cost, contact shape, damage/posture outcome, cooldown, and feedback. Make telegraph, danger, contact, and recovery readable at normal camera distance.
Use authoritative outcomes
- Drive hits, blocks, parries, and interrupts from authoritative collision/contact events.
- Require direction, range, phase, and state validity before resolving an outcome.
- Apply each contact once using stable action and target identifiers.
- Keep visuals downstream of resolved simulation events.
Tune for decisions
Give each defense a distinct purpose: spacing, dodge, timed guard, interruption, or resource trade. Avoid unpunishable attacks, recovery loops, unavoidable damage, and dominant spam. Boss phases must alter decision pressure without invalidating learned timing.
Test combat deterministically
Cover early/late timing, wrong direction, out-of-range contact, multiple targets, interrupted actions, phase changes, cooldown boundaries, pause/frame step, equip swaps, and repeated inputs. Use seeded or queryable review scenarios instead of requiring long campaign playthroughs.
Verify in play
Test at realistic frame rate and camera distance. Confirm that player intent, contact feedback, health/posture changes, sound/VFX, and target state agree. Check reduced motion and input alternatives before release.
よくある質問
アニメーションだけを扱いますか?
いいえ。戦闘を、タイミング、コスト、結果のある明確なルールとして扱い、アニメーションはそのルールに従うべきで、ルールを決めるものではないとしています。
どのようなテストを書きますか?
早い、遅いタイミング、間違った方向、届かない距離での命中、中断された行動、クールダウンの境界を扱います。
ボス専用ですか?
いいえ。同じルールがプレイヤーの動きや通常の敵にも当てはまり、ボスのフェーズは追加の層になります。
詳細
作者による元の説明
Design, implement, tune, or test readable tactical action combat for web games. Use for attack timing, guard and dodge windows, hit contact, posture, lock-on, weapons, boss phases, combat feedback, and deterministic combat tests.
repo: MengTo/Skills
人気
- GitHubのスター
- 7.2k
- ランキング
- #13364
- ライセンス
- MIT
- 更新日
- 2026/11/1
コメント
- …
このリポジトリの他のスキル
3d-cloth-material
7.2kThree.js で、糸の織り、柔らかい光沢、自然な襞、裾、縫い目を持つ、本物の織物らしい布を作るようエージェントを支援します。
3d-falling-leaves
7.2k3D のシーンに、回転し、風に流され、カメラの動きに合わせて再利用される、本物らしい落ち葉を加えるようエージェントを支援します。
3d-four-seasons
7.2k3D のシーンに、春、夏、秋、冬の見た目を加え、シーン全体を作り直さずに、茂み、光、空、雪を変えるようエージェントを支援します。
3d-high-poly-models
7.2k滑らかな形と自然な縁をもつ、詳細な3Dモデルを作り、その後、Web で快適に動く軽いバージョンを準備するようエージェントを支援します。
似ているスキル
angular-developer
280kエージェントがAngularのコードを作成し、プロジェクト構成についてアドバイスできるようにします。新しいプロジェクトの開始、コード部品の作成、パフォーマンスやアクセシビリティの改善に役立ちます。
frontend-a11y
280kエージェントが Web インターフェースを誰にとっても使いやすくするよう支援します。スクリーンリーダーやキーボード操作に対応し、サイトやアプリが適切に動作するようにします。
frontend-patterns
280kエージェントがフロントエンド開発の最新パターンを適用できるようにします。React と Next.js において、パフォーマンスの最適化、状態管理、ベストプラクティスの遵守を行います。