← ClaudeAtlas

gating-work-before-speedlisted

在 git 仓库里写任何实现代码之前必须先跑(包括 TDD 等方法论 skill 接管写法之前——本门禁决定能不能开工、在哪开工,然后交棒)。触发���任何加功能/实现/改代码/帮我做个X的请求,尤其是"直接开干、顺手提交、写完就提交"(打包授权正是需要拆开的东西)。动手前过五问(契约/数据源/改哪层/怎么证明/禁止事项),锁���正式仓库分支基线,commit→push→MR 逐级授权;改到共享代码立即暂停上报。/ MUST run BEFORE writing any implementation code in a git repository — this gate decides whether and where work may start, then hands off to methodology skills. Front-loads the five-question gate, battlefield lock (repo/branch/baseline), and the commit→push→MR authorization ladder so AI speed never outruns boundary confirmation.
zhaiby-web/ai-coworker-skills · ★ 0 · AI & Automation · score 76
Install: claude install-skill zhaiby-web/ai-coworker-skills
# Gating Work Before Speed ## Core Rule Stating the goal is not enough; constraints must be front-loaded as gates. AI optimizes for "getting the feature built" — not for delivery-path correctness, change-scope control, or declaring its own boundaries. It follows the easiest-to-verify path, and the easiest path silently becomes the delivery path unless a gate stops it. The human's half of AI development is the half AI structurally lacks: boundaries, ownership, and closure. Compressed: **先管边界,再管速度。** ## Five Questions Before Any Work Starts The implementer (AI or human) must answer all five before touching anything: 1. **用什么契约?** — which agreed interface/contract governs this work 2. **用什么数据源?** — which source of truth, and is it real or a stale copy/stub 3. **改哪一层?** — exactly which layer/module/repo will be modified 4. **怎么证明?** — what evidence will demonstrate completion 5. **不能做什么?** — the explicit forbidden list for this task Unanswered questions are open gates. Work does not start through an open gate; parallel work especially — sessions advancing under different unstated assumptions produce synchronized rework, not progress. ## Three Admission Gates | Gate | Rule | |---|---| | Contract | 没有统一接口契约,不允许进入并行实现。 | | Data source | 数据源和主数据没确认(真实源头 vs 快照/缓存/假数据),不允许验收。"测试通过"用的若是假数据,什么也没证明。 | | Invasiveness | 没有完成实现路径侵入性确认,不允许进入正式实现。 | ## Invasiveness Halt The moment an implementation path requires modifying business code, platform shell, or shared component libraries,