build-game-monster-system
하는 일
이 스킬은 Three.js 액션 게임의 적 크리처를 게임플레이에 쓸 수 있는 에셋으로 만드는 과정을 에이전트가 안내합니다. 믿을 수 있는 타격 영역, 공격 타이밍, 공통 구조를 가진 몬스터를 원하는 게임 개발자를 위한 스킬입니다.
사용하는 경우
- ✓게임에 리그, 타격 영역, 공격 애니메이션이 있는 새 몬스터가 필요할 때.
- ✓장식용 메시만 있고 전투 규칙과 맞지 않는 몬스터가 있을 때.
- ✓기존 몬스터 세트가 하나의 공통 구조를 따라야 하는 경우.
스킬 링크
https://github.com/MengTo/Skills/blob/main/agent-skills/game-development/build-game-monster-system/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“내 게임용 리그가 있는 늑대 몬스터를 만들어 주세요. 타격 영역, 발톱 공격, 다른 몬스터와 공유할 구조를 포함해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 몬스터의 사실 정보, 리그, 실행 중 상태, 화면 표현을 분리합니다. 그래서 전투는 보이는 자세가 아니라 게임 규칙으로 결정됩니다. 각 몬스터를 같은 계약 기준으로 점검합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Build Game Monster System
Build monsters as gameplay-compatible runtime assets, not decorative meshes.
Establish the contract
Read references/monster-contract.md before implementation or audit. Check the real game content model, combat events, enemy state machine, collision API, camera distance, and asset loader before extending the contract.
Use related skills when applicable:
- Use
img2threejsfor image-driven procedural reconstruction and its staged visual gates. - Use
build-hybrid-game-assetsto choose procedural versus imported representation and record provenance/budgets. - Use
tune-enemy-aifor perception, intent, movement, and behavior transitions. - Use
design-action-combatfor startup/active/recovery timing and authoritative contact.
Separate four layers
MonsterDefinition: serializable authored facts, tags, scale, stats, attacks, locomotion, asset provenance, and budgets.MonsterRig: semantic transform hierarchy, joints, sockets, secondary-motion anchors, materials, and LOD visuals.MonsterRuntime: current state, timers, target intent, health/posture, cooldowns, and authoritative combat events.MonsterViewAdapter: drives rig poses, VFX, audio, visibility, and LOD from runtime state; never decides hits from rendered pose.
Do not duplicate authored combat values in the rig or UI.
Build the rig
- Use
+Yup,+Zforward, meters, and a ground-contact root. - Keep
root -> motion -> bodystable across every monster and LOD. - Parent limb segments as real joint chains so shoulder/hip motion propagates through elbows/knees to wrists/ankles.
- Name semantic equivalents for nonhumanoids; do not fake absent anatomy.
- Provide sockets for attack origins, VFX, audio, targeting, ground contact, attachments, and death effects.
- Keep visual meshes out of physics by default. Provide simple solid, navigation, hurt, attack, and trigger shapes separately.
- Preserve root, joints, sockets, collision, and animation state across LOD changes.
Connect behavior and combat
Support at least idle, investigate, pursue, reposition, windup, attack, recover, stagger, and defeated. Each attack definition must declare startup, active, recovery, cooldown, contact shape/socket, damage/posture output, facing rule, and interrupt/cancel policy.
Drive contacts from authoritative action IDs and collision events. Animation may expose a normalized phase, but it must not create damage by itself.
Compose testable movesets
- Author movesets as serializable sequences of intent states and attack IDs. Keep attack timing in the attack definitions; the moveset references it instead of copying it.
- Compile attack steps into explicit startup, active, and recovery phases.
- Provide a pure sampler from
(movesetId, elapsed)to state, attack, normalized phase, active flag, interruptibility, and stable action ID. - Give every loop cycle a new action ID while preserving one ID across an attack's startup, active, and recovery phases.
- Expose queryable or seeded fixtures for the midpoint and boundaries of every phase so reviewers can freeze and reproduce them without campaign playthrough.
Verify conformance
- Add deterministic fixtures for all required states, each attack phase, interrupt/stagger, death, LOD switching, and reset.
- Test moveset timeline continuity, exact active-window boundaries, full attack coverage, per-action ID stability, and per-loop ID renewal.
- Test joint propagation, socket stability, collider coverage, single-contact idempotence, and disposal.
- Render the monster at real encounter distance in the in-app browser.
- Measure triangles, draw calls, textures, frame time, and mobile pixel-ratio behavior.
- Fail the asset if it has floating attachments, missing mandatory states, pose-derived damage, LOD socket drift, or unbounded resource cost.
Report whether the monster fully conforms, conforms with documented exceptions, or needs a new archetype capability added to the shared contract.
자주 묻는 질문
몬스터의 자세가 공격 적중 여부를 정하나요?
아닙니다. 이 스킬은 적중은 렌더링된 자세가 아니라 권위 있는 전투 규칙이 결정한다고 말합니다.
적 AI와 전투 타이밍과도 함께 작동하나요?
네. 이 스킬은 적의 행동, 전투 타이밍, 하이브리드 에셋에 관한 관련 스킬을 안내합니다.
낮은 디테일 버전도 다루나요?
네. 먼 거리의 몬스터를 위해 낮은 디테일 버전도 포함합니다.
상세 정보
작성자의 원본 설명
Build, integrate, audit, or refactor rigged monsters for Three.js and web action games. Use for monster asset contracts, procedural or imported creature rigs, semantic joints and sockets, hurtboxes and attack volumes, combat animation states, enemy-runtime adapters, LODs, deterministic review fixtures, and validating that every monster follows one shared system.
repo: MengTo/Skills
인기도
- GitHub 스타
- 7.2k
- 순위
- #13357
- 라이선스
- 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 모델을 만들고, 웹에서 잘 돌아가는 가벼운 버전을 준비하도록 돕습니다.
비슷한 스킬
angular-developer
280k에이전트가 Angular 코드를 만들고 프로젝트 구조를 조언하도록 돕습니다. 새 프로젝트 시작, 코드 부분 생성, 성능과 접근성 개선에 유용합니다.
frontend-a11y
280k모든 사람이 웹 인터페이스를 쓸 수 있도록 에이전트를 돕습니다. 웹사이트와 앱이 화면 읽기 프로그램과 키보드 탐색에서 잘 작동하도록 합니다.
frontend-patterns
280k프론트엔드 개발의 현대적인 패턴을 적용하도록 에이전트를 돕습니다. React와 Next.js에서 성능을 최적화하고, 상태를 관리하며, 모범 사례를 따릅니다.