# Mt build

> Mt build is an open-source agent skill for developer tools. Builds a planned feature slice by slice with red-green-refactor and tracked commits. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/switch-dimension/molten-loop/tree/main/skills/mt-build
- **Repository:** https://github.com/switch-dimension/molten-loop
- **GitHub stars:** 74
- **License:** MIT
- **Skill name:** mt-build
- **Collection:** https://github.com/switch-dimension/molten-loop
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill guides an agent through implementing an approved implementation plan one small task at a time. Each task follows a test-first loop: write a failing test, make it pass with minimal code, refactor while green, run the task's verify step, then save progress and commit. It sets up a feature branch before the first task, and it can keep the task status in sync with an issue tracker or in the plan file.

The skill enforces several working rules: it never builds on the default branch, it leaves unrelated problems to be recorded rather than fixed, and it stops the line when a test fails unexpectedly instead of skipping or weakening it. It also covers optional parallel work using one git worktree per task, with merges back into the feature branch and checkpoints between phases.

It expects an approved plan from the planning step and the spec it references, plus a project config that defines the task source. Work runs through the agent's shell and git, and the project's own test, lint and build commands.

## When your agent uses it

> Molten Loop — Agent Development Loop step 4. Implements an approved plan one slice at a time with red-green-refactor on a feature branch, committing each green task and updating the task source (tracker or plan). Use to build, implement or start coding a planned feature. Not without a plan, or for spikes (use mt-prototype).

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/switch-dimension/molten-loop/tree/HEAD/skills/mt-build)
- [License: MIT](https://github.com/switch-dimension/molten-loop/tree/HEAD/skills/mt-build)

## Features

- **Red-green-refactor loop:** Guides each task through a failing test, minimal implementation, then refactoring with tests green.
- **Feature branch setup:** Creates a feature branch named after the slug and issue key before the first task starts.
- **Task status tracking:** Starts and finishes tracker issues or ticks plan checkboxes as tasks progress.
- **Small task commits:** Commits each green task separately with messages that reference the issue key when present.
- **Parallel worktree support:** Optionally runs tasks from the same wave in separate git worktrees and merges them back.
- **Phase checkpoints:** Runs the full suite and summarises progress at the end of each phase before continuing.

## Good for

- Implement the next approved task from my feature plan
- Build the checkout feature step by step with tests first
- Work through the planned tasks for this wave on a feature branch
- Fix this bug by writing a reproducing test before changing code

## Install

### Claude Code

This skill ships in the `molten-loop` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add switch-dimension/molten-loop
/plugin install molten-loop@molten-loop
```

Or copy only this skill to `~/.claude/skills/mt-build`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/switch-dimension/molten-loop.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/mt-build &&
cp -R "$tmp/skills/mt-build" ~/.claude/skills/mt-build &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/mt-build` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/mt-build` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/switch-dimension/molten-loop.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/mt-build &&
cp -R "$tmp/skills/mt-build" ~/.agents/skills/mt-build &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/mt-build` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/mt-build` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/switch-dimension/molten-loop.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/mt-build &&
cp -R "$tmp/skills/mt-build" ~/.cursor/skills/mt-build &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/mt-build` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/switch-dimension/molten-loop.git --path skills/mt-build
```

Or copy the folder to `~/.gemini/skills/mt-build` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/mt-build`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/switch-dimension/molten-loop.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/mt-build &&
cp -R "$tmp/skills/mt-build" ~/.copilot/skills/mt-build &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/mt-build` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/switch-dimension/molten-loop.git
```

Then copy `molten-loop/skills/mt-build` into your agent's skills folder as `mt-build`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Mt build need before it runs?

It needs an approved plan from the planning step with its linked spec. For a tiny obvious change, a one-line plan in chat is enough. Without a plan it recommends the planning skill first.

### Does Mt build create commits automatically?

Only if the user has asked for commits in that project. Otherwise it leaves changes staged and says so.

### Can Mt build work on several tasks at once?

Yes, optionally. It can use one git worktree per task within a wave and merge each back into the feature branch once green.

### Will Mt build build directly on the main branch?

No. If the current branch is the default branch, it creates a feature branch first and tells the user its name.

### How do I install Mt build in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/mt-build to use it in all your projects, or to .claude/skills/mt-build in one project. Or install the molten-loop plugin, which includes it: /plugin marketplace add switch-dimension/molten-loop, then /plugin install molten-loop@molten-loop.

### Does Mt build run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Mt build?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Mt build?

The closest alternatives to Mt build are TDD, Mt plan, Executing plans, TDD loop and Blueprint.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [TDD](https://ai-powered.com/skills/tdd): TDD is an open-source agent skill for developer tools.
- [Mt plan](https://ai-powered.com/skills/mt-plan): Mt plan is an open-source agent skill for developer tools.
- [Executing plans](https://ai-powered.com/skills/executing-plans): Executing plans is an open-source agent skill for developer tools.
- [TDD loop](https://ai-powered.com/skills/tdd-loop): TDD loop is an open-source agent skill for developer tools.
- [Blueprint](https://ai-powered.com/skills/blueprint): Blueprint is an open-source agent skill for developer tools.
- [Spec coding](https://ai-powered.com/skills/spec-coding): Spec coding is an open-source agent skill for developer tools.
- [Structured autonomy plan](https://ai-powered.com/skills/structured-autonomy-plan): Structured autonomy plan is an open-source agent skill for developer tools.
- [Develop](https://ai-powered.com/skills/develop): Develop is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/mt-build
