agentleFS
kwhornekwhorne/elyra-skills/skills/incremental-implementation/SKILL.md

incremental-implementation

Skill1 starsChanged 6 months agoMITView on GitHub

Implement a plan one small, verified, committed step at a time - never leave the codebase broken between steps. Use when implementing a planned feature, executing a task list, doing a large change that must stay reviewable, or when the user asks to build something step by step.

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

  • galandoSkill

    source-driven-development

    Version-aware, source-driven development — fetch official docs before writing framework code

    Also in 20 projects that use this

  • az9713Skill

    code-simplification

    Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend than it should be. Use when reviewing code that has accumulated unnecessary complexity.

    Also in 24 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

  • mycelium-hqSkill

    doubt-driven-development

    Use when correctness matters more than speed: about to commit non-trivial code, make an architectural call under uncertainty, work in unfamiliar code, or assert what the compiler cannot check (''this is safe'', ''thread-safe'', ''this scales'', ''matches the spec''). Strongest on high-stakes surfaces (production deploys, security-sensitive logic, data migrations, irreversible operations) and when the user asks to sanity-check, red-team, double-check, or get a second opinion on a decision.

    Also in 13 projects that use this

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 46 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
  1. Distinctive:

    Read the files you're about to change *and* one example of the pattern you're imitating (a similar controller, component, test).

    line 43
  2. Distinctive:

    Write/adjust the test for this task as part of the step, not afterwards

    line 48
  3. Distinctive:

    If the task turns out bigger than expected, stop and split it rather than pushing through

    line 49
  4. Distinctive:

    Run the task's "done when" check

    line 53
  5. Distinctive:

    Run the affected test suite (full suite if cheap)

    line 54
  6. Very specific:

    Run linter/formatter/type-checker if the project has them

    line 55
  7. Distinctive:

    After each task, state: what was done, how it was verified, what's next.

    line 63

“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

Incremental Implementation

Execute a plan as a series of small, verified, committed steps. The codebase is green after every step — there is no "it'll compile again on Thursday".

When to use

  • A task plan exists and it's time to build (see task-breakdown)
  • "Implement this feature" where the change spans multiple files/layers
  • Large refactors or migrations that must remain reviewable
  • Resuming work across sessions — each committed step is a safe resume point

Principles

  • One task per cycle. Pick the next task, finish it completely, commit, then look up.
  • Green to green. Tests pass before the step and after it. A red intermediate state never gets committed.
  • Smallest diff that completes the task. Resist drive-by fixes — note them, don't do them.
  • Follow the house style. Match existing patterns in the codebase, even when you'd personally do it differently.

The cycle

pick task → read context → implement → verify → commit → report → next

1. Pick

Take the next unblocked task from the plan. If no plan exists, make one first — even three bullet points.

2. Read context

Read the files you're about to change and one example of the pattern you're imitating (a similar controller, component, test).

3. Implement

  • Stay inside the task boundary; out-of-scope discoveries go to a deferred list, not into the diff
  • Write/adjust the test for this task as part of the step, not afterwards
  • If the task turns out bigger than expected, stop and split it rather than pushing through

4. Verify

  • Run the task's "done when" check
  • Run the affected test suite (full suite if cheap)
  • Run linter/formatter/type-checker if the project has them

5. Commit

One commit per task, message describing the outcome (see conventional-commits). The commit is the checkpoint — if step n+1 goes wrong, reset to it.

6. Report and continue

After each task, state: what was done, how it was verified, what's next. Then proceed — don't wait for permission unless the next step is risky or ambiguous.

When things go wrong

  • Verification fails → fix forward only if the cause is obvious; otherwise git checkout . back to green and re-approach
  • Plan turns out wrong → stop, amend the plan visibly, then continue. Don't silently improvise
  • Blocked on a question → pick another unblocked task; park the question, don't guess on irreversible decisions

Output format (per step)

### Task n: <name> ✅
**Changed:** files + one-line summary
**Verified:** <command/test that proves it>
**Deferred:** <out-of-scope findings, or "—">
**Next:** Task n+1: <name>

Anti-patterns

  • ❌ Implementing tasks 1–6 in one giant diff, then debugging the pile
  • ❌ "Tests are failing but it's because of the next step" — then the steps are wrong
  • ❌ Drive-by refactoring inside a feature task
  • ❌ Committing "WIP" — if it's not a completed task, it's not a commit
  • ❌ Pushing through a too-big task instead of splitting it
  • ❌ Silently deviating from the plan when reality disagrees with it

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.