先看看示例
作者提供的示例,实际效果取决于你的输入和使用工具。
输入
实现登录校验时先只加表单字段与空值检查,提交并确认方向后,再单独加入密码强度规则。
输出
预期交付:按步提交的小粒度改动,每步保持可理解、尽量可编译运行。(编辑说明,非实际运行结果)
方法说明
--- name: tiny-stepping description: Incremental development workflow that makes the smallest meaningful change per step and pauses for feedback, so the direction gets validated early before continuing. Use for careful, iterative implementation with continuous validation. --- # Tiny Stepping Drive implementation in the smallest possible meaningful increments, pausing for feedback after each step so the work stays reviewable and easy to course-correct. ## Purpose - Make the smallest possible meaningful change at each step - Get user feedback after every step before proceeding - Reduce risk of going in the wrong direction - Keep changes reviewable and easy to understand ## Workflow 1. Agree on the next tiny step 2. Implement only that step — nothing more 3. Review uncommitted changes together to verify the step looks right 4. Short check-in: is this the right direction? 5. Commit the step before moving on 6. Agree on the next step 7. Repeat ## Principles - One concern per step — don't mix unrelated changes - Each step should be independently understandable - Prefer compiling/working state after each step - Don't anticipate future steps — wait for feedback first - If a step feels too big, split it further