본문으로 건너뛰기
Skillpedia
웹사이트 및 UI (프런트엔드)7.2k · #13369

tune-enemy-ai

하는 일

이 스킬은 3D나 웹 액션 게임에서 적이 생각하고 행동하는 방식을 설계하도록 AI 에이전트를 안내합니다. 공정하게 느껴지고 테스트하기 쉬운 적을 원하는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓적이 너무 오래 쫓아오거나, 불공정하게 공격하거나, 멈춰 버릴 때.
  • ✓여러 단계와 행동이 있는 보스를 추가할 때.
  • ✓적의 선택을 확인하는 반복 가능한 AI 테스트가 필요한 경우.

스킬 링크

https://github.com/MengTo/Skills/blob/main/agent-skills/game-development/tune-enemy-ai/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/MengTo/Skills/blob/main/agent-skills/game-development/tune-enemy-ai/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“내 적들이 계속 벽 뒤에 끼어 버립니다. 추격과 공격 행동을 고쳐 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 적의 행동을 추격, 위치 재조정, 공격 같은 이름 있는 상태로 설명합니다. 상태가 바뀌는 분명한 규칙을 정하고, 공격 전에 예고 동작을 넣으며, 각 판단에 대한 테스트를 씁니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Tune Enemy AI

Make enemy choices legible, bounded, and reproducible.

Model decisions explicitly

Use a small state machine or utility layer with named states such as idle, investigate, pursue, reposition, windup, attack, recover, stagger, retreat, and defeated. State transitions must state their prerequisites, exit conditions, minimum dwell time, and cooldown effects.

Separate perception, intent, and motion

  1. Gather observable inputs: distance, line of sight, target state, occupancy, threat, health, and timers.
  2. Select one intention from constrained legal actions.
  3. Move and animate toward that intent without rewriting the decision mid-action.

Use authoritative collision and navigation results for movement success. Do not derive them from rendered pose or assumed path completion.

Preserve fair combat

Telegraph attacks before their active window. Prevent instant turn-and-hit behavior, perpetual chase, clipped attacks through blockers, and repeated recovery spam. Add spacing and commitment so the player can read and answer each enemy archetype.

Test the decision surface

Create deterministic fixtures for target acquisition, target loss, obstruction, path failure, close-range pressure, multiple enemies, retaliation, interrupt, stagger, boss phase, and reset. Assert transitions and outcomes, not only final positions. Run a real browser encounter after automated tests.

자주 묻는 질문

행동 상태 기계란 무엇인가요?

대기, 추격, 후퇴처럼 이름 붙은 상태 목록과, 상태 사이를 옮기는 분명한 규칙을 말합니다.

이 스킬은 위치만 테스트하나요?

아닙니다. 적이 어디에 있는지뿐 아니라 판단과 결과도 확인합니다.

적이 플레이어에게 공정할까요?

공격은 맞기 전에 미리 보여야 하며, 적이 즉시 돌아서 바로 맞히면 안 된다고 이 스킬은 말합니다.

상세 정보

작성자의 원본 설명

Build, debug, balance, or test combat enemy AI for playable action games. Use for aggro, target selection, navigation, spacing, attack choices, telegraphs, retreats, boss behavior, behavior-state machines, and deterministic AI regression tests.

repo: MengTo/Skills

인기도

GitHub 스타
7.2k
순위
#13369
라이선스
MIT
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬