← 返回 Skill 列表
extension
分类: 开发与工程API Key 暂未确认

plan-as-contract

生成一份可审查的、带有文件引用的实施计划,作为执行前的合同。用于风险操作、架构变更、迁移、多文件编辑等情况。

person作者: jakexiaohubgithub

plan-as-contract

Activation gate

Use if:

  • Multi-file changes, migrations, security/perf sensitive work, or irreversible ops.

Procedure

  1. If requirements are unclear or acceptance criteria are missing: ask 2–5 clarifying questions (scope, constraints, verify commands) before drafting the plan. Do not assume.
  2. Define objective + acceptance criteria (testable).
  3. Enumerate touched areas: BE/FE/DB/config/CI/CD/infra (or explicitly “NOT touched”).
  4. Identify dependencies (APIs, flags, secrets, external services).
  5. Provide ordered steps with file paths and validation commands.
  6. Stop: wait for user approval (unless user asked “just do it”).

Output

  • Plan (steps) + Risks + Verification checklist.