← Commit history

Publish 1.1.0

barrett-land ·e6bf4e7c4c · ·parent e84a857
2 files changed +56−16
package.json+28−8
@@ -1,8 +1,8 @@ {   "slug": "adom-component-page",-  "version": "1.0.0",+  "version": "1.1.0",   "type": "skill",-  "description": "Create a wiki component page and link it into a library the right way: pages are keyed by the manufacturer part number (MPN), never by the local KiCad symbol/value name. Resolve LCSC to MPN, dedup against existing pages, build symbol + footprint + 3D, publish, link to a library, and correct mis-keyed pages.",+  "description": "Publish a KiCad part to the Adom wiki the RIGHT way and link it into a library. THE RULE: wiki component pages are keyed by the manufacturer part number (MPN), never the local KiCad symbol or value name (a symbol C_100nF_0402 / LCSC C1525 is the page cl05b104ko5nnnc, not c-100nf-0402). Resolve an LCSC/JLC code to its MPN, dedup against an existing page under any owner before creating a duplicate, extract symbol + footprint + 3D from the KiCad source, publish as type=component, link the page into a <Name> Library so a board/circuit resolves board -> library -> components, and correct a page that was already published under the wrong (symbol) name. Read this before creating any wiki component page or adding a component to a library.",   "tags": [     "skill",     "wiki",@@ -10,18 +10,34 @@     "mpn",     "kicad",     "library",-    "eda"+    "eda",+    "lcsc",+    "publish",+    "dedup"   ],   "discovery_triggers": [-    "make a component page",+    "make a wiki component page",     "publish this part to the wiki",     "add a component to a library",+    "add this part to my library",     "wiki component keyed by mpn",+    "pages are keyed by mpn",     "resolve lcsc to mpn",+    "lcsc to mpn",+    "jlc part number to mpn",+    "a component page has the wrong name",     "fix a component page published under the wrong name",-    "link a component to the mp2393 library"+    "component page named by symbol instead of mpn",+    "link a component to a library",+    "board library components",+    "create the component pages for this circuit",+    "dedup a component against an existing wiki page"   ],-  "dependencies": {},+  "dependencies": {+    "adom/step2glb": "^2.0.1",+    "adom/chip-fetcher-lite": "^1.1.1",+    "adom/adom-wiki-cli": "^1.0.65"+  },   "scripts": {     "install": "./install.sh",     "uninstall": "./uninstall.sh"@@ -38,7 +54,7 @@     "subhead": "Resolve LCSC to MPN, dedup, build symbol + footprint + 3D, publish, and link into a library.",     "screenshot": "docs/hero.png"   },-  "discovery_pitch": "Publish a KiCad part to the Adom wiki the right way: pages are keyed by the manufacturer part number (MPN), not your local symbol name. Resolve LCSC to MPN, dedup against existing pages, build symbol + footprint + 3D, publish, and link it into a library.",+  "discovery_pitch": "The right way to put a component on the Adom wiki: pages are keyed by MPN, not your local symbol name. Resolve LCSC to MPN, dedup against existing pages, build symbol + footprint + 3D, publish, and link into a library \u2014 plus how to correct a mis-keyed page.",   "sample_prompts": [     {       "prompt": "Make a wiki component page for this part and link it to my library",@@ -46,11 +62,15 @@     },     {       "prompt": "Resolve this LCSC code to its MPN and check if a wiki page already exists",-      "label": "LCSC to MPN"+      "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"     }   ] }\ No newline at end of file
page.json+28−8
@@ -1,8 +1,8 @@ {   "slug": "adom-component-page",-  "version": "1.0.0",+  "version": "1.1.0",   "type": "skill",-  "description": "Create a wiki component page and link it into a library the right way: pages are keyed by the manufacturer part number (MPN), never by the local KiCad symbol/value name. Resolve LCSC to MPN, dedup against existing pages, build symbol + footprint + 3D, publish, link to a library, and correct mis-keyed pages.",+  "description": "Publish a KiCad part to the Adom wiki the RIGHT way and link it into a library. THE RULE: wiki component pages are keyed by the manufacturer part number (MPN), never the local KiCad symbol or value name (a symbol C_100nF_0402 / LCSC C1525 is the page cl05b104ko5nnnc, not c-100nf-0402). Resolve an LCSC/JLC code to its MPN, dedup against an existing page under any owner before creating a duplicate, extract symbol + footprint + 3D from the KiCad source, publish as type=component, link the page into a <Name> Library so a board/circuit resolves board -> library -> components, and correct a page that was already published under the wrong (symbol) name. Read this before creating any wiki component page or adding a component to a library.",   "tags": [     "skill",     "wiki",@@ -10,18 +10,34 @@     "mpn",     "kicad",     "library",-    "eda"+    "eda",+    "lcsc",+    "publish",+    "dedup"   ],   "discovery_triggers": [-    "make a component page",+    "make a wiki component page",     "publish this part to the wiki",     "add a component to a library",+    "add this part to my library",     "wiki component keyed by mpn",+    "pages are keyed by mpn",     "resolve lcsc to mpn",+    "lcsc to mpn",+    "jlc part number to mpn",+    "a component page has the wrong name",     "fix a component page published under the wrong name",-    "link a component to the mp2393 library"+    "component page named by symbol instead of mpn",+    "link a component to a library",+    "board library components",+    "create the component pages for this circuit",+    "dedup a component against an existing wiki page"   ],-  "dependencies": {},+  "dependencies": {+    "adom/step2glb": "^2.0.1",+    "adom/chip-fetcher-lite": "^1.1.1",+    "adom/adom-wiki-cli": "^1.0.65"+  },   "scripts": {     "install": "./install.sh",     "uninstall": "./uninstall.sh"@@ -39,7 +55,7 @@     "subhead": "Resolve LCSC to MPN, dedup, build symbol + footprint + 3D, publish, and link into a library.",     "screenshot": "docs/hero.png"   },-  "discovery_pitch": "Publish a KiCad part to the Adom wiki the right way: pages are keyed by the manufacturer part number (MPN), not your local symbol name. Resolve LCSC to MPN, dedup against existing pages, build symbol + footprint + 3D, publish, and link it into a library.",+  "discovery_pitch": "The right way to put a component on the Adom wiki: pages are keyed by MPN, not your local symbol name. Resolve LCSC to MPN, dedup against existing pages, build symbol + footprint + 3D, publish, and link into a library — plus how to correct a mis-keyed page.",   "sample_prompts": [     {       "prompt": "Make a wiki component page for this part and link it to my library",@@ -47,11 +63,15 @@     },     {       "prompt": "Resolve this LCSC code to its MPN and check if a wiki page already exists",-      "label": "LCSC to MPN"+      "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"     }   ],   "org": "adom",