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 Adds an Reviewed by Cursor Bugbot for commit 8c8132d. Bugbot is set up for automated code reviews on this repo. Configure here. |
- Skills: import sei/seiTestnet viem chains from viem/chains (the @sei-js/precompiles package only exports seiLocal); keep @sei-js/precompiles for precompile addresses/ABIs. Fixes the runnable examples in sei-precompiles, sei-security, and sei-contracts. - templates: correct the create-sei stack to Next.js 15 / React 19, add RainbowKit, note Tailwind v4. - skills install command uses the https:// scheme (npx skills add https://docs.sei.io). - sei-contracts: separate the 6-decimal usei micro-denom from the 18-decimal EVM wei representation. - Drop the imprecise "(proposal 99)" CosmWasm-freeze attribution (per SIP-3); deep-link "live value" pointers to /evm/differences-with-ethereum (and /evm/networks). - sei-precompiles: getSeiAddr reverts or returns "" when unassociated. - sei-nodes: replace the ~28h figure with ~100k blocks; name the current evm-ss-split flag for Giga storage. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Independent-review fixes for the Agent Skills registry (PR #36): - sei-security: getSeiAddr REVERTS for an unassociated address (verified against sei-chain precompiles/addr/addr.go:128-132 — returns a non-nil error, no empty-string path). The old `require(bytes(actual).length != 0)` guard was dead code; wrap the call in try/catch and treat the revert as "not associated". Fix the off-chain prose to match. - sei-precompiles: drop the "reverts or returns ''" hedge so all skills agree the call reverts when unassociated. - All skills: remove the false "no safe/finalized block tags" claim — on Sei safe/finalized/latest all resolve to the same instantly-final block (per evm/differences-with-ethereum.mdx), so just query latest. - ai/skills + snippet: clarify every card copies the same full-set install command; add per-skill aria-labels for accessibility. - sei-frontend: @sei-js/precompiles ships only the seiLocal viem chain, not sei/seiTestnet. - sei-contracts/sei-security: use ~22,100 for the revm SSTORE figure to match differences-with-ethereum.mdx. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit c25bfd8. Configure here.
Update skill documentation to use seiTestnet by default instead of mainnet in code examples. Replace hardcoded chain IDs with testnet chain objects and add comments reminding developers to get explicit approval before switching to mainnet (1329). This enforces safer defaults and makes the approval requirement explicit in the code.

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