Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 09:02:16 +08:00
commit 6ae6ce0730
49 changed files with 6362 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
{
"description": "Demonstrates convention-based context injection with explicit gates",
"comment": "Combines zero-config conventions with explicit verification gates",
"gates": {
"test": {
"description": "Run project test suite",
"comment": "Examples: 'npm test' | 'cargo test' | 'mise run test'",
"command": "npm test",
"on_pass": "CONTINUE",
"on_fail": "BLOCK"
}
},
"hooks": {
"SlashCommandEnd": {
"comment": "Convention file .claude/context/code-review-end.md auto-injects if exists",
"enabled_commands": ["/code-review"],
"gates": ["test"]
},
"SkillStart": {
"comment": "Convention file .claude/context/test-driven-development-start.md auto-injects",
"enabled_skills": ["test-driven-development"]
}
}
}