Files
everything-claude-code/.kiro/hooks/tdd-reminder.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
508 B
Plaintext

{
"name": "tdd-reminder",
"version": "1.0.0",
"enabled": true,
"description": "Reminds the agent to consider writing tests when new TypeScript files are created",
"when": {
"type": "fileCreated",
"patterns": ["*.ts", "*.tsx"]
},
"then": {
"type": "askAgent",
"prompt": "A new TypeScript file was just created. Consider whether this file needs corresponding test coverage. If it contains logic that should be tested, suggest creating a test file following TDD principles."
}
}