claude-app/.claude/settings.json
Ole-Morten Duesund 1f216243f0 Add Claude Code hooks and release skill
- PostToolUse hook: auto-format .rs files with rustfmt after edit
- PreToolUse hook: block direct edits to Cargo.lock
- /release skill: build .deb and inspect package metadata

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 13:44:00 +01:00

27 lines
548 B
JSON

{
"hooks": {
"PostToolUse": [
{
"matcher": "Edit|Write",
"hooks": [
{
"type": "command",
"command": "$CLAUDE_PROJECT_DIR/.claude/hooks/format-rs.sh",
"statusMessage": "Formatting Rust code..."
}
]
}
],
"PreToolUse": [
{
"matcher": "Edit|Write",
"hooks": [
{
"type": "command",
"command": "$CLAUDE_PROJECT_DIR/.claude/hooks/block-cargo-lock.sh"
}
]
}
]
}
}