← Commit history

Publish 0.8.30

Colby Knox ·b585f59361 ·25d ago ·parent 697342a
3 files changed +32−6
package.json+1−1
@@ -1,7 +1,7 @@ {   "slug": "adom-wiki-skillpack",   "title": "Adom Wiki Skill Pack",-  "version": "0.8.29",+  "version": "0.8.30",   "type": "skill",   "hero": {     "path": "screenshots/hero.png"
page.json+2−2
@@ -131,7 +131,7 @@       "prompt": "Before I create this wiki page, check whether the thing already has a home."     }   ],-  "version": "0.8.29",+  "version": "0.8.30",   "description": "The Adom Wiki Skill Pack : one main skill plus the focused sub-skills that teach the AI to publish to wiki.adom.inc without breaking pages, name the wiki repo archetypes (Page, Skillpack, Family), and publish rich component pages (chips, molecules, boards). The wiki is six tools in one: git, package manager, releases, discussions, pull requests, and discovery. One package manager install drops the whole set onto your container. Includes reviewed Z-up component artwork, surface-selected MPN marking, reusable thumbnail caches and component-page widgets.",   "dependencies": {     "adom/adom-wiki-hero-image": "^0.2.2",@@ -196,4 +196,4 @@     "email": "[email protected]"   },   "org": "adom"-}+}\ No newline at end of file
skills/wiki-discovery/SKILL.md+29−3
@@ -114,7 +114,8 @@ ships is indexed by heading at index time; nothing to declare.  ## Current state (verified 2026-10-02 on wiki.adom.inc) -- Local installed-skill discovery (Layer 1) works.+- Local installed-skill discovery (Layer 1) works, and for pages that are not+  installed the CLI's hook suggests a confident match on every prompt (below). - `discover find` / `preview` match a natural prompt against every page's   triggers, title, tags and brief, and find parts by number. - Manifest and `page.json` `discovery_triggers` are stored and indexed at publish.@@ -126,10 +127,35 @@ ships is indexed by heading at index time; nothing to declare.   skills could not be found at all. If discovery looks broken again, check   `adom-wiki discover preview "<prompt>"` first: it shows what ranked and why. +## Automatic suggestions on every prompt (adom-wiki 1.7.66)++Installing or updating the CLI registers a Claude Code `UserPromptSubmit` hook,+on by default. On each prompt it matches the words against a local copy of the+discovery index and, only when the match is confident, adds one line to the+agent's context naming the page and its `adom-wiki pkg install <owner>/<slug>`.++- **Local and private:** the index is fetched with the user's own token (it+  includes their private and org pages), stored only for them, and refreshed+  daily in the background. The prompt is never sent anywhere.+- **Confident means all three:** the prompt contains one of the top page's+  triggers in full (two or more content words), the top page scores at least+  1.15 times the next one, and any part number in the prompt appears in that+  page's triggers (parts are left to search).+- **Quiet:** at most one suggestion per page per conversation, never for a page+  already installed, never on slash commands, never blocking the prompt.+- **Control:** `adom-wiki discover hook status`, `adom-wiki discover hook off`+  (updates respect it), or `ADOM_WIKI_DISCOVER_HOOK=0` per environment.+  `adom-wiki discover suggest "<prompt>"` shows what the hook would say, or the+  top three with scores when it would stay quiet.++**Make your page suggestible:** write triggers the way people say the task, in+full, with at least two content words ("design a hero image", "export gerbers+from kicad"). A one-word trigger can still rank a page in `discover find`, but+it never makes the hook speak up, by design.+ ## Still to do -1. Discovery on every prompt for pages that are not installed (today an agent-   has to run `discover find` itself).+1. The same hook for Codex (Claude Code only today). 2. Synonyms ("buy" vs "source" vs "price"); today matching is on word forms. 3. Discovery analytics: which prompt surfaced a page, and install attribution.