chore(claude-code): add project agent and quality-check hook config

Add the Explore subagent definition and a PostToolUse hook that runs
Ruff and ty on Python file edits, plus the settings.json wiring it in.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-15 11:26:39 +03:30
parent 8c062ae461
commit e2322a2909
3 changed files with 211 additions and 0 deletions

20
.claude/settings.json Normal file
View File

@@ -0,0 +1,20 @@
{
"enabledPlugins": {
"astral@astral-sh": true
},
"hooks": {
"PostToolUse": [
{
"matcher": "Write|Edit",
"hooks": [
{
"type": "command",
"command": "repo=$(git rev-parse --show-toplevel 2>/dev/null || pwd); python3 \"$repo/.claude/hooks/python_quality.py\"",
"timeout": 120,
"statusMessage": "Running Ruff and ty on Python edit"
}
]
}
]
}
}