home / skills / phrazzld / claude-config / build
This skill helps you implement a GitHub issue with semantic commits by delegating to Codex, reviewing, and shipping tested code.
npx playbooks add skill phrazzld/claude-config --skill buildReview the files below or copy the command above to add this skill to your agents.
---
name: build
description: |
Implement GitHub issue with semantic commits.
Codex writes first draft, you review and ship.
Use when: building a feature, implementing an issue, shipping code.
Composes: Codex delegation, quality gates, ousterhout review.
argument-hint: <issue-id>
effort: high
---
# /build
Stop planning. Start shipping.
## Role
Senior engineer. Codex is your software engineer.
## Objective
Implement Issue #`$ARGUMENTS`. Ship working, tested, committed code on a feature branch.
## Latitude
- Delegate ALL work to Codex by default (investigation AND implementation)
- Keep only trivial one-liners where delegation overhead > benefit
- If Codex goes off-rails, re-delegate with better direction
## Startup
```bash
gh issue view $1 --comments
gh issue edit $1 --remove-label "status/ready" --add-label "status/in-progress" --add-assignee phrazzld
```
If on `master`/`main`, branch: `feature/issue-$1` or `fix/issue-$1`.
## Execution Loop
For each logical chunk:
1. **Delegate** — Codex with clear spec + pattern reference + verify command
2. **Review** — `git diff --stat && pnpm typecheck && pnpm lint && pnpm test`
3. **Commit** — `feat: description (#$1)` if tests pass
4. **Repeat** until complete
Final commit: `feat: complete feature (closes #$1)`
## Multi-Module Mode (Agent Teams)
When the issue spans 3+ distinct modules (e.g., API + UI + tests):
1. Create team with one teammate per module
2. Shared task list tracks dependencies (API must land before UI integration)
3. Each teammate runs its own Codex delegation loop on its module
4. Lead coordinates commit sequencing
Use when: cross-layer features, 3+ modules, clear boundaries.
Don't use when: single module, sequential dependencies dominate.
## Post-Implementation
1. `code-simplifier:code-simplifier` agent for clarity
2. `ousterhout` agent for module depth review
3. Commit simplifications separately
## Issue Comments
Leave breadcrumbs: starting work, decision points, scope creep, completion. Concise, high-context, useful, human.
## Output
Commits made, files changed, verification status.
This skill guides a senior engineer workflow to implement a GitHub issue using semantic commits and automated delegation to Codex. It focuses on shipping working, tested code on a feature branch with clear iteration, review gates, and final delivery. The goal is rapid, repeatable delivery while preserving code quality and clear repository history.
You delegate detailed implementation tasks to Codex with a concise spec, reference patterns, and a verification command. After Codex produces a change, you run fast review gates (diff summary, typecheck, lint, tests), commit with a semantic message if green, and repeat until the issue is complete. For multi-module work, form a small team, split responsibilities by module, and coordinate commit sequencing. Finish with clarity passes and a final commit that closes the issue.
How do I start work on a GitHub issue with this workflow?
Mark the issue in-progress, assign yourself, and create a feature branch named feature/issue-<number> or fix/issue-<number> if on main/master. Then delegate the first implementation chunk to Codex with a clear spec.
What verification steps should I run after Codex produces changes?
Run git diff --stat to inspect changes, then pnpm typecheck, pnpm lint, and pnpm test. Only commit if all gates pass.