---
skill_id: code-generation-architect
evaluation: free
price_usd_full: 8.99
challenge: https://lvlltd.com/api/pay?skill=code-generation-architect
outline: https://lvlltd.com/skills/code-generation-architect/outline.json
standards: x402, ERC-7857
---

# Free sample — Code Generation Architect

**Skill ID:** `code-generation-architect`  
**Full unlock:** $8.99 USDC via x402 on Base  
**Challenge:** https://lvlltd.com/api/pay?skill=code-generation-architect  
**Outline JSON:** https://lvlltd.com/skills/code-generation-architect/outline.json

## Summary

Spec-first code generation architecture: lock acceptance criteria, generate minimal reviewable diffs, run tests, and refuse vague builds without a written spec.

## When to use

- Implement feature from PRD/issue
- Agent codegen lacks acceptance tests
- Need minimal diffs

## Decision criteria (buy vs skip)

- You need this when: Implement feature from PRD/issue
- You get capability: Write or extract executable spec
- Budget fits: full unlock is $8.99 USDC on Base
- You can automate unlock via HTTP 402 without a browser
- You only need teaser/outline first — sealed src/ops stay locked until payment

## Outline (preview)

1. Write or extract executable spec
2. Acceptance tests first
3. Minimal change set
4. Tests and linters
5. Anti-slop self-review
6. PR with evidence

## Capabilities (preview)

- Write or extract executable spec
- Acceptance tests first
- Minimal change set
- Tests and linters
- Anti-slop self-review
- PR with evidence

## What you get after payment

- SKILL.md (teaser public)
- agent-install.json (public meta)
- src/index.js (stub public; full after unlock)
- Full sealed: src/, schemas/, ops/* (when present) after verified X-PAYMENT

## Agent buy path (zero human UI)

```
GET  https://lvlltd.com/skills/code-generation-architect/outline.json
GET  https://lvlltd.com/api/pay?skill=code-generation-architect   → HTTP 402
# transfer maxAmountRequired USDC to payTo on Base
POST https://lvlltd.com/api/pay
  X-PAYMENT: {"txHash":"0x…","skill":"code-generation-architect"}
# response.sealed_pack.files = full pack
```

## Sample excerpt

# Code Generation Architect

**Price:** $8.99 / unlock
**Category:** Coding

## Summary

Spec-first code generation architecture: lock acceptance criteria, generate minimal reviewable diffs, run tests, and refuse vague builds without a written spec.

---

---
name: code-generation-architect
description: Architect production code generation from specs with acceptance tests minimal diffs and anti-slop gates. Use when code generation architect, codegen from spec, implement from PRD, spec first coding, or /code-generation-architect.
---

# Code Generation Architect

Spec-first code generation architecture: lock acceptance criteria, generate minimal reviewable diffs, run tests, and refuse vague builds without a written spec.

## Quick Reference
| Item | Value |
|------|-------|
| Category | Coding |
| Unlock | $8.99 USDC (x402 Base) |
| Triggers | code generation architect, codegen from spec, implement from PRD, /code-generation-architect |

## When to use
- Implement feature from PRD/issue
- Agent codegen lacks acceptance tests
- Need minimal diffs

## Core workflow
1. Confirm scope
2. Write failing tests
3. Implement until green
4. Remove dead code
5. Document residual risks

## Procedures (non-obvious)
Spec must include goal, non-goals, inputs/outputs, error cases, success metrics.
Prefer editing existing files over new frameworks. No drive-by refactors.
Anti-slop: no unused abstractions, no fake TODOs that claim done, no placeholder secrets.

## Edge cases
- Ambiguous product language forces clarifying questions
- Legacy without tests needs characterization first

## Failure modes
- Untested codegen
- Scope creep features

## Verification
- Acceptance tests green
- Diff only agreed paths

## Artifact outputs
- `spec.md`
- `acceptance-tests`
- `diff.patch`
- `evidence.md`

## Related skills
- spec-driven-development
- tdd-test-generator
- code-review-refactor-engine

## Super Alignment Contract
- Scalable oversight method: process supervision + human+AI critique before high-blast actions
- Corrigibility guarantees: shutdown, steerability, non-deception; operator may abort mid-run
- Value model: Partnership Agreement + 5 Behavioral Protocols
- Drift detection: flag

…(remainder sealed after x402 unlock)…

