Files
everything-claude-code/.kiro/hooks/code-review-on-write.kiro.hook
Himanshu Sharma bacc585b87 Add Kiro steering files, hooks, and scripts (#812)
Co-authored-by: Sungmin Hong <hsungmin@amazon.com>
2026-03-22 21:55:47 -07:00

15 lines
566 B
Plaintext

{
"name": "code-review-on-write",
"version": "1.0.0",
"enabled": true,
"description": "Performs a quick code review after write operations to catch common issues",
"when": {
"type": "postToolUse",
"toolTypes": ["write"]
},
"then": {
"type": "askAgent",
"prompt": "Code was just written or modified. Perform a quick review checking for: 1) Common security issues (SQL injection, XSS, etc.), 2) Error handling, 3) Code clarity and maintainability, 4) Potential bugs or edge cases. Only comment if you find issues worth addressing."
}
}