Agent skill
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.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/incremental-development
SKILL.md
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.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?