删除hook,框架改动

This commit is contained in:
2026-08-19 08:14:48 +08:00
parent 96971f3072
commit 2ce936e7ec
51 changed files with 20002 additions and 4793 deletions
-43
View File
@@ -1,43 +0,0 @@
{
"hooks": {
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "rm -rf \"$CLAUDE_PROJECT_DIR/.claude/.spec-injected\""
}
]
}
],
"PostCompact": [
{
"hooks": [
{
"type": "command",
"command": "rm -rf \"$CLAUDE_PROJECT_DIR/.claude/.spec-injected\""
}
]
}
],
"PreToolUse": [
{
"matcher": "Edit|Write|MultiEdit",
"hooks": [
{
"type": "command",
"command": "node \"$CLAUDE_PROJECT_DIR/.claude/hooks/check-redlines.js\"",
"timeout": 10,
"statusMessage": "校验机械红线…"
},
{
"type": "command",
"command": "node \"$CLAUDE_PROJECT_DIR/.claude/hooks/remind-docs.js\"",
"timeout": 15,
"statusMessage": "注入/校验开发规范…"
}
]
}
]
}
}