/ Diretório / Playground / skills
● Comunidade sendaifun ⚡ Instantâneo

skills

por 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.

Por que usar

Principais recursos

Demo ao vivo

Como fica na prática

skills-skill-5.replay ▶ pronto
0/0

Instalação

Repositório do autor · Documentação oficial de Skills do Claude

Casos de uso

Usos do mundo real: skills

How to scaffold an Anchor program with Claude

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

Quando usar: You need a new Anchor program and don't want to pattern-match from random GitHub repos.

Fluxo
  1. State the program goal
    Scaffold an Anchor program for a simple escrow: deposit SOL, release to seller on confirmation.✓ Copiado
    → Program with accounts, instructions, and idiomatic Anchor attributes
  2. Tests
    Add TypeScript client tests using the Anchor test harness.✓ Copiado
    → tests/ directory with typed client
  3. Build and deploy to localnet
    Build, deploy to localnet, and verify the escrow flow with a test transaction.✓ Copiado
    → Successful local deploy

Resultado: A working Anchor program with tests.

Armadilhas
  • Missing account constraints — Insist on explicit constraints for every account; skill prompts Claude to enumerate them
Combine com: filesystem

Mint and distribute an SPL token

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

Quando usar: You need an SPL token script you actually trust.

Fluxo
  1. Draft the mint script
    Write a TypeScript script that creates an SPL token with 9 decimals and mints 1M to a treasury account.✓ Copiado
    → 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.✓ Copiado
    → ATA creation + transfer

Resultado: A reusable mint + distribute script.

Armadilhas
  • Forgetting ATA creation — Use getOrCreateAssociatedTokenAccount, not manual derivations

Combinações

Combine com outros MCPs para 10× de alavancagem

skills-skill-5 + filesystem

Work across an Anchor monorepo

Read programs/, add a new program following the existing structure.✓ Copiado
skills-skill-5 + github

Open PRs for contract changes with meaningful descriptions

Open a PR titled 'feat: escrow program' with tests.✓ Copiado

Ferramentas

O que este MCP expõe

FerramentaEntradasQuando chamarCusto
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

Custo e limites

O que custa rodar

Cota de API
none beyond RPC usage you configure
Tokens por chamada
5–15k per scaffold
Monetário
free at skill level; Solana fees are your own
Dica
Develop on localnet/devnet; don't burn mainnet SOL for iteration

Segurança

Permissões, segredos, alcance

Armazenamento de credenciais: never paste private keys into the prompt — use env vars and ephemeral devnet keys
Saída de dados: your configured RPC only
Nunca conceda: wallet signing from within a prompt

Solução de problemas

Erros comuns e correções

anchor build fails

Check Rust toolchain and Anchor CLI version; pin with rust-toolchain.toml.

Verificar: anchor --version && rustc --version
Account constraint errors at runtime

Re-ask Claude to enumerate constraints and PDAs explicitly

Alternativas

skills vs. outros

AlternativaQuando usarTroca
aelf-skillYou're building on aelf, not SolanaDifferent chain

Mais

Recursos

📖 Leia o README oficial no GitHub

🐙 Ver issues abertas

🔍 Ver todos os 400+ servidores MCP e Skills