$npx -y skills add solanabr/solana-ai-kit --skill skillsUnified 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.
| 1 | # Solana Development Skill Hub |
| 2 | |
| 3 | Routes to the right skill file based on the task. Read the relevant section, follow the link, load that skill. |
| 4 | |
| 5 | **Source precedence (when multiple skills cover one topic):** |
| 6 | 1. `.claude/rules/*` are law for code style — always win (checked math, PDA bumps, no `unwrap()`/`init_if_needed`, reload-after-CPI, naming). No skill overrides a rule on style. |
| 7 | 2. Protocol-OFFICIAL skill is primary for that protocol's API/SDK usage (jup-ag→Jupiter, metaplex-foundation→Metaplex, helius-labs→Helius). |
| 8 | 3. Foundation/platform skills (solana-dev) are primary for general concepts (Anchor, Pinocchio, testing, clients). |
| 9 | 4. sendai/community versions are secondary references — routed only when the official/foundation source lacks coverage. |
| 10 | |
| 11 | One primary per row: each Task-Routing row points to exactly ONE primary target; secondaries live in section bodies, not the routing table. |
| 12 | |
| 13 | ## Core Solana Development |
| 14 | |
| 15 | **Primary entry point** — read first for any Solana program, frontend, testing, or client task: |
| 16 | |
| 17 | - [ext/solana-dev/skill/SKILL.md](ext/solana-dev/skill/SKILL.md) — Solana Foundation skill (framework-kit-first, Kit types, wallet-standard) |
| 18 | |
| 19 | Key references within: |
| 20 | - [programs/anchor.md](ext/solana-dev/skill/references/programs/anchor.md) — Anchor patterns, IDL, constraints (canonical) |
| 21 | - [programs/pinocchio.md](ext/solana-dev/skill/references/programs/pinocchio.md) — Zero-copy, CU optimization (canonical) |
| 22 | - [frontend-framework-kit.md](ext/solana-dev/skill/references/frontend-framework-kit.md) — React hooks, wallet connection, @solana/kit UI |
| 23 | - [kit-web3-interop.md](ext/solana-dev/skill/references/kit-web3-interop.md) — Kit ↔ web3.js boundary patterns |
| 24 | - [testing.md](ext/solana-dev/skill/references/testing.md) — LiteSVM, Mollusk, Surfpool, CI |
| 25 | - [security.md](ext/solana-dev/skill/references/security.md) — Vulnerability categories, checklists |
| 26 | - [idl-codegen.md](ext/solana-dev/skill/references/idl-codegen.md) — Codama/Shank client generation |
| 27 | - [payments.md](ext/solana-dev/skill/references/payments.md) — Commerce Kit, Kora, Solana Pay |
| 28 | - [resources.md](ext/solana-dev/skill/references/resources.md) — Official documentation links |
| 29 | |
| 30 | ## Token Extensions |
| 31 | |
| 32 | - [token-2022.md](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 |
| 33 | |
| 34 | ## DeFi & Ecosystem Protocols |
| 35 | |
| 36 | **Official protocol skills (primary — precedence tier 2).** Protocol-maintained skills win for that protocol's own API/SDK usage: |
| 37 | |
| 38 | | Protocol | Skill | Use for | |
| 39 | |----------|-------|---------| |
| 40 | | Jupiter | [integrating-jupiter/](ext/jupiter/skills/integrating-jupiter/SKILL.md) | Swap, Lend, Perps, Trigger, Recurring, Tokens, Price, Send, Studio — endpoint selection + integration flows | |
| 41 | | Jupiter (swap migration) | [jupiter-swap-migration/](ext/jupiter/skills/jupiter-swap-migration/SKILL.md) | Metis/legacy → Ultra v1 swap API migration | |
| 42 | | Jupiter (lend) | [jupiter-lend/](ext/jupiter/skills/jupiter-lend/SKILL.md) | Jupiter Lend borrow/supply flows | |
| 43 | | Jupiter (VRFD) | [jupiter-vrfd/](ext/jupiter/skills/jupiter-vrfd/SKILL.md) | Verifiable randomness for fair distribution | |
| 44 | | Metaplex | [metaplex/](ext/metaplex/skills/metaplex/SKILL.md) | NFT standards: Core, Token Metadata, Bubblegum (cNFT), Candy Machine, Genesis, Umi/Kit, mplx CLI | |
| 45 | | Helius | [helius/](ext/helius/helius-skills/helius/SKILL.md) | RPC, Sender, DAS API, WebSockets/Laserstream, webhooks, priority fees (home repo of the helius MCP we ship) | |
| 46 | | SVM internals | [svm/](ext/helius/helius-skills/svm/SKILL.md) | Solana architecture deep-dive: SVM execution, account model, consensus, validator economics, Agave/Firedancer source, SIMDs | |
| 47 | |
| 48 | 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/`. |
| 49 | |
| 50 | Other protocol skills from [SendAI](ext/sendai/skills/): |
| 51 | |
| 52 | | Protocol | Skill | Use for | |
| 53 | |----------|-------|---------| |
| 54 | | Phoenix | [phoenix/](ext/sendai/skills/phoenix/) | Perpetual futures (Rise SDK) | |
| 55 | | Ranger Finance | [ranger-finance/](ext/sendai/skills/ranger-finance/) | Perps aggregation, leverage routing | |
| 56 | | Lavarage | [lavarage/](ext/sendai/skills/lavarage/) | Leveraged trading for any SPL token | |
| 57 | | Raydium | [raydium/](ext/sendai/skills/raydium/) | AMM, CLMM pools | |
| 58 | | Meteora | [meteora/](ext/sendai/ski |