chore: bootstrap Claude setup

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Opus 5.5 committed 2026-10-21 03:16:48 +02:00
commit 7f5c7738e5
13 files changed
+211

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
# PostToolUse (Edit/Write): format the changed file. Never blocks.
f=$(jq -r '.tool_input.file_path // empty' 2>/dev/null)
[ -n "$f" ] && [ -f "$f" ] || exit 0
case "$f" in
*.rs) command -v rustfmt >/dev/null && rustfmt --edition 2021 -q "$f" 2>/dev/null ;;
*.dart) command -v dart >/dev/null && dart format -o write "$f" >/dev/null 2>&1 ;;
esac
exit 0