Repository navigation
feat(skills): add 5 Shopify skills (core, storefront, themes, apps, functions) - #11
Merged
Merged
Conversation
…unctions) Imported from 5 .skill bundles: a routing hub (shopify-core) plus one skill per Shopify surface — Hydrogen/Oxygen headless (shopify-storefront), Liquid OS 2.0 themes (shopify-themes), embedded admin apps with Polaris/App Bridge (shopify-apps), and checkout logic in Wasm (shopify-functions). Placed under packages/codegraph/data/skill/ — the git-tracked bundle the Dockerfile COPYs into the image — since the .claude/skill workspace mirror is gitignored and never reaches prod (same trap as 27e16dd). detectCategory() resolves from a hardcoded CATEGORY_MAP, so the five names are added there under CMS alongside shopify-expert; without that they would import as "Other". Local verification: import-skills took the catalog 328 -> 333 skills, all five rows active/domain/CMS, FTS matching on hydrogen, liquid and dawn. The security gate quarantined nothing new (active +5 exactly). Known gap, pre-existing and not addressed here: walkDir() imports only SKILL.md, so the references/ and scripts/ directories ship in the image but are not readable through skill_read. These skills are written for progressive disclosure and lose that layer when loaded over MCP. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a Shopify skill set to the production bundle: a routing hub plus one skill per Shopify surface.
shopify-coreshopify-storefrontshopify-themesshopify-appsshopify-functionsshopify-coreroutes to the other four and they are written to be read together when a request spans two surfaces.Where they live, and why
Under
packages/codegraph/data/skill/— the git-tracked bundle the Dockerfile COPYs into the image. The.claude/skillworkspace mirror is a gitignored symlink to.opencode/, so authoring there alone means the skill never ships. That is exactly the trap 27e16dd had to clean up for 29 skills; this avoids repeating it.CATEGORY_MAP
detectCategory()resolves from a hardcoded map inpackages/storage/src/import-skills.ts. The five names are added underCMS, alongside the existingshopify-expert. Without that entry they import asOther.Verification
import-skills .locally took the catalog 328 → 333 skills. All five rows landedactive/domain/CMS, and FTS matches onhydrogen,liquidanddawn. The skill-guard gate quarantined nothing new — active went up by exactly 5, and the twopendingrows (webxr-spatial,shopify-expert) were already pending beforehand.Frontmatter is clean: no CRLF, no BOM,
name+descriptionpresent, so the normalisation e917308 had to apply does not resurface here.Overlap worth a look
shopify-expertalready exists in.agents/skills/(184 lines, MIT, third-party, currentlypending) and covers the same four surfaces generically. It will compete withshopify-corein routing on generic Shopify queries. Not touched in this PR — deprecating it is a separate call.Known gap, pre-existing and not addressed here
walkDir()imports onlySKILL.md. These skills are written for progressive disclosure —shopify-storefrontalone carries 7 reference files and a script — and those directories ship inside the image but no MCP tool serves them, soskill_readreturnsSKILL.mdalone. Same forui-ux-pro-max,seo-technicaland every other bundled skill with areferences/directory. Worth its own change.Unrelated, but it surfaced while verifying this
Production is currently serving a pruned catalog:
Since only
activeskills are routed,skill_routereturns whatever survived regardless of the query. The recovery tooling for this —import-skills --reactivatefrom 49af87e — is already onmainand already deployed, but a redeploy does not repair the rows on its own: the boot import passesstatus: NULLand the upsert deliberately preserves existing status. It has to be run explicitly in the container. Merging this PR does not fix that, and these five skills will importactiveeither way.🤖 Generated with Claude Code