Co-Pilot / 辅助式
更新于 a month ago

solana-dev-skill

Ssolana-foundation
0.2k
guibibeau/solana-dev-skill
82
Agent 评分

💡 摘要

一个增强Solana开发的Claude Code技能,提供最佳实践和工具。

🎯 适合人群

Solana开发者区块链爱好者转向Solana的软件工程师技术项目经理区块链技术教育工作者

🤖 AI 吐槽:看起来很能打,但别让配置把人劝退。

安全分析中风险

风险:Medium。建议检查:是否执行 shell/命令行指令;是否发起外网请求(SSRF/数据外发);API Key/Token 的获取、存储与泄露风险。以最小权限运行,并在生产环境启用前审计代码与依赖。

Solana Development Skill for Claude Code

A comprehensive Claude Code skill for modern Solana development (January 2026 best practices).

Overview

This skill provides Claude Code with deep knowledge of the current Solana development ecosystem:

  • UI: Solana Foundation framework-kit (@solana/client + @solana/react-hooks)
  • SDK: @solana/kit (v5.x) for new client work
  • Legacy Interop: @solana/web3-compat for bridging to web3.js dependencies
  • Programs: Anchor (default), Pinocchio for high-performance needs
  • Testing: LiteSVM/Mollusk for unit tests, Surfpool for integration
  • Codegen: Codama-first IDL and client generation
  • Security: Comprehensive vulnerability patterns and prevention

Installation

Quick Install

npx add-skill https://github.com/GuiBibeau/solana-dev-skill

Manual Install

git clone https://github.com/GuiBibeau/solana-dev-skill cd solana-dev-skill ./install.sh

Skill Structure

skill/
├── SKILL.md                    # Main skill definition (required)
├── frontend-framework-kit.md   # UI patterns with framework-kit
├── kit-web3-interop.md         # Kit ↔ web3.js boundary patterns
├── programs-anchor.md          # Anchor program development
├── programs-pinocchio.md       # Pinocchio (high-performance native)
├── testing.md                  # Testing (LiteSVM/Mollusk/Surfpool)
├── idl-codegen.md              # IDL and client generation
├── payments.md                 # Payments with Commerce Kit
├── security.md                 # Security vulnerabilities & prevention
└── resources.md                # Curated reference links

Usage

Once installed, Claude Code will automatically use this skill when you ask about:

  • Solana dApp UI work (React / Next.js)
  • Wallet connection and signing flows
  • Transaction building, sending, and confirmation UX
  • On-chain program development (Anchor or Pinocchio)
  • Client SDK generation (typed program clients)
  • Local testing (LiteSVM, Mollusk, Surfpool)
  • Security hardening and audit-style reviews

Example Prompts

"Help me set up a Next.js app with Solana wallet connection"
"Create an Anchor program for a simple escrow"
"Convert this Anchor program to Pinocchio for better CU efficiency"
"How do I integrate a legacy web3.js library with my Kit-based app?"
"Write LiteSVM tests for my token transfer instruction"
"Review this program for security issues"

Stack Decisions

This skill encodes opinionated best practices:

| Layer | Default Choice | Alternative | |-------|---------------|-------------| | UI Framework | framework-kit | ConnectorKit (headless) | | Client SDK | @solana/kit | @solana/web3-compat (boundary) | | Program Framework | Anchor | Pinocchio (performance) | | Unit Testing | LiteSVM / Mollusk | - | | Integration Testing | Surfpool | solana-test-validator | | Client Generation | Codama | Kinobi (Umi) |

Content Sources

This skill incorporates best practices from:

Progressive Disclosure

The skill uses Claude Code's progressive disclosure pattern. The main SKILL.md provides core guidance, and Claude reads the specialized markdown files only when needed for specific tasks.

Contributing

Contributions are welcome! Please ensure any updates reflect current Solana ecosystem best practices.

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

License

MIT License - see LICENSE for details.

五维分析
清晰度9/10
创新性7/10
实用性9/10
完整性8/10
可维护性8/10
优缺点分析

优点

  • 全面覆盖Solana开发工具。
  • 结合最佳实践和安全措施。
  • 支持现代和遗留系统。

缺点

  • 可能需要对多个框架的熟悉。
  • 对初学者可能会感到压倒。
  • 依赖外部资源进行更新。

相关技能

pytorch

S
toolCode Lib / 代码库
92/ 100

“它是深度学习的瑞士军刀,但祝你好运能从47种安装方法里找到那个不会搞崩你系统的那一个。”

agno

S
toolCode Lib / 代码库
90/ 100

“它承诺成为智能体领域的Kubernetes,但得看开发者有没有耐心学习又一个编排层。”

nuxt-skills

S
toolCo-Pilot / 辅助式
90/ 100

“这本质上是一份组织良好的小抄,能把你的 AI 助手变成一只 Nuxt 框架的复读机。”

免责声明:本内容来源于 GitHub 开源项目,仅供展示和评分分析使用。

版权归原作者所有 solana-foundation.