渐进式实现

原名:incremental-implementation

增量式交付变更。在实现涉及多个文件的特性或变更时使用。当需要一次性编写大量代码,或任务过于庞大难以一步完成时,也应采用此方式。

分类
开发提效
版本
v1.0.0
作者
周澜(@user96k7j0)
下载
2
收藏
0
发布
2026-08-08
更新
2026-08-14
TRACE 评分
3.6 / 5

内容概览

Build in thin vertical slices — implement one piece, test it, verify it, then expand. Avoid implementing an entire feature in one pass. Each increment should leave the system in a working, testable state. This is the execution discipline that makes large features manageable. - Implementing any multi-file change - Building a new feature from a task breakdown - Refactoring existing code - Any time you're tempted to write more than 100 lines before testing When NOT to use: Single-file, single-function changes where the scope is already minimal. For each slice: 1. Implement the smallest complete piece of functionality 2. Test — run the test suite (or write a test if none exists) 3. Verify — confirm the slice works as expected (tests pass, build succeeds, manual check) 4. Commit -- save your progress with a descriptive message (see git-workflow-and-versioning for atomic commit guidance) 5. Mo…

查看 SKILL 详情