/ ディレクトリ / プレイグラウンド / skills
● コミュニティ 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.

なぜ使うのか

主な機能

ライブデモ

実際の動作

skills-skill-5.replay ▶ 準備完了
0/0

インストール

作者のリポジトリ · Claude Skills の公式ドキュメント

ユースケース

実用的な使い方: skills

How to scaffold an Anchor program with Claude

👤 Solana developers starting a new on-chain program ⏱ ~60 min advanced

使うタイミング: You need a new Anchor program and don't want to pattern-match from random GitHub repos.

フロー
  1. 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
  2. Tests
    Add TypeScript client tests using the Anchor test harness.✓ コピーしました
    → tests/ directory with typed client
  3. 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
組み合わせ: filesystem

Mint and distribute an SPL token

👤 Builders launching a token for a dev/test use case ⏱ ~30 min intermediate

使うタイミング: You need an SPL token script you actually trust.

フロー
  1. 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
  2. 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と組み合わせて10倍の力を

skills-skill-5 + filesystem

Work across an Anchor monorepo

Read programs/, add a new program following the existing structure.✓ コピーしました
skills-skill-5 + github

Open PRs for contract changes with meaningful descriptions

Open a PR titled 'feat: escrow program' with tests.✓ コピーしました

ツール

このMCPが提供する機能

ツール入力呼び出すタイミングコスト
anchor-scaffolding program intent New program 0
spl-token-recipes mint/transfer/airdrop intent Token work 0
transaction-builder list of instructions Complex multi-ix flows 0

コストと制限

運用コスト

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

トラブルシューティング

よくあるエラーと対処法

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-skillYou're building on aelf, not SolanaDifferent chain

その他

リソース

📖 GitHub の公式 README を読む

🐙 オープンな issue を見る

🔍 400以上のMCPサーバーとSkillsを見る