Files
dasemuandClaude Sonnet 5 dc189657eb chore: bootstrap Claude setup
Add CLAUDE.md, LESSONS.md, VERSION, .env.example, .claude/settings.json
hooks, and CI/version workflows following the standard repo bootstrap.
No linter or test suite exists yet; checks are limited to a Python
syntax check (py_compile) in both the Stop hook and CI.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-18 15:02:57 +02:00

26 lines
566 B
JSON

{
"hooks": {
"PostToolUse": [
{
"matcher": "Edit|Write",
"hooks": [
{
"type": "command",
"command": "file=$(jq -r '.tool_input.file_path // empty'); if [ -n \"$file\" ] && [ \"${file##*.}\" = \"py\" ]; then python3 -m py_compile \"$file\"; fi"
}
]
}
],
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "cd \"$CLAUDE_PROJECT_DIR\" && python3 -m py_compile run.py generator.py"
}
]
}
]
}
}