Files
dasemuandClaude Sonnet 5 f0f9f98350 chore: bootstrap Claude setup
Add root CLAUDE.md, LESSONS.md, docs/deployment.md, .claude/settings.json
hooks (syntax-check on edit and on stop), and CI workflows (lint/test,
version bump) per the repo bootstrap standard.

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

26 lines
579 B
JSON

{
"hooks": {
"PostToolUse": [
{
"matcher": "Edit|Write",
"hooks": [
{
"type": "command",
"command": "file=$(cat | python3 -c 'import json,sys;print(json.load(sys.stdin).get(\"tool_input\",{}).get(\"file_path\",\"\"))'); case \"$file\" in *.js) node --check \"$file\" ;; esac"
}
]
}
],
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "cd \"$CLAUDE_PROJECT_DIR\" && node --check server.js"
}
]
}
]
}
}