PreToolUse
01Hook Claude Code
Runs before the agent uses a tool for Edit, Write and MultiEdit tool calls, executing guard-contract.sh. From Adios94/megabonk-game.
Hook Claude Code
Runs before the agent uses a tool for Edit, Write and MultiEdit tool calls, executing guard-contract.sh. From Adios94/megabonk-game.
Hook Claude Code
Runs when a session starts, executing check-trunk-sync.sh. From Adios94/megabonk-game.
Settings file Claude Code
Agent settings declaring 2 hook events (PreToolUse, SessionStart) and 10 allowed tools.
Skill Claude CodeCodex
Verify the framework contract is intact — public API exports, GameInstance class signature, i18n key parity, client entry. Run this before commits or after large refactors. Source of truth is docs/contract.md.
Cursor rule Cursor
A project rule set that defines the MegaBonk framework’s file boundaries and checks before changes.
Cursor rule Cursor
A translation-file rule for keeping the English and Chinese JSON language files in sync.
Cursor rule Cursor
A set of architecture rules for the MegaBonk game codebase. It defines the responsibilities of the `game/core/source` directories.
Skill Claude CodeCodexCursor
Enforces mobile-first responsive UI rules for MegaBonk DOM overlays and HUD in game/client/source/index.ts. Use when creating or modifying any in-game UI, HUD, menu, overlay, panel, button, card layout, font size, spacing, or touch targets. Trigger on keywords: UI, HUD, 界面, 面板, 菜单, overlay, responsive, 适配, mobile, 手机…
Instructions file CodexOpenCode
AGENTS.md instructions for Adios94/megabonk-game, covering agents.md, 优先级, 自检命令 and cursor 用户.
Instructions file
A repository guide for Claude Code contributors working on megabonk-game, a Three.js 3D game in the roguelike survivor genre. It describes the project, required framework rules, checks before editing, and validation tools.