agentleFS
sohaibdevvsohaibdevv/AI-AGENT-SKILLS/skills/incremental-implementation/SKILL.md

incremental-implementation

Skill2 starsChanged 6 months agoMITView on GitHub

Ship working vertical slices instead of big-bang implementations

47 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use constraint-driven-development, deprecation-and-migration and 7 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.
  • vinvcnSkill

    constraint-driven-development

    把一个项目的质量线确立为书面契约,并阻止 agent 悄悄降低它。通过访谈确定用户在意哪些维度,当用户心里没有数字时提供合理的默认阈值,把一切记录进 CONSTRAINTS.md,并盯住 diff 中质量线被削弱的迹象——新增的 @ts-ignore 或 eslint-disable 抑制注释、被跳过或删除的测试、被剥掉的断言、未实现的 stub、被调低的阈值。当没有任何质量线被写下来时使用;当用户说 "set up constraints" 或 "define our standards" 时;当用户希望把他们在意的维度——无障碍性、Web 性能、覆盖率——设置成被强制执行的约束时;当 agent 为了变绿不断静默检查或跳过测试时;当你需要一个覆盖率或性能阈值却不知道该选什么数字时;或者当 agent 写下的代码超出任何人会读的体量时。

    Also in 4 projects that use this

  • az9713Skill

    deprecation-and-migration

    Manages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when deciding whether to maintain or sunset existing code.

    Also in 20 projects that use this

  • borhen68Skill

    observability-and-instrumentation

    Instruments code so production behavior is visible and diagnosable. Use when adding logging, metrics, tracing, or alerting. Use when shipping any feature that runs in production and you need evidence it works. Use when production issues are reported but you can't tell what happened from the available data.

    Also in 9 projects that use this

  • luischanciSkill

    interview-me

    Interactive interview to formalize a research idea into a structured specification with hypotheses and empirical strategy.

    Also in 12 projects that use this

  • thunderkdsSkill

    review-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

  • MicrosoftSkill

    api-design

    Guide for designing and documenting RESTful APIs. Use when asked to design an API, create endpoints, or document an API.

    Also in 5 projects that use this

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 46 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When you feel the urge to implement "the whole thing" before shipping any of it

    line 15
  2. Distinctive:

    When designing a refactor that touches many files

    line 16
  3. Distinctive:

    Ask: what is the smallest version of this feature that proves the core hypothesis or delivers the core value?

    line 21
  4. Distinctive:

    Write tests that cover the happy path of the walking skeleton.

    line 30
  5. Distinctive:

    Add real data, error handling, and edge cases incrementally.

    line 33
  6. Distinctive:

    Every commit should leave the system in a deployable state.

    line 36
  7. Distinctive:

    Don't accumulate increments.

    line 39

“Common” is measured: kept by at least 6 in 10 of the 46 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Overview

Incremental implementation is the practice of delivering working software in the smallest useful increments. Each increment is deployable, testable, and provides value or learning. The goal is to eliminate the "everything works or nothing works" state that characterizes big-bang development.

When to Use

  • For any feature that will take more than 1 day to implement
  • When you feel the urge to implement "the whole thing" before shipping any of it
  • When designing a refactor that touches many files

Process

Step 1: Identify the minimum slice

Ask: what is the smallest version of this feature that proves the core hypothesis or delivers the core value? That is your first increment.

Step 2: Draw the vertical slice

A vertical slice cuts through all layers: UI → API → service → database → response. Implement all layers for the minimal slice before moving to the next feature.

Step 3: Build the walking skeleton

Implement the thinnest possible end-to-end version: returns hardcoded data, has no error handling, no edge cases. Make it work end-to-end first.

Step 4: Add tests for the skeleton

Write tests that cover the happy path of the walking skeleton. These tests will protect you as you add flesh to the skeleton.

Step 5: Flesh out the implementation

Add real data, error handling, and edge cases incrementally. Run tests after each addition.

Step 6: Keep each increment deployable

Every commit should leave the system in a deployable state. Use feature flags if necessary to hide incomplete work from end users.

Step 7: Review and ship each increment

Don't accumulate increments. Ship each one. Unreleased code is risk, not progress.

Anti-Rationalizations

"I need to build the whole thing before I can test it" This is the wrong architecture. If you can't test a slice without the whole system, redesign so you can.

"It's faster to build it all at once" It is faster to write code all at once. It is not faster to debug, review, and deploy code all at once.

"Feature flags add complexity" Less complexity than a multi-week branch merge. Feature flags are incremental delivery infrastructure.

Red Flags

  • PRs with 50+ files changed
  • Branches open for more than 5 days
  • "I'll clean it up before I merge"
  • Tests written only after full implementation

Verification Requirements

  • Feature decomposed into vertical slices
  • Each slice is independently deployable
  • Walking skeleton implemented before adding edge cases
  • Tests exist before fleshing out implementation
  • No PR with more than 2 days of accumulated work

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.