{
  "schema_version": 1,
  "type": "app",
  "slug": "adom-pin1-truth",
  "title": "adom-pin1-truth",
  "brief": "CLI shim over the pin-1 location dataset for KiCad standard footprints. One arg in (Library/Footprint), one JSON line out ({x_mm,y_mm,z_mm}). v0.2.0: fuzzy fallback strips _EP*x*mm and _ThermalVias su",
  "version": "0.2.0",
  "tags": [],
  "license": "MIT",
  "sample_prompts": [
    {
      "label": "0402 R",
      "prompt": "adom-pin1-truth Resistor_SMD/R_0402_1005Metric"
    },
    {
      "label": "QFN-56 (RP2040)",
      "prompt": "adom-pin1-truth Package_DFN_QFN/QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mm"
    },
    {
      "label": "QFN-80 (RP2350B fuzzy)",
      "prompt": "adom-pin1-truth Package_DFN_QFN/QFN-80-1EP_10x10mm_P0.4mm_EP4.5x4.5mm"
    },
    {
      "label": "LQFP-64",
      "prompt": "adom-pin1-truth Package_QFP/LQFP-64_10x10mm_P0.5mm"
    },
    {
      "label": "Help",
      "prompt": "adom-pin1-truth --help"
    }
  ],
  "install": {
    "binary_name": "adom-pin1-truth",
    "install_dir": "",
    "install_hint": "",
    "version_cmd": ""
  },
  "readme": "# adom-pin1-truth\n\nCLI shim over the pin-1 location truth dataset for the KiCad standard footprint library.\n\n## Usage\n\n```\nadom-pin1-truth <Library>/<Footprint>\n```\n\nSingle positional arg, same shape consumers already pass to `step2glb from-library`.\n\n**Output (stdout, single JSON line):**\n\n```json\n{\"x_mm\":-0.51,\"y_mm\":0.0,\"z_mm\":0.0}\n```\n\nPin-1 location in the footprint's local frame (chip body at origin, +Z up). The consumer parents a sphere to the part mesh at these coords; rotation/mirroring happens for free.\n\n**Unknown footprint:** exits non-zero with a one-line stderr message and no stdout. The consumer can fall back to its own pad-1 derivation.\n\n## Backed by\n\n- 14,884 KiCad-standard footprints parsed at build time from `pin1-truth.json`\n- Source: github.com/adom-inc/adom-pin1-truth\n\n## Exit codes\n\n| Code | Meaning |\n|------|---------|\n| 0 | Real answer printed to stdout |\n| 1 | Footprint not in the dataset |\n| 2 | Bad CLI input |\n",
  "author": {
    "name": "Kyle Bergstedt",
    "email": "kyle@adom.inc"
  },
  "visibility": {
    "public": true
  },
  "hero": null,
  "discovery_triggers": [],
  "discovery_pitch": null,
  "metadata": {},
  "created_at": "2026-05-28T05:29:15.341Z",
  "updated_at": "2026-05-28T05:29:15.341Z",
  "skills": []
}