Skip to content
Agentmart
Submit a tool

build-phase

Implement phases from the active feature's technical plan.

Skill by aitechnerd

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/aitechnerd-build-phase

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Implement phases from the active feature's technical plan. Single phase: /build-phase 1 Autonomous mode: /build-phase all — builds everything, validates, fixes, ships. In autonomous mode the AI team handles issues internally, only escalating truly blocked problems to you.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/build-phase

What's inside

Skill name
build-phase
Description
Implement phases from the active feature's technical plan. Single phase: /build-phase 1 Autonomous mode: /build-phase all — builds everything, validates, fixes, ships. In autonomous mode the AI team handles issues internally, only escalating truly blocked problems to you.
License
MIT
Instructions
259 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • allowed-tools: must be a space-separated string

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Build Phase

## Input
Phase: $ARGUMENTS

## Pre-Check

1. Read `.ai-team/.active` for active feature.
   No active feature -> tell user to run `/scope` or `/switch`.
2. Let FEATURE_DIR = `.ai-team/{active_name}/`
3. Verify `$FEATURE_DIR/plan-approved.md` exists. If not -> approve plan first.
4. Read `$FEATURE_DIR/technical-plan.md` to identify all phases.
5. **Branch check.** Run `git branch --show-current`. If on `main` or `master`:
   > "You're on **{branch}**. Want me to create a feature branch before building?
   >
   > Suggested: `{active_name}` (e.g., `feature/patient-intake`)
   >
   > 1. Yes, create branch and switch
   > 2. No, build on current branch"

   Wait for user response. If yes, create and switch:
   ```bash
   git checkout -b {active_name}
   ```

---

## SINGLE PHASE MODE ($ARGUMENTS is a number or phase name)

### Implement
Spawn **software-engineer** (Opus) MODE 2:
> "Implement Phase $ARGUMENTS for feature {active_name}.
> Docs: $FEATURE_DIR. Follow the plan. Write tests alongside code.
> Mark phase COMPLETE in technical-plan.md when done."

### After Implementation
If more phases remain -> report progress, suggest next phase or `/build-phase all`.
If all phases COMPLETE -> **automatically** run the validation pipeline (Steps 2-7
from autonomous mode below). Do NOT ask the user — just run it. This is mandatory.

---

## AUTONOMOUS MODE ($ARGUMENTS is "all")

This is the full hands-off pipeline. The AI team builds, reviews, fixes, and
ships without user intervention. Only escalate if an issue can't be resolved
after 2 fix attempts.

### Step 1: Build All Phases

For each phase in order from the technical plan:

1. Spawn **software-engineer** (Opus) MODE 2:
   > "Implement Phase [N] for feature {active_name}.
   > Docs: $FEATURE_DIR. Follow the plan. Write tests alongside code.
   > Mark phase COMPLETE when done."

2. **Per-phase validation** — immediately after SE completes, run:
   ```bash
   # Stack test command from .claude/stack.md (e.g. cargo test, rspec, pytest)
   [stack_test_command]
   # Stack lint command (e.g. cargo clippy, rubocop, ruff)
   [stack_lint_command]
   ```
   If tests/lint fail:
   - SE fixes (up to 2 attempts per phase)
   - If still failing after 2 attempts -> STOP, report to user with details

3. **Auto-commit** after each successful phase:
   ```bash
   git add -A
   git commit -m "[{active_name}] Phase [N]: [phase title from plan]"
   ```

4. **Update progress** — mark the phase checkbox in technical-plan.md:
   `- [ ] Phase N: ...` → `- [x] Phase N: ...`
   This enables crash recovery: if interrupted, re-running `/build-phase all`
   skips phases already marked `[x]` and resumes from the first unchecked phase.

Report progress: "✅ Phase [N/total] complete. Committed. Moving to [next phase name]..."

### Step 2: Run Scanners + Triage

```bash
bash ~/.claude/scripts/run-scanners.sh "$FEATURE_DIR/scans"
```

Spawn **triage** (Haiku):
> "MODE: scan-triage. Read all reports in $FEATURE_DIR/scans/."
> "MODE: diff-triage. Summarize the git diff for this feature."

### Step 3: Code Review + DevSecOps (parallel where possible)

Run **code-reviewer**, **devsecops**, and optionally **Codex** in parallel:

Spawn **code-reviewer** (Sonnet):
> "Review feature {active_name}. Docs: $FEATURE_DIR.
> Triage summary: {paste triage output}.
> Save to $FEATURE_DIR/code-review.md."

**DevSecOps — CONDITIONAL** (runs in parallel with code review if needed):
Skip if triage RECOMMENDATION = CLEAN AND SECURITY_RELEVANT = NO.
Otherwise spawn **devsecops** (Sonnet) MODE 2:
> "Security scan for {active_name}. Triage: {scan-triage output}.
> Reports in $FEATURE_DIR/scans/. Save to $FEATURE_DIR/security-scan.md."

**Codex Code Review — CONDITIONAL** (runs in parallel with above):
Only if `.claude/project-context.md` contains `Codex:` with `enabled`.

```bash
codex review \
  --base $(git merge-base HEAD main || echo "main") \
  --full-auto \
  -o $FEATURE_DIR/codex-code-review.md
```

If `codex review` is not available or fails, fall back to:
```bash
git diff main...HEAD | codex exec \

From aitechnerd/ai-dev-team, MIT.

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Mar 26, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from aitechnerd

Cite this page

build-phase skill. Agent Mart. https://agentmart.dev/skills/aitechnerd-build-phase (last updated 2026-10-24)