Claude Code configs for expert Solana builders. Configures agents, commands, hooks, and settings for Web, Anchor, Pinnochio, Unity, and Mobile projects. Optimizes token efficiency and integrates best practices for full-stack Solana development.
git clone https://github.com/solanabr/solana-claude-config.gitsolana-claude-config is a comprehensive `.claude/` configuration that transforms Claude into a Solana development expert. It includes 15 specialized agents for tasks like architecture, Anchor smart contracts, Pinocchio programs, DeFi, tokens, frontend, and mobile development, plus 29 workflow commands for building, testing, deploying, and profiling. The configuration integrates 7 MCP servers for on-chain data, documentation, and local validator control, while using progressive skill loading to minimize token consumption. Designed for full-stack Solana builders working with Web, Anchor, Pinocchio, Unity, and Mobile projects, it combines best practices from multiple ecosystem sources into a single, adaptable setup.
[{"step":"Install the solana-claude-config skill in your Claude Code environment by running: `claude skills install solana-claude-config`","tip":"Ensure you have Node.js v18+ and Solana CLI v1.16+ installed for full functionality"},{"step":"Navigate to your Solana project root directory and run: `claude code --init solana-claude-config` to generate the initial configuration file","tip":"Use the `--dry-run` flag to preview changes before applying them to your project"},{"step":"Edit the generated `.claude/solana-config.yaml` file to match your project's specific requirements (project type, versions, token standards, etc.)","tip":"Refer to the skill's documentation for version compatibility matrices between Anchor, Pinocchio, and Unity SDKs"},{"step":"Run `claude code` in your project directory to apply the configuration. The skill will automatically set up: workspace hooks, Anchor commands, Pinocchio optimizations, Unity SDK integration, and token efficiency rules","tip":"Use `claude code --check` to validate your configuration before applying changes to your project"},{"step":"Test the configuration by running the recommended commands (e.g., `anchor build`, `pinocchio optimize`) and verify wallet adapter functionality in your target environment","tip":"For mobile projects, test on both Android and iOS simulators to ensure wallet adapter compatibility"}]
Architecting full-stack Solana applications with multi-agent workflows
Developing and testing Anchor smart contracts with specialized agent guidance
Building Solana frontends and mobile apps with context-optimized configs
Deploying and profiling Solana programs with automated workflow commands
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/solanabr/solana-claude-configCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Configure a [PROJECT_TYPE] Solana project using Claude Code with the following requirements: [REQUIREMENTS]. Use the solana-claude-config skill to generate a project-specific configuration file that includes: (1) Anchor workspace setup for [ANCHOR_VERSION], (2) Pinocchio optimization flags for [TARGET_CHAIN], (3) Unity SDK integration for [UNITY_VERSION], (4) Mobile wallet adapter settings for [WALLET_ADAPTER], and (5) Token efficiency rules for [TOKEN_STANDARD]. Include best practices for [DEVELOPMENT_PHASE].
Here's your fully configured Solana project setup for a Unity-based mobile game integrating token2022 standards:
```yaml
# .claude/solana-config.yaml
project_type: unity-mobile
anchor_version: 0.29.0
pinocchio_flags:
target_chain: devnet
optimization_level: aggressive
enable_logs: true
unity_sdk:
version: 1.5.3
android_package: com.solana.game.unity
ios_bundle_id: com.solana.game.unity
wallet_adapter:
supported: [phantom, solflare, backpocket]
auto_connect: true
token_standards:
primary: token2022
secondary: spl-token
efficiency_rules:
- max_decimals: 9
- freeze_authority: none
- transfer_fee: 0.01%
- default_mint_authority: program
development_phase: alpha
recommended_commands:
- anchor build --verifiable
- pinocchio optimize --all
- unity-export:android
- solana-test-validator --reset
```
Key optimizations implemented:
1. **Token2022 Integration**: Enabled with 9 decimal places and 0.01% transfer fee for microtransactions in-game
2. **Pinocchio Optimization**: Aggressive settings for devnet with logging enabled to capture performance metrics
3. **Unity Mobile Setup**: Configured for both Android (package: com.solana.game.unity) and iOS (bundle: com.solana.game.unity) with wallet adapter support
4. **Anchor 0.29.0**: Latest stable version with verifiable builds for production deployment
5. **Wallet Adapters**: Pre-configured for Phantom, Solflare, and Backpocket with auto-connect enabled
This configuration will automatically apply when you run `claude code` in this project directory, setting up all necessary hooks and commands for seamless development.AI copilot for robotic process automation
banking and payment solutions for businesses
AI assistant built for thoughtful, nuanced conversation
Agents that listen, think and act for you.
Accelerating protein engineering
Modernizing home health care agencies
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan