incremental-delivery
Incremental delivery discipline: repeat the implement → test → verify → commit cycle in thin slices, keeping the system usable after each increment. Use…
от uisee-ai★ 36 звёзд на GitHub
Установить incremental-delivery в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Incremental Delivery
Build in thin slices: implement, test, verify, and commit one slice, then expand. Do not implement the entire feature in one go. In ZaoFu, this is more than good practice: it is the input format for the integration machinery. candidate cherry-picks patches from your task branch by patch-id (idempotent cherry-picking), so commit granularity directly determines integration quality and rework cost.
When to Use
- Any multi-file change, feature built from decomposed tasks, or refactoring of existing code;
- Whenever you feel tempted to write more than ~100 lines before testing.
- Not applicable: minimal changes to a single function in a single file.
Pairing with the kernel Contract
| Your action | Machinery that consumes it | Consequence of violation |
|---|---|---|
| One concern per commit | candidate patch-id idempotent integration (FIX-10) | A conflict in a mixed-purpose commit rolls back the whole bundle |
| Modify only allowed_paths | Contract scope gate | Out-of-scope files → task.contract.invalid |
| Work on the task branch in your own worktree | task_ref minting + attempt binding | Touching the main checkout = corrupting integration truth |
| Keep every increment green (typecheck + relevant tests) | combined-tree quality gate | A failing increment enters candidate → integration.failed freezes the entire pdd |
| Add rework fixes without rewriting history | Same-lane, same-worktree continuation semantics | Starting over with git reset → broken attempt continuity; completion judged stale |
Incremental Loop
Implement the smallest complete slice → Test → Verify (tests/build passed) → Commit → Next slice
(Continue from existing progress; do not restart)
Slicing Strategies
- Vertical slicing (default): each slice completes one end-to-end path through the stack (creating a task = one DB + API + UI path), and every slice is demonstrable—see vertical-slicing for task-level vertical slicing; this skill governs execution within a task;
- Contract first: when frontend and backend work in parallel, slice 0 defines the contract (types/interfaces), 1a implements the backend against the contract, 1b implements the frontend against mocks, and slice 2 integrates them—shared contract changes must be a separate, upfront slice: per-lane verify cannot detect type mismatches across lanes; they surface only during candidate integration (concrete reference: r4
PresentationPath.rendering); - Risk first: tackle the most uncertain slice first (prove WebSocket connectivity before building on it)—if slice 1 fails, you have not yet invested in slices 2-3.
Implementation Rules
Rule 0: Simplicity First
Before writing, ask: "What is the simplest approach that works?" Afterward, review: could this take fewer lines? Does the complexity justify the abstraction? Am I building for hypothetical future requirements? Three similar lines are better than premature abstraction; do not generalize before the third use case appears. Write the straightforward, obviously correct version first; optimize only after tests establish correctness. The first slice must be wired in (with a real caller)—a class nobody imports is not a delivery; it is library-without-callers.
Rule 0.5: Scope Discipline
Touch only what the task requires. Do not clean up nearby code, refactor imports in files you are not changing, delete comments you do not fully understand, add seemingly useful features outside the specification, or modernize syntax in read-only files. If you notice worthwhile changes outside scope, record them without making them, and include them in the completion report's noticed list. Reject the task when the root cause is outside scope (dev.failed + out-of-scope); feed the rejection reason back into replan as counterevidence to the attribution (FIX-11).
Rules 1-5
One thing at a time: adding a component / refactoring existing code / changing build configuration = three commits; do not mix them; Always compilable: leave no broken intermediate state between slices; Flag unfinished features: when merging something that is not ready for users, put it behind a feature flag (r4's WebGPU switch is an example)—add the flag now, not "later"; Safe defaults: new behavior is disabled by default and requires opt-in; Reversible: each slice can be reverted independently; put deletion and replacement in separate slices; include rollback with migrations.
Common Excuses
| Excuse | Reality |
|---|---|
| "Test everything at the end" | Bugs compound: a bug in slice 1 makes slices 2-5 wrong |
| "Doing it all at once is faster" | It feels fast until you cannot find the failing line among 500 lines |
| "Too small for its own commit" | Small commits cost nothing; large commits hide bugs and make rollbacks painful |
| "Add the flag later" | Unfinished work should not be user-visible; add it now |
| "Include this refactor while we're here" | Mixing refacto |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл incremental-delivery?
Incremental delivery discipline: repeat the implement → test → verify → commit cycle in thin slices, keeping the system usable after each increment. Use writer within lane/worktree semantics, mechanically paired with candidate patch-id idempotent integration, attempt binding, and the allowed_paths scope gate.
Как установить скилл incremental-delivery?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл incremental-delivery запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…