mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-13 05:03:28 +08:00
Add Kiro steering files, hooks, and scripts (#812)
Co-authored-by: Sungmin Hong <hsungmin@amazon.com>
This commit is contained in:
14
.kiro/hooks/git-push-review.kiro.hook
Normal file
14
.kiro/hooks/git-push-review.kiro.hook
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "git-push-review",
|
||||
"version": "1.0.0",
|
||||
"enabled": true,
|
||||
"description": "Reviews shell commands before execution to catch potentially destructive git operations",
|
||||
"when": {
|
||||
"type": "preToolUse",
|
||||
"toolTypes": ["shell"]
|
||||
},
|
||||
"then": {
|
||||
"type": "askAgent",
|
||||
"prompt": "A shell command is about to be executed. If this is a git push or other potentially destructive operation, verify that: 1) All tests pass, 2) Code has been reviewed, 3) Commit messages are clear, 4) The target branch is correct. If it's a routine command, proceed without comment."
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user