incremental-development
Guidelines for incremental development practices. Claude should use this skill when writing multiple similar files (tests, classes, configurations) to ensure each piece is verified before moving to the next.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Incremental Development Guidelines
When creating multiple similar files or implementing multiple similar features, follow these guidelines:
One at a Time
Complete and verify ONE item before starting the next:
- Write the first file
- Update any dependencies (build.gradle, package.json, etc.)
- Verify it compiles
- Verify it runs/passes
- Only then start the second file
Why This Matters
- Catches errors early before they're duplicated
- Avoids propagating the same mistake across multiple files
- Faster debugging - you know exactly which change caused a problem
- Each verified step builds confidence for the next
Examples
Writing Multiple Tests
BAD:
Write TestA.java
Write TestB.java
Write TestC.java
Update build.gradle
Try to compile - find errors in all three
GOOD:
Write TestA.java
Update build.gradle with test dependencies
Compile TestA
Run TestA - verify it passes
Write TestB.java
Compile and run TestB
Write TestC.java
Compile and run TestC
Writing Multiple Configuration Classes
BAD:
Write ConfigA.java
Write ConfigB.java
Compile - both have the same import error
GOOD:
Write ConfigA.java
Compile - works
Write ConfigB.java
Compile - works
When to Apply
Apply incremental development when:
- Writing multiple test classes
- Creating multiple similar configuration classes
- Implementing multiple similar features
- Any task where files follow a similar pattern
Do NOT batch similar work if each piece requires verification.
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-03-11
- 索引更新时间
- 2026-03-11
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!