feat(docs): Agent Skills registry + Templates gallery#36
Conversation
Closes the P1 #4 (Agent Skills registry) and P1 #5 (Templates gallery) gaps from the Sei-vs-Solana docs review. Skills (P1 #4): - 6 Foundation skills under .mintlify/skills/<name>/SKILL.md (sei-contracts, sei-frontend, sei-precompiles, sei-nodes, sei-payments, sei-security), installable via `npx skills add docs.sei.io` and served at /.well-known/skills/. - Registry page at /ai/skills with a filterable grid (snippets/skills-registry.jsx) and one-command install. - .gitignore: un-ignore .mintlify/skills/ so the skills deploy (the rest of .mintlify/ stays ignored as a local cache). Templates (P1 #5): - Gallery at /evm/templates listing the real @sei-js/create-sei entries only (Next.js + wagmi template, precompiles extension) — no fabricated demos or screenshots. Nav + redirects (docs.json): add ai/skills and evm/templates; redirect /skills -> /ai/skills and /templates -> /evm/templates. SSTORE gas is cited as 72,000 (same on both networks, governance Proposal #109), consistent with /evm/differences-with-ethereum. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
PR SummaryLow Risk Overview Introduces an Agent Skills registry at
Reviewed by Cursor Bugbot for commit 7cd13b7. Bugbot is set up for automated code reviews on this repo. Configure here. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 7cd13b7. Configure here.
| } | ||
| ``` | ||
|
|
||
| See the Staking precompile (`0x0000000000000000000000000000000000001005`) address format and method signatures at https://docs.sei.io/evm/precompiles. Off-chain, the Addr precompile returns an empty string for an unassociated address — branch on that before assuming a transfer will land where the user intends. See https://docs.sei.io/learn/accounts. |
There was a problem hiding this comment.
Wrong unassociated Addr behavior
Medium Severity
The new security skill tells readers that unassociated EVM addresses yield an empty string from getSeiAddr, and its requireAssociated helper treats zero-length strings as “not linked.” On Sei, getSeiAddr reverts when the address is not associated, matching learn/accounts.mdx and the sei-frontend skill’s isError handling—not an empty return.
Reviewed by Cursor Bugbot for commit 7cd13b7. Configure here.


Summary
Closes two P1 gaps from the Sei-vs-Solana docs review: an Agent Skills registry (#4) and a Templates gallery (#5).
P1 #4 — Agent Skills registry
.mintlify/skills/<name>/SKILL.md—sei-contracts,sei-frontend,sei-precompiles,sei-nodes,sei-payments,sei-security. Mintlify serves these at/.well-known/skills/, installable vianpx skills add docs.sei.io./ai/skills(AI tab) with a filterable card grid (snippets/skills-registry.jsx), per-skill copy-install commands, and a community-skills CTA..gitignore:.mintlify/is the Mintlify CLI's local cache and was fully ignored. Changed to.mintlify/*+!.mintlify/skills/so the skills subtree ships while the cache stays ignored.P1 #5 — Templates gallery
/evm/templates(EVM tab, next tocreate-sei). Lists only the real@sei-js/create-seientries — the Next.js + wagmi template and theprecompilesextension. No fabricated templates, demo links, or screenshots (create-seiships exactly one template + one extension today).Nav + redirects (
docs.json)ai/skillsandevm/templatesto the nav./skills → /ai/skillsand/templates → /evm/templates.How it was built & verified
nodeexample, a fabricated validator-address length, a stale Pyth Entropy API signature).@sei-js/x402-*packages matchevm/usdc-on-sei.mdx/ai/x402.mdxexactly; all 11 precompile addresses match canon; chain IDs / RPC URLs correct throughout.evm/differences-with-ethereum.mdx, with theforge --fork-url~22k caveat noted.mint dev+ headless browser:/ai/skillsand/evm/templatesboth return 200, the registry snippet hydrates (6 cards, filter narrows correctly), dark mode is safe, no page errors.Notes for reviewers
🤖 Generated with Claude Code