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.
npx agentmods add skills/guillemroca/agent-skills-android/incremental-implementationnpx skills add GuillemRoca/agent-skills-android --skill incremental-implementationgit clone --depth 1 https://github.com/GuillemRoca/agent-skills-androidWrote 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.
[](https://agentmods.dev/skills/guillemroca/agent-skills-android/incremental-implementation)<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>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.
| Model | Per session | Once 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 |
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.
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
- 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
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.
- 4d ago First seen · 159 lines · 39 tokens per session scan A 15d068e4d631
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.
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+.
swift-concurrency-6-2
Swift 6.2 Approachable Concurrency — single-threaded by default, @concurrent for explicit background offloading, isolated conformances for main actor types.
swiftui-patterns
SwiftUI architecture patterns, state management with @Observable, view composition, navigation, performance optimization, and modern iOS/macOS UI best practices.
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.
swift-actor-persistence
Thread-safe data persistence in Swift using actors — in-memory cache with file-backed storage, eliminating data races by design.
xhs-dm
小红书私信(DM)自动读取与回复,仅 Android(Nexior 手机端),经 Computer Use 无障碍直接操作小红书 App 的界面 —— 打开消息、读取未读私信、生成并(经用户确认后)发送回复。当用户提到:回小红书私信、小红书私信自动回复、小红书 DM、Xiaohongshu/RED 私信、帮我看/回小红书消息、回复主动私信来的人时使用。写操作(发送)一律先 dry-run 并经用户明确同意;受严格的安全红线与每日条数上限约束。.