incremental-implementation
Skill2 starsChanged 40 days agoMITView on GitHub
Use when building features incrementally. Each increment leaves the system in a working, testable state. Covers vertical slicing, feature flags, and rollback-friendly development for Android.
77 other projects use a version of this.
Adopted by
Most recently taken up by
- thistleknot/skillstheir own version, first seen Nov 8, 2026
- ishandutta2007/Awesome-Agent-Skillstheir own version, first seen Nov 8, 2026
- MMACABRE/SKILLStheir own version, first seen Nov 8, 2026
- anotherben/claude-harnesstheir own version, first seen Nov 8, 2026
- celestialdust/achilles-skillstheir own version, first seen Nov 1, 2026
- steven123397/nexuskit-skillstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use review-diff, minimalist-ui and 3 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
thunderkdsSkillreview-diff
Generate a Markdown review file with C4 architecture diagrams and code walkthrough for the current git changes
Also in 3 projects that use this
AnasX7Skillminimalist-ui
Clean editorial-style interfaces. Warm monochrome palette, typographic contrast, flat bento grids, muted pastels. No gradients, no heavy shadows.
Also in 3 projects that use this
delphi-aiSkillanimate
Animation patterns and best practices for Next.js/React applications. Use this skill when implementing animations, transitions, hover effects, page transitions, modals, or any motion in React components. Based on Emil Kowalski's "Animations on the Web" course.
Also in 3 projects that use this
VercelSkillweb-design-guidelines
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
Also in 6 projects that use this
OpenAISkillverification-before-completion
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
Also in 5 projects that use this
Other versions77 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 77
- addyosmani/agent-skills★ 114ksame name
- ollaya-dev/ollaya★ 1.4ksame name
- shashankswe2020-ux/whoop-mcp★ 174same name
- vinvcn/addyosmani-agent-skills-zh★ 46same name
- jmxt3/gitscape.ai★ 33same name
- sampleXbro/agentsmesh★ 27same name
- jaskirat1616/grok-skills★ 22same name
- ishandutta2007/Awesome-Agent-Skills★ 21same name
- huytd/skills★ 19same name
- robisson/build-like-amazon-agent-skills★ 16same name
67 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository31 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- android-accessibilitySkill
- android-architectureSkill
- android-background-workSkill
- android-data-persistenceSkill
- android-device-testingSkill
- android-e2e-verificationSkill
- android-ui-engineeringSkill
- api-and-interface-designSkill
- ci-cd-and-automationSkill
- code-review-and-qualitySkill
- code-simplificationSkill
- constraint-driven-developmentSkill
- context-engineeringSkill
- debugging-and-error-recoverySkill
- deprecation-and-migrationSkill
- documentation-and-adrsSkill
- doubt-driven-developmentSkill
- git-workflow-and-versioningSkill
- idea-refineSkill
- interview-meSkill
- observability-and-instrumentationSkill
- performance-optimizationSkill
- planning-and-task-breakdownSkill
- security-and-hardeningSkill
- shipping-and-launchSkill
- source-driven-developmentSkill
- spec-driven-developmentSkill
- test-driven-developmentSkill
- using-agent-skillsSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 72 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 64
If the risk materializes, you've spent minimal effort
- Distinctive: line 95
Test both paths (flag on and flag off)
- Distinctive: line 100
No commented-out code as "TODO" placeholders
- Very specific: line 101
No unimplemented interfaces throwing NotImplementedError (unless behind a feature flag)
- Distinctive: line 102
No broken imports or missing dependencies
- Distinctive: line 146
No feature flag for partially-complete user-facing features
- Distinctive: line 148
No verification step between increments
“Common” is measured: kept by at least 6 in 10 of the 72 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Incremental Implementation
Overview
"Each increment should leave the system in a working, testable state." Build features in small, verifiable steps — each one compiles, passes tests, and can be committed. Never leave the codebase in a broken state between increments.
When to Use
- Implementing any feature from a task breakdown (follows
planning-and-task-breakdown) - Building any change that spans more than one file
- Any time you're tempted to "get it all working, then commit"
Skip when: A true single-file, single-function change.
Core Process
Step 1: Review the Task
- Read the task's acceptance criteria from
tasks/todo.md - Identify the vertical slice — what observable behavior does this increment deliver?
- Gather existing examples — find similar patterns already in the codebase
Step 2: Implement with TDD
- For each increment, follow this cycle:
┌─────────────────────────────────────────────┐
│ 1. Review acceptance criteria │
│ 2. Read existing patterns in codebase │
│ 3. Write failing test (RED) │
│ 4. Write minimal code to pass (GREEN) │
│ 5. Run ./gradlew test │
│ 6. Run ./gradlew assembleDebug │
│ 7. Commit │
│ 8. Repeat for next acceptance criterion │
└─────────────────────────────────────────────┘- Never skip the build check —
./gradlew assembleDebugmust succeed after every increment
Step 3: Primary Slicing Strategies
- Vertical slice (preferred):
- End-to-end: Entity → DAO → Repository → UseCase → ViewModel → Screen
- Each slice delivers user-visible functionality
- Example: "User can view task list" before "User can add task"
- Contract-first:
- Define the interface first (Repository interface, API contract)
- Implement against the contract
- Useful for parallel development (one dev does UI, another does data layer)
- Risk-first:
- Build the most uncertain piece first
- If the risk materializes, you've spent minimal effort
- Example: "Can we integrate with the payment SDK?" before building the checkout UI
Step 4: Feature Flags
- Use feature flags for incomplete features:
// BuildConfig flag (compile-time)
// In build.gradle.kts:
// buildConfigField("Boolean", "FEATURE_TASK_SHARING", "false")
if (BuildConfig.FEATURE_TASK_SHARING) {
ShareButton(onShare = { viewModel.shareTask(task) })
}
// Firebase Remote Config (runtime)
@Composable
fun TaskListScreen(viewModel: TaskListViewModel = hiltViewModel()) {
val showSharing by viewModel.isFeatureEnabled("task_sharing")
.collectAsStateWithLifecycle(initialValue = false)
TaskListContent(
showShareButton = showSharing,
// ...
)
}- Feature flag rules:
- Flags have an owner and a removal date
- Dead flags are tech debt — remove after rollout
- Test both paths (flag on and flag off)
Step 5: Keep It Compilable
- The codebase must compile after every commit:
- No commented-out code as "TODO" placeholders
- No unimplemented interfaces throwing
NotImplementedError(unless behind a feature flag) - No broken imports or missing dependencies
- If you're stuck, revert to last green state:
# Stash current work git stash # Verify last commit is green ./gradlew test && ./gradlew assembleDebug # Try a different approach git stash pop
Step 6: APK Analysis Checkpoints
- Periodically check APK size:
# Build release APK ./gradlew assembleRelease # Analyze with APK Analyzer (Android Studio) # Or from command line: bundletool build-apks --bundle=app.aab --output=app.apks - Watch for size regressions — new dependencies, unoptimized resources, missing ProGuard rules.
Common Rationalizations
| Shortcut | Why It Fails |
| "I'll commit when it all works" | Large commits are unreviable, unrevertable, and hide bugs. |
| "The build is temporarily broken, I'll fix it" | Temporary broken builds block the team and compound errors. |
| "Feature flags are overhead" | Shipping incomplete features to production is worse overhead. |
| "I need to refactor first" | Refactoring is a separate increment. Don't mix it with feature work. |
| "100 lines is too small for a commit" | 100-line commits are reviewable in minutes. 1000-line commits take hours. |
Red Flags
- 100+ lines of code without running tests
- Mixing unrelated changes in one increment
- Expanding scope mid-increment ("while I'm here...")
- Build broken between commits
- No feature flag for partially-complete user-facing features
- Premature abstractions before the second use case
- No verification step between increments
Verification
- Each increment has passing tests (
./gradlew test) - Each increment compiles (
./gradlew assembleDebug) - Each increment is committed separately
- Commits are small and focused (~100 lines)
- Incomplete features behind feature flags
- No mixed refactoring + feature changes in one increment
- Acceptance criteria from task checked off after each increment
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

