app
Parts Search
Public Made by Adomby adom
One search box across Mouser, DigiKey and JLCPCB: parallel queries, side-by-side product photos, and a Mouser-preferred recommendation that reasons around stock and lead time.
← Commit history
Publish 1.4.6
7 files changed
+139−16
BUILD-SKILL.md+18@@ -12,6 +12,24 @@ description: Build and release a new version of adom-parts-search. Use when the 5. Show user a screenshot of the 3-column grid + recommendation banner; wait for explicit approval. 6. `./publish.sh`: git tag, registry tarball (bin + skills + dockbar.json + docs/icon.svg + screenshots), page-repo push of dockbar.json / docs/icon.svg / docs/hero.png, verify with a clean `adom-wiki pkg install`. +## Every `say` phrase must FIT, and lead with the noun++The prompts panel exists to teach the trigger words, and the phrase cell clips+with an ellipsis that looks deliberate. At John's resting pane (744px, dock rail+closed, two columns) the clipping span is ~336px, which is about 49 characters+at the worst per-character width this app has measured.++Two rules, both authoring:++- **Lead with `with parts search,`** rather than trailing it. If a phrase ever+ does clip, it then loses a detail instead of the routing words. Trailing the+ noun is how this app shipped two phrases whose ellipsis ate "parts search"+ itself, silently.+- **Probe every phrase, do not eyeball it.** Measure the rendered width with an+ off-DOM probe span in the app's own font, in ah, and compare against the+ clipping SPAN's width, never the cell's (the cell carries the overflow+ property and always reads as fitting).+ ## Check the inbox, at the start and end of every work block `adom-wiki inbox` is the only place issue comments, closures, and @mentions
CHANGELOG.md+7@@ -1,5 +1,12 @@ # Changelog +## 1.4.6 (2026-08-25)++Prompt phrases lead with the noun and fit the cell++- Measured in John ah: two of six phrases truncated at his resting 744px pane, and because the trigger noun trailed every phrase, the ellipsis ate "parts search" itself, which is the one thing the panel exists to teach. All six phrases now LEAD with "with parts search," so a clip costs a detail rather than the routing words, and all six are shortened to clear the ~336px clipping span with margin.+- The build skill gains the authoring rule and the probe method: measure the rendered width with an off-DOM probe span against the clipping SPAN, never the cell, which carries the overflow property and always reads as fitting.+ ## 1.4.5 (2026-08-25) The 1.4.3 demo-button fix was itself broken
bin/adom-parts-search⋯ 1 unchanged line ⋯
dockbar.json+6−6@@ -1,12 +1,12 @@ { "dock_manifest": "1.2.0", "say": [- "search for a 10k 0402 resistor with parts search",- "find the cheapest LM358 with parts search",- "price an STM32F103RBT6 across vendors with parts search",- "check stock on an ESP32-S3-WROOM-1 with parts search",- "source the parts in my BOM with parts search",- "show me in-stock 3.3V LDOs with parts search"+ "with parts search, find a 10k 0402 resistor",+ "with parts search, find the cheapest LM358",+ "with parts search, price an STM32F103RBT6",+ "with parts search, check ESP32-S3-WROOM-1 stock",+ "with parts search, source the parts in my BOM",+ "with parts search, show in-stock 3.3V LDOs" ], "webview": { "title": "Parts Search",
package.json+41−2@@ -1,6 +1,6 @@ { "slug": "adom-parts-search",- "version": "1.4.5",+ "version": "1.4.6", "type": "app", "description": "One search box across Mouser, DigiKey and JLCPCB. Parallel queries, side-by-side product photos, and a Mouser-preferred recommendation that reasons around stock and lead time. Dock Bar ready: serve, health, settings, Say it.", "dependencies": {@@ -38,5 +38,44 @@ "SKILL.md", "BUILD-SKILL.md", "CHANGELOG.md"+ ],+ "changelog": "Prompt phrases lead with the noun and fit the cell",+ "discovery_triggers": [+ "parts search",+ "find part",+ "source component",+ "source part",+ "compare distributors",+ "compare vendors",+ "Mouser or DigiKey",+ "BOM sourcing",+ "price this part",+ "where can I get",+ "check stock",+ "parts availability",+ "fastest delivery",+ "cheapest part",+ "component search",+ "part lookup",+ "price breaks"+ ],+ "discovery_pitch": "Search Mouser, DigiKey and JLCPCB in parallel with product photos; Mouser-preferred best-source pick. Say 'with parts search' to your AI.",+ "sample_prompts": [+ {+ "label": "source an STM32F103RBT6",+ "prompt": "source an STM32F103RBT6"+ },+ {+ "label": "where can I get an ESP32-S3-WROOM cheape",+ "prompt": "where can I get an ESP32-S3-WROOM cheapest and fastest"+ },+ {+ "label": "compare Mouser, DigiKey and JLCPCB for a",+ "prompt": "compare Mouser, DigiKey and JLCPCB for an LM555"+ },+ {+ "label": "price this BOM across distributors",+ "prompt": "price this BOM across distributors"+ } ]-}+}
page.json+49−8@@ -4,7 +4,7 @@ "slug": "adom-parts-search", "title": "Parts Search", "brief": "One search box across Mouser, DigiKey and JLCPCB: parallel queries, side-by-side product photos, and a Mouser-preferred recommendation that reasons around stock and lead time.",- "version": "1.4.5",+ "version": "1.4.6", "install": { "binary_name": "adom-parts-search", "install_dir": "",@@ -36,10 +36,22 @@ "path": "screenshots/hero.png" }, "sample_prompts": [- "source an STM32F103RBT6",- "where can I get an ESP32-S3-WROOM cheapest and fastest",- "compare Mouser, DigiKey and JLCPCB for an LM555",- "price this BOM across distributors"+ {+ "label": "source an STM32F103RBT6",+ "prompt": "source an STM32F103RBT6"+ },+ {+ "label": "where can I get an ESP32-S3-WROOM cheape",+ "prompt": "where can I get an ESP32-S3-WROOM cheapest and fastest"+ },+ {+ "label": "compare Mouser, DigiKey and JLCPCB for a",+ "prompt": "compare Mouser, DigiKey and JLCPCB for an LM555"+ },+ {+ "label": "price this BOM across distributors",+ "prompt": "price this BOM across distributors"+ } ], "discovery_triggers": [ "parts search",@@ -54,12 +66,41 @@ "where can I get", "check stock", "parts availability",- "fastest delivery"+ "fastest delivery",+ "cheapest part",+ "component search",+ "part lookup",+ "price breaks" ],- "discovery_pitch": "Search Mouser + DigiKey + JLCPCB in parallel from one interface, with product photos and a Mouser-preferred best-source pick.",+ "discovery_pitch": "Search Mouser, DigiKey and JLCPCB in parallel with product photos; Mouser-preferred best-source pick. Say 'with parts search' to your AI.", "metadata": { "platform": "linux" }, "category": "tools",- "org": "adom"+ "org": "adom",+ "description": "One search box across Mouser, DigiKey and JLCPCB. Parallel queries, side-by-side product photos, and a Mouser-preferred recommendation that reasons around stock and lead time. Dock Bar ready: serve, health, settings, Say it.",+ "dependencies": {+ "adom/adom-mouser": "*",+ "adom/adom-digikey": "*",+ "adom/adom-jlcpcb": "*"+ },+ "needs_sudo": false,+ "scripts": {+ "install": "./install.sh",+ "uninstall": "./uninstall.sh"+ },+ "files": [+ "bin/**",+ "skills/**",+ "docs/icon.svg",+ "dockbar.json",+ "install.sh",+ "uninstall.sh",+ "package.json",+ "README.md",+ "SKILL.md",+ "BUILD-SKILL.md",+ "CHANGELOG.md"+ ],+ "changelog": "Prompt phrases lead with the noun and fit the cell" }
skills/adom-parts-search-build/SKILL.md+18@@ -12,6 +12,24 @@ description: Build and release a new version of adom-parts-search. Use when the 5. Show user a screenshot of the 3-column grid + recommendation banner; wait for explicit approval. 6. `./publish.sh`: git tag, registry tarball (bin + skills + dockbar.json + docs/icon.svg + screenshots), page-repo push of dockbar.json / docs/icon.svg / docs/hero.png, verify with a clean `adom-wiki pkg install`. +## Every `say` phrase must FIT, and lead with the noun++The prompts panel exists to teach the trigger words, and the phrase cell clips+with an ellipsis that looks deliberate. At John's resting pane (744px, dock rail+closed, two columns) the clipping span is ~336px, which is about 49 characters+at the worst per-character width this app has measured.++Two rules, both authoring:++- **Lead with `with parts search,`** rather than trailing it. If a phrase ever+ does clip, it then loses a detail instead of the routing words. Trailing the+ noun is how this app shipped two phrases whose ellipsis ate "parts search"+ itself, silently.+- **Probe every phrase, do not eyeball it.** Measure the rendered width with an+ off-DOM probe span in the app's own font, in ah, and compare against the+ clipping SPAN's width, never the cell's (the cell carries the overflow+ property and always reads as fitting).+ ## Check the inbox, at the start and end of every work block `adom-wiki inbox` is the only place issue comments, closures, and @mentions