incremental-implementation

incremental-implementation is a skill for Claude Code, Codex from GuillemRoca/agent-skills-android. It costs 39 tokens per session (1,290 once invoked), scanned A, original, MIT.

A development method for building Android features in small steps, with each step compiling, passing tests, and leaving the project usable. TDD means writing a failing test first, then the smallest code that makes it pass.

In plain words
What is it for?
Use it to split Android work into vertical slices, apply TDD, run Gradle tests after each increment, and use feature flags or rollback-friendly changes.
Why use it?
It avoids long periods with broken code and makes each part of a multi-file feature easier to check or undo.

Skill for Claude CodeCodex

Part of the agent-skills-android plugin — 29 skills, 7 commands, 3 agents, 1 hook shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/guillemroca/agent-skills-android/incremental-implementation
Any agent
npx skills add GuillemRoca/agent-skills-android --skill incremental-implementation
Clone the repo
git clone --depth 1 https://github.com/GuillemRoca/agent-skills-android

Made for: Claude Code, Codex.

Or install agent-skills-android, the plugin that ships this one along with the rest of its 29 skills, 7 commands, 3 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for incremental-implementation

README.md
[![agentmods](https://agentmods.dev/badge/skills/guillemroca/agent-skills-android/incremental-implementation.svg)](https://agentmods.dev/skills/guillemroca/agent-skills-android/incremental-implementation)
Your own site
<a href="https://agentmods.dev/skills/guillemroca/agent-skills-android/incremental-implementation"><img src="https://agentmods.dev/badge/skills/guillemroca/agent-skills-android/incremental-implementation.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,290 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00039 $0.01290
Opus 5 $0.00019 $0.00645
Sonnet 5 $0.00008 $0.00258
Haiku 4.5 $0.00004 $0.00129

Measured 4d ago against content hash 15d068e4d631, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

incremental-implementation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/incremental-implementation/SKILL.md · 159 lines

How it starts

The opening of the file, as written. The whole thing — 159 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

  1. Read the task's acceptance criteria from tasks/todo.md
  2. Identify the vertical slice — what observable behavior does this increment deliver?
  3. Gather existing examples — find similar patterns already in the codebase

Step 2: Implement with TDD

  1. 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    │
└─────────────────────────────────────────────┘
  1. Never skip the build check./gradlew assembleDebug must succeed after every increment

Step 3: Primary Slicing Strategies

  1. 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"
  2. 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)
  3. 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

Read the full file on GitHub · 159 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 159 lines · 39 tokens per session scan A 15d068e4d631

Subscribe to this mod's changes

incremental-implementation is a skill published in the GitHub repository GuillemRoca/agent-skills-android (2 stars, last pushed 2mo ago), licensed MIT. It adds 39 tokens to every session and 1,290 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

foundation-models-on-device

Apple FoundationModels framework for on-device LLM — text generation, guided generation with @Generable, tool calling, and snapshot streaming in iOS 26+.

x-cmd/skill · 38 tokens

swift-concurrency-6-2

Swift 6.2 Approachable Concurrency — single-threaded by default, @concurrent for explicit background offloading, isolated conformances for main actor types.

x-cmd/skill · 41 tokens

swiftui-patterns

SwiftUI architecture patterns, state management with @Observable, view composition, navigation, performance optimization, and modern iOS/macOS UI best practices.

x-cmd/skill · 34 tokens

swift-protocol-di-testing

Protocol-based dependency injection for testable Swift code — mock file system, network, and external APIs using focused protocols and Swift Testing.

x-cmd/skill · 32 tokens

swift-actor-persistence

Thread-safe data persistence in Swift using actors — in-memory cache with file-backed storage, eliminating data races by design.

x-cmd/skill · 29 tokens

xhs-dm

小红书私信(DM)自动读取与回复,仅 Android(Nexior 手机端),经 Computer Use 无障碍直接操作小红书 App 的界面 —— 打开消息、读取未读私信、生成并(经用户确认后)发送回复。当用户提到:回小红书私信、小红书私信自动回复、小红书 DM、Xiaohongshu/RED 私信、帮我看/回小红书消息、回复主动私信来的人时使用。写操作(发送)一律先 dry-run 并经用户明确同意;受严格的安全红线与每日条数上限约束。.

AceDataCloud/Skills · 147 tokens