# incremental implementation

> Enforce execution discipline by implementing features in small, tested, and verifiable vertical slices.

incremental implementation is a free AI agent skill on Agensi by 郭睿桓（Richard）, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [郭睿桓（Richard）](https://www.agensi.io/creators/richard-3)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Uses: 2
- Version: 1.0
- Last updated: 2026-10-18
- Security: scan passed (2026-10-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/incremental-implementation
- Tags: ai-agents, workflow-automation, git, ci-cd, tdd

## About this skill

Large pull requests are where bugs hide and reviews go to die. When an agent attempts to implement a complex feature in a single massive wall of code, it inevitably breaks existing functionality or misses edge cases. This skill enforces execution discipline by breaking down multi-file changes into thin, vertical slices that maintain a working system at every step.

### What it does
- **Vertical slicing** ensures each increment delivers end-to-end functionality across DB, API, and UI.
- **Scope discipline** prevents "while I'm here" refactoring and unnecessary changes to adjacent files.
- **Simplicity enforcement** rejects premature abstractions and complex patterns in favor of naive, correct code.
- **Continuous verification** mandates running build and test commands after every logical change.
- **Risk mitigation** prioritizes high-uncertainty components first to fail fast.

### How it works
1. **Slice** the task into the smallest complete pieces of functionality that leave the system in a testable state.
2. **Implement** the first slice using the simplest possible logic, avoiding any unrelated code cleanup.
3. **Verify** the change by running the repository's test suite, build commands, and type checkers.
4. **Commit** the verified slice with a descriptive message before moving to the next requirement.

### Frameworks & tools
This skill is language-agnostic and works with any stack including Node.js, Python, Java, and Go. It integrates with standard development workflows using Git, CI/CD pipelines, and feature flagging systems.

### Why this beats prompting it yourself
Generic prompts often lead agents to over-engineer solutions or produce massive diffs that are impossible to debug. This skill embeds strict rules against scope creep and premature abstraction, forcing the agent to prove correctness through code execution rather than just text generation.

### Use cases
- **Feature development** from a complex task breakdown or technical specification.
- **Refactoring** legacy codebases where changes must be isolated to prevent regression.
- **Parallel development** using contract-first slicing for backend and frontend sync.
- **Risk management** for proof-of-concept work involving unstable third-party APIs or WebSockets.

### Known limitations
Not recommended for single-file, single-function changes where the scope is already minimal. It requires an existing test or build command to provide meaningful verification.

## Requires

- tsc
- Node.js

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the incremental implementation skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill prevent the common issue of agents generating broken, over-engineered code?

This skill prevents 'hallucination debt' and massive, buggy pull requests by forcing your agent to build in small, verifiable chunks rather than attempting to write an entire feature in one go.

### Does my project need a specific testing framework for this skill to function?

Yes, it relies on your repository's existing verification tools; for the skill to work effectively, your project should have a functional test suite, build command, or type checker that the agent can trigger.

### What exactly is included in the 'incremental implementation' skill package?

You will receive the proprietary logic and behavioral constraints that define the incremental workflow, along with documentation on how to integrate it into your agent's system prompt or toolset.

### Are there any scenarios where I should disable this skill?

While it excels at complex features, it is not recommended for trivial, single-file changes or environments where no automated build/test feedback is available to verify the 'slices.'

### How are updates managed if the underlying agent logic is refined?

Updates are handled through the marketplace; you will be notified of any logic refinements or compatibility patches, which can be re-imported into your agent's configuration.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
