跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
开发与测试

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):

  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.
  2. Protocol-OFFICIAL skill is primary for that protocol's API/SDK usage (jup-ag→Jupiter, metaplex-foundation→Metaplex, helius-labs→Helius).
  3. Foundation/platform skills (solana-dev) are primary for general concepts (Anchor, Pinocchio, testing, clients).
  4. 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:

ProtocolSkillUse for
Jupiterintegrating-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
Metaplexmetaplex/NFT standards: Core, Token Metadata, Bubblegum (cNFT), Candy Machine, Genesis, Umi/Kit, mplx CLI
Heliushelius/RPC, Sender, DAS API, WebSockets/Laserstream, webhooks, priority fees (home repo of the helius MCP we ship)
SVM internalssvm/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:

ProtocolSkillUse for
Phoenixphoenix/Perpetual futures (Rise SDK)
Ranger Financeranger-finance/Perps aggregation, leverage routing
Lavaragelavarage/Leveraged trading for any SPL token
Raydiumraydium/AMM, CLMM pools
Meteorameteora/DLMM, dynamic pools
Orcaorca/Whirlpools, concentrated liquidity
Kaminokamino/Lending, vaults
Marginfimarginfi/Lending protocol
Sanctumsanctum/LST staking
PumpFunpumpfun/Token launch
Pythpyth/Price oracles
Switchboardswitchboard/Oracles, VRF
Squadssquads/Multisig
DeBridgedebridge/Cross-chain bridging
LI.FIlifi/Cross-chain swaps, bridging, route discovery
Arciumarcium/Encrypted compute: dark pools, sealed-bid auctions
Light Protocollight-protocol/ZK compression
Birdeye[birdeye/](ext/sendai/ski
阅读完整来源 ↗