{
  "skill_id": "gf-pc-invoice-rail-spec-kit",
  "name": "Invoice Rail Spec Kit",
  "evaluation": "free",
  "quality": "agent-decision-grade",
  "functional": true,
  "price_usd": 5.49,
  "category": "Finance",
  "tier": "standard",
  "kind": "good",
  "tags": [
    "x402",
    "quality-factory",
    "good",
    "decision-grade",
    "functional",
    "sealed-runtime",
    "gf-complete"
  ],
  "summary": "End-to-end field maps and state machines connecting classic invoices to agent-presentable USDC payment rails and receipt hooks.",
  "when_to_use": [
    "Finance still issues PDF or ERP invoices while agents collect Base USDC settlement",
    "You need one canonical mapping from invoice_id to x402 or wallet settle payload",
    "Recon fails when invoice revisions outpace what the agent presented at pay time"
  ],
  "outline": [
    "Map invoice header, line, tax-placeholder, and due fields into a rail packet schema agents can serialize without free-text guesswork",
    "Define invoice version pins so agents always cite the revision_id that matches the sealed settle amount",
    "Specify post-pay receipt hooks: settle_ref, paid_at, amount, and invoice_id for ERP or ledger import",
    "Encode underpay, overpay, and stale-revision exception branches with owner and hold-state labels",
    "Produce a buyer settlement summary card that cites invoice_id and rail facts while omitting unnecessary counterparty private fields"
  ],
  "capabilities": [
    "Invoice-to-rail packet field map",
    "Revision pin and stale-invoice guards",
    "Post-pay receipt hook definitions",
    "Underpay/overpay exception branches",
    "Buyer settlement summary card template"
  ],
  "artifact_outputs": [
    "invoice-rail-field-map.json",
    "invoice-version-pin-rules.md",
    "post-pay-receipt-hooks.json",
    "buyer-settlement-summary-card.md"
  ],
  "decision_criteria": [
    "Outline steps are specific to this skill (not generic templates)",
    "Sealed pack exposes createSkill().run with outline-driven steps",
    "Artifacts are named concrete deliverables",
    "No revenue guarantees or banned claims",
    "Free eval path works without payment"
  ],
  "sealed_after_pay": [
    "Full src/index.js runtime (createSkill, run, plan)",
    "src/runbook.js with skill-specific steps",
    "src/tools.js registry for agent ToolRegistry",
    "WORKBOOK.md operator procedure",
    "templates/ checklist and artifact shells",
    "schemas/output.schema.json"
  ],
  "runtime": {
    "entry": "src/index.js",
    "export": "createSkill",
    "install": "node scripts/install-unlocked-pack.mjs unlock.json ./skills"
  },
  "challenge": "https://lvlltd.com/api/pay?skill=gf-pc-invoice-rail-spec-kit",
  "sample": "https://lvlltd.com/skills/gf-pc-invoice-rail-spec-kit/sample.md",
  "pack_meta": "https://lvlltd.com/api/packs?skill=gf-pc-invoice-rail-spec-kit",
  "teaser": "https://lvlltd.com/sealed/gf-pc-invoice-rail-spec-kit/",
  "proof": "https://lvlltd.com/api/proof",
  "standards": [
    "x402",
    "ERC-7857"
  ],
  "operator_notes": [
    "Confirm pay path with GET /api/pay before purchasing.",
    "Dry-run createSkill().run({ goal, dry_run: true }) after unlock.",
    "Persist payment.txHash with skill_id for re-redeem.",
    "Never commit private keys or OPS_SECRET into pack usage.",
    "Category focus: Finance. Kind: good.",
    "Claim scrub: no guaranteed ROI, no fake testimonials.",
    "If outline 404s on production, redeploy public/skills after completion pass."
  ]
}