mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-13 13:23:31 +08:00
Add Kiro IDE support (.kiro/) (#548)
Co-authored-by: Sungmin Hong <hsungmin@amazon.com>
This commit is contained in:
14
.kiro/hooks/doc-file-warning.kiro.hook
Normal file
14
.kiro/hooks/doc-file-warning.kiro.hook
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "doc-file-warning",
|
||||
"version": "1.0.0",
|
||||
"enabled": true,
|
||||
"description": "Warn before creating documentation files to avoid unnecessary documentation",
|
||||
"when": {
|
||||
"type": "preToolUse",
|
||||
"toolTypes": ["write"]
|
||||
},
|
||||
"then": {
|
||||
"type": "askAgent",
|
||||
"prompt": "You are about to create or modify a file. If this is a documentation file (README, CHANGELOG, docs/, etc.) that was not explicitly requested by the user, consider whether it's truly necessary. Documentation should be created only when:\n\n1. Explicitly requested by the user\n2. Required for project setup or usage\n3. Part of a formal specification or requirement\n\nIf you're creating documentation that wasn't requested, briefly explain why it's necessary or skip it. Proceed with the write operation if appropriate."
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user