Skip to content
Back to skills

Build

ASecurity

Use after tdd has written RED tests and the contract is in team-context.md. Implements the minimum code to turn RED tests GREEN. Runs in a worktree with single-writer invariant.

  • 5 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 3, 2026
ai-agentsrustgogit

Works with

  • cli

Security analysis

A100/100

Scanned September 30, 2026

npx -y skills add mickeyyaya/evolve-loop --skill build --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Build?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Build
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mickeyyaya-build/badge)](https://www.skillsdirectory.com/skills/mickeyyaya-build)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: build
description: Use after tdd has written RED tests and the contract is in team-context.md. Implements the minimum code to turn RED tests GREEN. Runs in a worktree with single-writer invariant.
---

# build

> Sprint 3 composable skill. Wraps the Builder phase. Builder is the **only** fan-out-incompatible phase — single worktree, single set of mutations.

## When to invoke

- After `tdd` has produced RED tests
- Cycle is in `tdd` or `discover` phase per cycle-state

## When NOT to invoke

- RED tests don't exist (TDD must run first)
- Cycle goal is research-only or planning-only

## Workflow

| Step | Action | Exit criteria |
|---|---|---|
| 1 | Read TDD contract from team-context.md | Contract loaded |
| 2 | Implement minimum code to turn RED → GREEN | Tests pass locally |
| 3 | Run regression suite (`legacy/scripts/utility/run-all-regression-tests.sh`) | No new regressions |
| 4 | Write `<workspace>/build-report.md` | Report present + fresh + token-bound |

**Comments:** code written in this phase carries none; names, types and test names say it, and the build floor counts an added comment ([code-comments convention](../../docs/conventions/code-comments.md)).

## Single-writer invariant

Builder runs in a dedicated worktree. Concurrent builders are STRUCTURALLY blocked because:
- The trust kernel binds the cycle via SHA256 of `git diff HEAD`
- Two concurrent writers would invalidate each other's tree-state SHA
- `phase-gate-precondition.sh` allows only one `active_agent` per cycle

This is **why Builder cannot fan-out** even though Scout and Auditor can.

<!-- GENERATED:phase-facts BEGIN — do not edit; run `evolve skills generate`. Sources: docs/architecture/phase-registry.json · go/internal/phasecontract · .evolve/profiles/builder.json -->
## Phase facts

| Fact | Value |
|---|---|
| Phase | `build` (build archetype, mandatory) |
| Persona | `agents/evolve-builder.md` |
| Profile | `.evolve/profiles/builder.json` — CLI `codex-tmux`, tier `balanced`, single-writer |
| Inputs | `scout-report.md` · `triage-report.md` |
| Artifact | `build-report.md` (cycle workspace) |

## Output contract

`build-report.md` must declare:

- `## Changes` (also accepted: `## Files Changed`, `## Files Modified`)

<!-- GENERATED:phase-facts END -->

## Composition

Invoked by:
- `/evo:build`
- `loop` macro after `/evo:tdd`

## Reference

- `agents/evolve-builder.md`
- `.evolve/profiles/builder.json`
- `skills/loop/phase3-build.md` (legacy detailed workflow)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.