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.


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 https://docs.sei.io./ai/skillswith a filterable card grid (snippets/skills-registry.jsx), a per-skill copy-install command, 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.Templates gallery
/evm/templates(next tocreate-sei) listing the real@sei-js/create-seientries — the Next.js + wagmi template and theprecompilesextension — each with a working one-command scaffold.Navigation + redirects (
docs.json)ai/skillsandevm/templatesto the nav./skills → /ai/skillsand/templates → /evm/templates.Notes
sei/seiTestnet) are imported fromviem/chains;@sei-js/precompilesis used for precompile addresses/ABIs.🤖 Generated with Claude Code