项目文件夹

文件
wehub-resource-sync bb5c75ce05
Component Security Validation / Security Audit (push) Has been cancelled
Deploy to Cloudflare Pages / deploy (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:38:58 +08:00

1 行
1.4 KiB
JSON

{"content": "{\n \"description\": \"Planning gate that warns when editing production code without an approved specification. Checks for recent .spec.md files in the project directory (last 14 days). If no spec is found, shows a warning suggesting to create one first. Non-blocking (exit 0) — acts as a reminder, not a hard gate. Supports 16 programming languages. Part of the Spec-Driven Development (SDD) methodology where every implementation should be backed by an approved specification.\",\n \"supportingFiles\": [\n {\n \"source\": \"plan-gate.sh\",\n \"destination\": \".claude/hooks/plan-gate.sh\",\n \"executable\": true\n }\n ],\n \"hooks\": {\n \"PreToolUse\": [\n {\n \"matcher\": \"Edit\",\n \"hooks\": [\n {\n \"type\": \"command\",\n \"command\": \"bash \\\"$CLAUDE_PROJECT_DIR\\\"/.claude/hooks/plan-gate.sh\"\n }\n ]\n },\n {\n \"matcher\": \"MultiEdit\",\n \"hooks\": [\n {\n \"type\": \"command\",\n \"command\": \"bash \\\"$CLAUDE_PROJECT_DIR\\\"/.claude/hooks/plan-gate.sh\"\n }\n ]\n },\n {\n \"matcher\": \"Write\",\n \"hooks\": [\n {\n \"type\": \"command\",\n \"command\": \"bash \\\"$CLAUDE_PROJECT_DIR\\\"/.claude/hooks/plan-gate.sh\"\n }\n ]\n }\n ]\n }\n}\n"}