solana-dev
Unified skill hub for Solana development. Routes to external submodule skills (solana-foundation, sendai, solana-game, trailofbits, cloudflare, qedgen, colosseum, solana-new, ghostsecurity, defending-code) and local skills. Progressive disclosure — read only what you need.
solanabr · 已有 AI 审核记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add solanabr/solana-ai-kit --skill solana-dev技能说明
name: solana-dev description: Unified skill hub for Solana development. Routes to external submodule skills (solana-foundation, sendai, solana-game, trailofbits, cloudflare, qedgen, colosseum, solana-new, ghostsecurity, defending-code) and local skills. Progressive disclosure — read only what you need. user-invocable: true
Solana Development Skill Hub
Routes to the right skill file based on the task. Read the relevant section, follow the link, load that skill.
Source precedence (when multiple skills cover one topic):
.claude/rules/*are law for code style — always win (checked math, PDA bumps, nounwrap()/init_if_needed, reload-after-CPI, naming). No skill overrides a rule on style.- Protocol-OFFICIAL skill is primary for that protocol's API/SDK usage (jup-ag→Jupiter, metaplex-foundation→Metaplex, helius-labs→Helius).
- Foundation/platform skills (solana-dev) are primary for general concepts (Anchor, Pinocchio, testing, clients).
- sendai/community versions are secondary references — routed only when the official/foundation source lacks coverage.
One primary per row: each Task-Routing row points to exactly ONE primary target; secondaries live in section bodies, not the routing table.
Core Solana Development
Primary entry point — read first for any Solana program, frontend, testing, or client task:
- ext/solana-dev/skill/SKILL.md — Solana Foundation skill (framework-kit-first, Kit types, wallet-standard)
Key references within:
- programs/anchor.md — Anchor patterns, IDL, constraints (canonical)
- programs/pinocchio.md — Zero-copy, CU optimization (canonical)
- frontend-framework-kit.md — React hooks, wallet connection, @solana/kit UI
- kit-web3-interop.md — Kit ↔ web3.js boundary patterns
- testing.md — LiteSVM, Mollusk, Surfpool, CI
- security.md — Vulnerability categories, checklists
- idl-codegen.md — Codama/Shank client generation
- payments.md — Commerce Kit, Kora, Solana Pay
- resources.md — Official documentation links
Token Extensions
- token-2022.md — SPL Token-2022 extensions: transfer hooks, confidential transfers, transfer fees, metadata, CPI guard, soulbound tokens, and all extension types with Anchor/native patterns
DeFi & Ecosystem Protocols
Official protocol skills (primary — precedence tier 2). Protocol-maintained skills win for that protocol's own API/SDK usage:
| Protocol | Skill | Use for |
|---|---|---|
| Jupiter | integrating-jupiter/ | Swap, Lend, Perps, Trigger, Recurring, Tokens, Price, Send, Studio — endpoint selection + integration flows |
| Jupiter (swap migration) | jupiter-swap-migration/ | Metis/legacy → Ultra v1 swap API migration |
| Jupiter (lend) | jupiter-lend/ | Jupiter Lend borrow/supply flows |
| Jupiter (VRFD) | jupiter-vrfd/ | Verifiable randomness for fair distribution |
| Metaplex | metaplex/ | NFT standards: Core, Token Metadata, Bubblegum (cNFT), Candy Machine, Genesis, Umi/Kit, mplx CLI |
| Helius | helius/ | RPC, Sender, DAS API, WebSockets/Laserstream, webhooks, priority fees (home repo of the helius MCP we ship) |
| SVM internals | svm/ | Solana architecture deep-dive: SVM execution, account model, consensus, validator economics, Agave/Firedancer source, SIMDs |
Secondary references (sendai/community — routed only if the official source lacks coverage): ext/sendai/skills/jupiter/, ext/sendai/skills/metaplex/, ext/sendai/skills/helius/ (older copies; the official skills above supersede them). sendai's helius-dflow/helius-phantom integration layers are superseded by the official Helius repo's own dflow/phantom skills under ext/helius/helius-skills/.
Other protocol skills from SendAI:
| Protocol | Skill | Use for |
|---|---|---|
| Phoenix | phoenix/ | Perpetual futures (Rise SDK) |
| Ranger Finance | ranger-finance/ | Perps aggregation, leverage routing |
| Lavarage | lavarage/ | Leveraged trading for any SPL token |
| Raydium | raydium/ | AMM, CLMM pools |
| Meteora | meteora/ | DLMM, dynamic pools |
| Orca | orca/ | Whirlpools, concentrated liquidity |
| Kamino | kamino/ | Lending, vaults |
| Marginfi | marginfi/ | Lending protocol |
| Sanctum | sanctum/ | LST staking |
| PumpFun | pumpfun/ | Token launch |
| Pyth | pyth/ | Price oracles |
| Switchboard | switchboard/ | Oracles, VRF |
| Squads | squads/ | Multisig |
| DeBridge | debridge/ | Cross-chain bridging |
| LI.FI | lifi/ | Cross-chain swaps, bridging, route discovery |
| Arcium | arcium/ | Encrypted compute: dark pools, sealed-bid auctions |
| Light Protocol | light-protocol/ | ZK compression |
| Birdeye | [birdeye/](ext/sendai/ski |