● Сообщество
sendaifun
⚡ Сразу
skills
автор sendaifun · sendaifun/skills
A public marketplace of Solana-related skills from Sendai — teach Claude on-chain Solana development patterns.
sendaifun/skills is a community marketplace of Agent Skills focused on Solana: SPL tokens, Anchor programs, common transactions, wallet integration patterns, and recipes for on-chain automations. It's opinionated toward Sendai's tooling but the patterns work broadly. Dev-focused — does not provide key management or wallet drainers.
Зачем использовать
Ключевые функции
- Solana development idioms: Anchor, SPL, transaction construction
- TypeScript tooling; web3.js and @solana/spl-token patterns
- Recipes for common flows: mint, transfer, swap, stake
- Open marketplace — anyone can contribute a skill
- Sendai Agent Kit-adjacent but not tied to it
Живое демо
Как выглядит на практике
skills-skill-5.replay
▶ готово
Сценарии использования
Реальные сценарии: skills
Когда использовать: You need a new Anchor program and don't want to pattern-match from random GitHub repos.
Поток
-
State the program goal
Scaffold an Anchor program for a simple escrow: deposit SOL, release to seller on confirmation.✓ Скопировано
→ Program with accounts, instructions, and idiomatic Anchor attributes
-
Tests
Add TypeScript client tests using the Anchor test harness.✓ Скопировано
→ tests/ directory with typed client
-
Build and deploy to localnet
Build, deploy to localnet, and verify the escrow flow with a test transaction.✓ Скопировано
→ Successful local deploy
Итог: A working Anchor program with tests.
Подводные камни
- Missing account constraints — Insist on explicit constraints for every account; skill prompts Claude to enumerate them
Когда использовать: You need an SPL token script you actually trust.
Поток
-
Draft the mint script
Write a TypeScript script that creates an SPL token with 9 decimals and mints 1M to a treasury account.✓ Скопировано
→ Script using @solana/spl-token with proper PDAs
-
Airdrop helper
Add a function that airdrops to an array of recipients using associated token accounts.✓ Скопировано
→ ATA creation + transfer
Итог: A reusable mint + distribute script.
Подводные камни
- Forgetting ATA creation — Use getOrCreateAssociatedTokenAccount, not manual derivations
Комбинации
Сочетайте с другими MCP — эффект x10
Work across an Anchor monorepo
Read programs/, add a new program following the existing structure.✓ Скопировано
Open PRs for contract changes with meaningful descriptions
Open a PR titled 'feat: escrow program' with tests.✓ Скопировано
Стоимость и лимиты
Во что обходится
- Квота API
- none beyond RPC usage you configure
- Токенов на вызов
- 5–15k per scaffold
- Деньги
- free at skill level; Solana fees are your own
- Совет
- Develop on localnet/devnet; don't burn mainnet SOL for iteration
Безопасность
Права, секреты, радиус поражения
Хранение учётных данных: never paste private keys into the prompt — use env vars and ephemeral devnet keys
Исходящий трафик: your configured RPC only
Никогда не давайте: wallet signing from within a prompt
- On-chain code is bearer-asset code: treat security review as mandatory before mainnet
- Never ask the skill to work with a mainnet wallet that holds real value
Устранение неполадок
Частые ошибки и исправления
anchor build fails
Check Rust toolchain and Anchor CLI version; pin with rust-toolchain.toml.
Проверить: anchor --version && rustc --version
Account constraint errors at runtime
Re-ask Claude to enumerate constraints and PDAs explicitly
Альтернативы
skills в сравнении
| Альтернатива | Когда использовать | Компромисс |
| aelf-skill | You're building on aelf, not Solana | Different chain |