24 lines
632 B
JSON
24 lines
632 B
JSON
{
|
||
"permissions": {
|
||
"allow": [],
|
||
"deny": [
|
||
"git push --force",
|
||
"git reset --hard",
|
||
"rm -rf"
|
||
]
|
||
},
|
||
"hooks": {
|
||
"pre-commit": {
|
||
"description": "Git 提交前确保三仓同步,遵循 batch-git-ops 技能流程",
|
||
"skill": "batch-git-ops"
|
||
},
|
||
"pre-code-change": {
|
||
"description": "大量代码修改前(>50行或>3文件)先与用户确认设计思路",
|
||
"condition": "large code modification"
|
||
},
|
||
"post-file-create": {
|
||
"description": "创建新文件后提醒:不要生成 .meta 文件",
|
||
"condition": "new file created in Assets/"
|
||
}
|
||
}
|
||
} |