Build
Autonomous build loop — GPT plans, Claude+GPT debate, user approval gates implementation and verification.From its SKILL.md
npx -y skills add dr-code/tessera --skill buildAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
4.0 KB, as published. Nobody here has run it
/build — Autonomous Build Loop
Usage
/build <task description>
Description
Full pipeline: load context → GPT initial plan → Claude+GPT debate → user approval gate → implement → test → GPT code review → finalize. Uses tessera graph context when available.
Instructions
Phase 0: Load Context
- Read CLAUDE.md in the project root (skip silently if missing)
- Read docs/PROJECT_CONTEXT.md (skip silently if missing)
- If tessera MCP is active: call
graph_continue; ifneeds_scan=true, rungraph_scanfirst - Record the user's exact task as acceptance criteria
Phase 1: GPT Plans
Send the task and project context to Codex for an initial plan:
codex exec "You are a senior engineer. Create a detailed implementation plan for: <TASK>. Project context: <CONTEXT>. Output: (1) files to create or modify with rationale, (2) implementation approach per file, (3) correct ordering of steps, (4) edge cases to handle, (5) risks. Be specific — name actual files and functions."
Read and internalize GPT's plan. If tessera is active, use graph_retrieve with key terms from the plan to surface relevant existing code.
Phase 2: Claude Debates GPT's Plan
Claude critiques the plan: architecture fit, project conventions, edge cases, ordering problems. Then send critique to Codex:
codex exec "Plan revision for: <TASK>. Your original plan: <GPT_PLAN>. Claude critique: <CRITIQUE>. Output a revised plan that addresses each critique point. Keep what was correct, fix what was wrong."
Produce a final agreed plan from the debate output.
Phase 3: User Approval Gate
Present the final plan to the user via AskUserQuestion. Include:
- Task summary and acceptance criteria
- Files to create or modify
- Implementation approach
- Resolved debate points
- Open risks
Do NOT write any code until the user explicitly approves.
If tessera MCP is active and the user approves:
plan_save(
project_name = "<short project id>",
subtask_name = "<feature name>",
task = "<one sentence from acceptance criteria>",
plan_markdown = "<full plan from Phase 2>"
)
This registers the plan for tessera-verify compliance tracking.
Phase 4: Implement
Write code following the approved plan. Do not deviate from the plan without noting it.
When an architectural decision is made during implementation (choosing a pattern, adding a dependency, splitting a module):
graph_lock_decision(
summary = "<one sentence decision>",
scope = "file" | "module" | "project",
files = ["path/to/affected/file"]
)
Phase 5: Verify
- Run tests using the project's test command (check CLAUDE.md, package.json, or pyproject.toml for the right command)
- If tessera is active: call
graph_register_editfor each modified file usingfile::symbolnotation with a summary of changes - Fix any failing tests before proceeding
Phase 6: GPT Code Review
If tessera MCP is active, call graph_impact(changed_files=[...]) to determine blast radius before sending the diff. Include the impact map in the review prompt so GPT can flag cascading risks.
Get Codex's independent review of the diff:
git diff HEAD | codex exec - << 'EOF'
You are doing a code review. Task: <TASK>. Review the diff above for: bugs and logic errors, security vulnerabilities, missing error handling, edge cases not addressed. Format each issue as: [BUG|SECURITY|PERF|STYLE]: file:line — issue — suggested fix. End with VERDICT: approved OR needs_revision.
EOF
If the diff is large (>200 lines), send one file at a time. Fix any BUG or SECURITY issues found. Use judgment on PERF/STYLE.
Phase 7: Finalize
Present a summary:
- Requirements checklist: each acceptance criterion marked pass/fail
- Test results
- GPT review verdict and issues fixed
- Files modified