Skip to content

Commit 3e2ffa6

Browse files
authored
Merge pull request #559 from gn-t-k/improve/pr-create-retrospective-hook
PR作成完了時に振り返りを促すPostToolUseフックを追加
2 parents 483a665 + c2c4762 commit 3e2ffa6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.claude/settings.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@
2020
"command": "jq -r '.tool_input.file_path // empty' | grep -E '\\.(ts|tsx|js|jsx)$' | head -1 | xargs -I {} pnpm biome check --write {}"
2121
}
2222
]
23+
},
24+
{
25+
"matcher": "Bash",
26+
"hooks": [
27+
{
28+
"type": "command",
29+
"command": "jq -r '.tool_input.command // empty' | grep -q 'gh pr create' && echo 'PR\u4f5c\u6210\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002\u3053\u306e\u4f5c\u696d\u3092\u901a\u3058\u3066\u5b66\u3073\u3084\u6539\u5584\u70b9\u304c\u3042\u308c\u3070\u3001/retrospective \u3067\u632f\u308a\u8fd4\u308a\u3092\u5b9f\u65bd\u3057\u3066\u304f\u3060\u3055\u3044\u3002' || true"
30+
}
31+
]
2332
}
2433
]
2534
}

0 commit comments

Comments
 (0)