From sui-dev-agents
Defines the canonical @mysten/* SDK compat matrix, banner spec, and SOP for upgrading SDK versions across skills. Use when bumping SDK versions, adding SDK-using skills, or diagnosing version-drift errors.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sui-dev-agents:sui-compat-matrixThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill defines the single source-of-truth for `@mysten/*` SDK versions across the plugin and the SOP for upgrading them safely.
This skill defines the single source-of-truth for @mysten/* SDK versions across the plugin and the SOP for upgrading them safely.
references/sdk-compat-matrix.md — canonical table (one row per skill × package)scripts/ci/compat-scope.txt — allowlist of skills that must carry a bannerscripts/ci/check-compat-matrix.mjs — CI verifier (banner ↔ matrix ↔ snippets/package.json)scripts/ci/snippets/package.json — the actually-installed versions used by check-snippets.shEvery in-scope skill must have, in the first 30 lines of SKILL.md, a single line of the form:
``Targets:@mysten/<X.Y.Z> (<range>)[, ...]. Tested: YYYY-MM-DD.``
Rules:
<X.Y.Z> = exact semver; must equal the version in scripts/ci/snippets/package.json for primary kind<range> = ^X[.Y[.Z]] or ~X[.Y[.Z]]Immediately below, an optional **Compatibility notes:** paragraph holds peer / sub-export / deprecation / known-incompat prose. CI does not parse this section, so it can hold any warning the agent needs.
| Skill | Package | Kind | Tested | Accepted | Last verified | Notes-tag |
Skill = canonical path skills/<dir>/SKILL.mdKind ∈ {primary, peer, sub-export, deprecated} — only primary must appear in snippets/package.jsonNotes-tag = [a-z0-9:-]{1,20}, em-dash — for none (no pipes, backticks, links — long notes go in the skill's Compatibility notes prose)@mysten/X from A.B.C → A.B.Dnpm view @mysten/X version --json (skip prereleases unless explicit).d.mts:
cd /tmp && rm -rf old new && mkdir old new
npm pack @mysten/[email protected] @mysten/[email protected]
tar -xzf mysten-X-A.B.C.tgz -C old/
tar -xzf mysten-X-A.B.D.tgz -C new/
diff -r old/package/dist new/package/dist | grep -E '\.d\.mts'
Look for: (a) added/removed exports, (b) signature changes, (c) type-union changes (the kiosk-grpc gap was caught this way).for d in $(cat scripts/ci/compat-scope.txt); do
grep -l "@mysten/X" "$d/SKILL.md" 2>/dev/null
done
cd scripts/ci/snippets
npm install @mysten/[email protected]
npm ls @mysten/sui # verify no dual install
git diff package-lock.json # verify nothing else moved
bash scripts/ci/check-snippets.sh — if new failures, fix the skill's code/prose first, do NOT bump the banner to hide them.Tested: version + date in each affected skill. If breaking changes exist, update the Compatibility notes: prose.references/sdk-compat-matrix.md (Tested + Last verified).node scripts/ci/check-compat-matrix.mjs — must exit 0.skills/<new-name> to scripts/ci/compat-scope.txtscripts/ci/snippets/package.json and npm installreferences/sdk-compat-matrix.mdTargets: line in the new skill's SKILL.mdnode scripts/ci/check-compat-matrix.mjs until greennpx claudepluginhub first-mover-tw/sui-dev-agents --plugin sui-dev-agentsProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.