16 lines
464 B
Markdown
16 lines
464 B
Markdown
|
|
---
|
|||
|
|
event: pre-commit
|
|||
|
|
condition: "git commit operation"
|
|||
|
|
action: run_skill
|
|||
|
|
skill: batch-git-ops
|
|||
|
|
protocol: ../protocols/git-safety.md
|
|||
|
|
description: Git 提交前确保三仓同步,遵循 batch-git-ops 技能流程
|
|||
|
|
version: "1.0"
|
|||
|
|
updated: "2026-05-08"
|
|||
|
|
---
|
|||
|
|
|
|||
|
|
> 完整规则定义见 [../protocols/git-safety.md](../protocols/git-safety.md)
|
|||
|
|
|
|||
|
|
触发时:读取 `batch-git-ops` 技能,检查三仓状态,生成 commit message,展示变更摘要并获得确认。
|
|||
|
|
|