{
  "skill_id": "code-review-refactor-engine",
  "name": "Code Review Refactor Engine",
  "evaluation": "free",
  "quality": "agent-decision-grade",
  "price_usd": 7.49,
  "category": "Coding",
  "tier": "standard",
  "tags": [
    "coding",
    "x402",
    "factory:master-2026-07-28",
    "depth:deep",
    "depth:standard"
  ],
  "summary": "Combined PR review and safe refactor engine: correctness, security, tests, maintainability, plus incremental refactor steps that stay production-deployable.",
  "when_to_use": [
    "Need thorough PR review",
    "Large messy module",
    "Security-sensitive change"
  ],
  "outline": [
    "Load diff + tests",
    "Severity findings",
    "Merge recommendation",
    "If refactor needed slice steps",
    "Characterization tests + rollback"
  ],
  "capabilities": [
    "Load diff + tests",
    "Severity findings",
    "Merge recommendation",
    "If refactor needed slice steps",
    "Characterization tests + rollback"
  ],
  "decision_criteria": [
    "You need this when: Need thorough PR review",
    "You get capability: Load diff + tests",
    "Budget fits: full unlock is $7.49 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"
  ],
  "sealed_after_pay": [
    "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"
  ],
  "challenge": "https://lvlltd.com/api/pay?skill=code-review-refactor-engine",
  "sample": "https://lvlltd.com/skills/code-review-refactor-engine/sample.md",
  "pack_meta": "https://lvlltd.com/api/packs?skill=code-review-refactor-engine",
  "teaser": "https://lvlltd.com/sealed/code-review-refactor-engine/",
  "proof": "https://lvlltd.com/api/proof",
  "standards": [
    "x402",
    "ERC-7857"
  ],
  "buy_agent": [
    "GET /skills/code-review-refactor-engine/outline.json",
    "GET /api/pay?skill=code-review-refactor-engine",
    "Settle USDC on Base to payTo",
    "POST /api/pay with X-PAYMENT {\"txHash\",\"skill\"}"
  ]
}
