{
  "slug": "adom-component-page",
  "version": "2.0.1",
  "type": "skill",
  "description": "Create a wiki component page the RIGHT way. Pages are keyed manufacturer-mpn and scoped to ONE DATASHEET, so a datasheet covering six voltages and three packages is ONE page covering all of them, never six pages. Two manufacturers publishing the same MPN are two pages, because their limits genuinely differ. Renders through a hand-built readme.html on the Adom theme tokens with a fixed ten-section shape (identity, at a glance, specifications, symbol+footprint viewers, pin map, variants, assets, implementation, datasheet, provenance). Anything not available yet gets a 'not available, open a pull request' placeholder rather than being silently dropped. Covers the boundary decision, dedup against existing and legacy bare-MPN pages, pulling CAD from KiCad's official library, the adom-footprint empty-fab-layer workaround, publishing both the registry and page-repo layers, deprecating a page so it actually looks deprecated, and linking into a library.",
  "tags": [
    "skill",
    "wiki",
    "component",
    "datasheet",
    "family",
    "mpn",
    "manufacturer",
    "kicad",
    "eda",
    "publish",
    "dedup",
    "readme-html",
    "provenance"
  ],
  "discovery_triggers": [
    "make a wiki component page",
    "publish this part to the wiki",
    "component page for",
    "should this variant get its own page",
    "component family page",
    "which variants go on one page",
    "add component to library",
    "component keyed by mpn",
    "manufacturer-mpn slug",
    "fix a component page published under the wrong name",
    "split a component page by manufacturer",
    "deprecate a wiki page"
  ],
  "dependencies": {
    "adom/adom-step2glb": "^2.0.1",
    "adom/adom-wiki-cli": "^1.0.65",
    "adom/adom-symbol": "^1.0.0",
    "adom/adom-footprint": "^1.0.0",
    "adom/adom-lbr": "^1.0.0",
    "adom/adom-theme": "^1.0.0"
  },
  "scripts": {
    "install": "./install.sh",
    "uninstall": "./uninstall.sh"
  },
  "files": [
    "SKILL.md",
    "README.md",
    "package.json",
    "install.sh",
    "uninstall.sh",
    "templates/readme.html",
    "templates/page.json",
    "scripts/inject_layers.py",
    "scripts/build_switcher.py",
    "reference/worked-example.md",
    "docs/hero.png"
  ],
  "hero": {
    "headline": "Component pages, keyed by MPN",
    "subhead": "Resolve LCSC to MPN, dedup, build symbol + footprint + 3D, publish, and link into a library.",
    "screenshot": "docs/hero.png"
  },
  "discovery_pitch": "The procedure for wiki component pages: one page per datasheet, slugged manufacturer-mpn, rendered through a readme.html on the brand tokens, with PR placeholders instead of silent gaps.",
  "sample_prompts": [
    {
      "prompt": "Make a wiki component page for this part and link it to my library",
      "label": "Make a component page"
    },
    {
      "prompt": "Resolve this LCSC code to its MPN and check if a wiki page already exists",
      "label": "LCSC to MPN + dedup"
    },
    {
      "prompt": "This component page was published under the wrong name, fix it to use the MPN",
      "label": "Fix a mis-keyed page"
    },
    {
      "prompt": "Create the component pages for every part in this circuit and wire them into its library",
      "label": "Whole circuit -> library"
    }
  ],
  "title": "Make a Wiki Component Page",
  "optionalDependencies": {
    "adom/chip-fetcher-lite": "^1.1.1"
  }
}