Files
Claude-Code-Game-Studios/.claude/docs/hooks-reference.md
Donchitos b36eb2728d Docs sync: update all references to v0.4.0 state (52 skills, 9 hooks, 36 templates)
- README: badges and skills section updated (37→52 skills, 8→9 hooks, 29→36 templates); all 52 commands listed in 10 categories; log-agent-stop.sh added to hooks table
- UPGRADING: added complete v0.3.0→v0.4.0 section with file lists, feature highlights, and after-upgrade steps
- WORKFLOW-GUIDE: full rewrite from 10-phase to 7-phase structure; all 52 skills documented across phases and Appendix B
- skills-reference: added 15 missing skills; reorganized into categorized sections
- hooks-reference: added log-agent-stop.sh entry
- quick-start: corrected counts; removed stale orphan doc references
- COLLABORATIVE-DESIGN-PRINCIPLE: AskUserQuestion integration count 10→16

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 12:50:51 +11:00

1.6 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 sprint context, milestone, git activity; detects and previews active session state file for recovery
detect-gaps.sh SessionStart Session begins Detects fresh projects (suggests /start) and missing documentation when code/prototypes exist, suggests /reverse-document or /project-stage-detect
pre-compact.sh PreCompact Context compression Dumps session state (active.md, modified files, WIP design docs) into conversation before compaction so it survives summarization
session-stop.sh Stop Session ends Summarizes accomplishments and updates session log
log-agent.sh SubagentStart Agent spawned Audit trail start — logs subagent invocation with timestamp
log-agent-stop.sh SubagentStop Agent stops Audit trail stop — completes subagent record

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