/ Каталог / Песочница / 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

Установка

Выберите клиент

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "skills-skill-5": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/sendaifun/skills",
        "~/.claude/skills/skills"
      ],
      "_inferred": true
    }
  }
}

Откройте Claude Desktop → Settings → Developer → Edit Config. Перезапустите после сохранения.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "skills-skill-5": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/sendaifun/skills",
        "~/.claude/skills/skills"
      ],
      "_inferred": true
    }
  }
}

Cursor использует ту же схему mcpServers, что и Claude Desktop. Конфиг проекта приоритетнее глобального.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "skills-skill-5": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/sendaifun/skills",
        "~/.claude/skills/skills"
      ],
      "_inferred": true
    }
  }
}

Щёлкните значок MCP Servers на боковой панели Cline, затем "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "skills-skill-5": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/sendaifun/skills",
        "~/.claude/skills/skills"
      ],
      "_inferred": true
    }
  }
}

Тот же формат, что и Claude Desktop. Перезапустите Windsurf для применения.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "skills-skill-5",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/sendaifun/skills",
        "~/.claude/skills/skills"
      ]
    }
  ]
}

Continue использует массив объектов серверов, а не map.

~/.config/zed/settings.json
{
  "context_servers": {
    "skills-skill-5": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/sendaifun/skills",
          "~/.claude/skills/skills"
        ]
      }
    }
  }
}

Добавьте в context_servers. Zed перезагружается автоматически.

claude mcp add skills-skill-5 -- git clone https://github.com/sendaifun/skills ~/.claude/skills/skills

Однострочная команда. Проверить: claude mcp list. Удалить: claude mcp remove.

Сценарии использования

Реальные сценарии: 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.

Предварительные требования
  • Rust + Anchor CLI installed — rustup + cargo install --git https://github.com/coral-xyz/anchor anchor-cli
  • Skill cloned — git clone https://github.com/sendaifun/skills ~/.claude/skills/skills-sendai
Поток
  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 — эффект x10

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

Ещё

Ресурсы

📖 Читать официальный README на GitHub

🐙 Открытые задачи

🔍 Все 400+ MCP-серверов и Skills