waterfall-development

使用阶段门强制执行严格的瀑布式开发工作流程。当 (1) features.yml 存在于项目根目录中,(2) 用户要求实现/开发/构建功能,(3) 用户明确请求瀑布流时使用。如果调用时缺少 features.yml,则创建 features.yml。

📖 中文导读:使用阶段门强制执行严格的瀑布式开发工作流程。当 (1) features.yml 存在于项目根目录中,(2) 用户要求实现/开发/构建功能,(3) 用户明确请求瀑布流时使用。如果调用时缺少 features.yml,则创建 features.yml。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: waterfall-development description: Enforces strict waterfall development workflow with phase gates. Use when (1) features.yml exists in project root, (2) user asks to implement/develop/build a feature, (3) user explicitly requests waterfall workflow. Creates features.yml if missing when invoked.

Waterfall Development

Strict phase gate enforcement for waterfall workflow. Requires the feature-file skill for artifact management.

Phases

Requirements → Design → Implementation → Testing → Complete

Activation

Condition Action
features.yml exists Activate, validate gates
User invokes skill, no features.yml Create features.yml via feature-file skill, then activate
No features.yml, not invoked Do not activate

Workflow

  1. Run ./scripts/validate-gates.py
  2. If errors: Print errors, STOP
  3. Identify target feature and current phase
  4. Block work that doesn't match current phase
  5. Before phase transitions: Re-validate target phase gates

Gates

See references/phase-gates.md for fix instructions.

Gate Transition Criteria
G1 → Design Feature has ≥1 requirement
G2 → Design All requirements have descriptions
G3 → Implementation decisions field exists
G4 → Testing All requirements In-Progress or Complete
G5 → Complete All requirements Complete + tested-by + all tests passing

Agent Usage

Use sub-agents for verification tasks that require codebase exploration:

Before Design phase: Verify requirements are complete by examining codebase and user request for implicit requirements.

Before Complete phase: Verify test coverage by checking all requirements have corresponding tests and tested-by references.

Error Handling

Gate failures print terse errors. No bypass mechanism.