add template

This commit is contained in:
김경종
2026-04-17 10:35:09 +09:00
parent 5c308e14b2
commit e8f6208df1
41 changed files with 1133 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
{
"context": {
"fileName": [
"GEMINI.md"
]
},
"hooks": {
"BeforeTool": [
{
"matcher": "write_file|replace|delete_file|run_shell_command",
"hooks": [
{
"name": "protect-raw-sources",
"type": "command",
"command": "node \"$GEMINI_PROJECT_DIR/.gemini/hooks/protect-raw-sources.cjs\"",
"timeout": 5000,
"description": "Prevent the agent from mutating raw/ sources."
}
]
}
],
"AfterTool": [
{
"matcher": "write_file|replace|delete_file",
"hooks": [
{
"name": "wiki-write-reminder",
"type": "command",
"command": "node \"$GEMINI_PROJECT_DIR/.gemini/hooks/wiki-write-reminder.cjs\"",
"timeout": 5000,
"description": "Remind the agent to keep wiki/index.md and wiki/log.md in sync."
}
]
}
]
}
}