Files
Claude-Code-Game-Studios/.claude/docs/hooks-reference.md
Donchitos ad540fe75d Game Studio Agent Architecture — complete setup (Phases 1-7)
48 coordinated Claude Code subagents for indie game development:
- 3 leadership agents (creative-director, technical-director, producer)
- 10 department leads (game-designer, lead-programmer, art-director, etc.)
- 23 specialist agents (gameplay, engine, AI, networking, UI, tools, etc.)
- 12 engine-specific agents (Godot, Unity, Unreal with sub-specialists)

Infrastructure:
- 34 skills (slash commands) for workflows, reviews, and team orchestration
- 8 hooks for commit validation, asset checks, session management
- 11 path-scoped rules enforcing domain-specific standards
- 28 templates for design docs, reports, and collaborative protocols

Key features:
- User-driven collaboration protocol (Question → Options → Decision → Draft → Approval)
- Engine version awareness with knowledge-gap detection (Godot 4.6 pinned)
- Phase gate system for development milestone validation
- CLAUDE.md kept under 80 lines with extracted doc imports

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 21:04:24 +11:00

1.3 KiB

Active Hooks

Hooks are configured in .claude/settings.json and fire automatically:

Hook Event Trigger Action
validate-commit.sh PreToolUse (Bash) git commit commands Validates design doc sections, JSON data files, hardcoded values, TODO format
validate-push.sh PreToolUse (Bash) git push commands Warns on pushes to protected branches (develop/main)
validate-assets.sh PostToolUse (Write/Edit) Asset file changes Checks naming conventions and JSON validity for files in assets/
session-start.sh SessionStart Session begins Loads current sprint context, active milestone, recent git activity
detect-gaps.sh SessionStart Session begins Detects missing documentation when code/prototypes exist, suggests /reverse-document or /project-stage-detect
pre-compact.sh PreCompact Context compression Logs session progress notes before context window compression
session-stop.sh Stop Session ends Summarizes accomplishments and updates session log
log-agent.sh SubagentStart Agent spawned Audit trail of all subagent invocations with timestamps

Hook reference documentation: .claude/docs/hooks-reference/ Hook input schema documentation: .claude/docs/hooks-reference/hook-input-schemas.md