Files
wehub-resource-sync bb5c75ce05
Component Security Validation / Security Audit (push) Has been cancelled
Deploy to Cloudflare Pages / deploy (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:38:58 +08:00

1 line
577 B
JSON

{"content": "{\n \"description\": \"Automatically stage modified files with git add after editing. Helps maintain a clean git workflow by staging changes as they're made.\",\n \"hooks\": {\n \"PostToolUse\": [\n {\n \"matcher\": \"Edit|MultiEdit|Write\",\n \"hooks\": [\n {\n \"type\": \"command\",\n \"command\": \"if [[ -n \\\"$CLAUDE_TOOL_FILE_PATH\\\" ]] && git rev-parse --git-dir >/dev/null 2>&1; then git add \\\"$CLAUDE_TOOL_FILE_PATH\\\" 2>/dev/null || true; fi\"\n }\n ]\n }\n ]\n }\n}"}