verify-before-commit
Installation
SKILL.md
Skill: verify-before-commit
WHAT
Purpose và context
- Purpose: gate every commit — typecheck, lint, test, smoke trước commit; sau commit promote draft lên wiki và đóng vòng đời task.
- Trigger (when to use): After any impl task, before
git commit. - Non-goals: không viết tính năng mới, không bỏ qua bước nào vì "thay đổi nhỏ", không tự đổi state-machine task ngoài lệnh
code-logger.pyđã khai.
Mental model
diff → typecheck → lint → test → qc-regression → task_lifecycle gate → smoke → commit (why) → promote draft (+ ## Origin) → log + index → task state=done.