/ Diretório / Playground / aelf-skills
● Comunidade AElfProject ⚡ Instantâneo

aelf-skills

por AElfProject · AElfProject/aelf-skills

Unified aelf blockchain skills hub — discovery, routing, bootstrap, and health checks across Claude Code, Cursor, Codex, and OpenClaw.

aelf-skills is the official aelf (a Chinese-origin blockchain platform) skills hub. Acts as a router: discovers which sub-skill matches a task (smart contract dev, dApp scaffolding, testnet interactions), bootstraps environments, and runs health checks. Good for devs building on aelf who want a consistent cross-agent experience.

Por que usar

Principais recursos

Demo ao vivo

Como fica na prática

aelf-skill.replay ▶ pronto
0/0

Instalar

Escolha seu cliente

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

Abra Claude Desktop → Settings → Developer → Edit Config. Reinicie após salvar.

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

Cursor usa o mesmo esquema mcpServers que o Claude Desktop. Config de projeto vence a global.

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

Clique no ícone MCP Servers na barra lateral do Cline, depois "Edit Configuration".

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

Mesmo formato do Claude Desktop. Reinicie o Windsurf para aplicar.

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

O Continue usa um array de objetos de servidor em vez de um map.

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

Adicione em context_servers. Zed recarrega automaticamente ao salvar.

claude mcp add aelf-skill -- git clone https://github.com/AElfProject/aelf-skills ~/.claude/skills/aelf-skills

Uma linha só. Verifique com claude mcp list. Remova com claude mcp remove.

Casos de uso

Usos do mundo real: aelf-skills

How to bootstrap a local aelf dev environment

👤 Developers new to aelf wanting a working local chain ⏱ ~30 min intermediate

Quando usar: You just decided to build on aelf and have nothing set up.

Pré-requisitos
  • Skill installed — git clone https://github.com/AElfProject/aelf-skills ~/.claude/skills/aelf-skills
  • .NET 6+ — Required for aelf SDK
Fluxo
  1. Bootstrap
    Use aelf-skills bootstrap. Set up aelf CLI, local node, and a test wallet.✓ Copiado
    → Chain running, wallet created, addresses echoed
  2. Health check
    Run aelf-skills health. Confirm node, wallet balance, and RPC.✓ Copiado
    → Green checks on each component

Resultado: A local aelf dev environment ready for contract work.

Armadilhas
  • Port collisions if you've run other chains — Skill surfaces the port map and proposes free ports

Scaffold a C# aelf smart contract

👤 Developers writing their first aelf contract ⏱ ~90 min advanced

Quando usar: You've done Ethereum/Solidity and want the aelf equivalent.

Fluxo
  1. Scaffold
    Scaffold a token contract in C# for aelf: transfer, balanceOf, approve, transferFrom.✓ Copiado
    → Project with proto + contract class
  2. Deploy to local
    Deploy to local dev chain, return the contract address.✓ Copiado
    → Address + first transaction hash
  3. Test
    Write and run a minimal test that calls transfer and asserts balances.✓ Copiado
    → Test passes

Resultado: A deployed and tested contract on your local aelf chain.

Discover which aelf sub-skill handles your task

👤 Anyone unsure which aelf skill to invoke ⏱ ~5 min beginner

Quando usar: You know what you want to do; you don't know which skill does it.

Fluxo
  1. Ask the hub
    I want to send an aelf transaction from a dApp frontend. Which aelf sub-skill?✓ Copiado
    → Sub-skill name + why

Resultado: Right skill loaded for the task.

Combinações

Combine com outros MCPs para 10× de alavancagem

aelf-skill + github

Search aelf SDK examples on GitHub then use aelf-skills to scaffold a contract based on found patterns

Search AElfProject org on GitHub for token contract examples, then use aelf-skills to scaffold a similar contract locally.✓ Copiado
aelf-skill + filesystem

Read existing C# contract code locally and use aelf-skills to add tests and deploy

Read my contract in ~/projects/aelf-token/src/, then use aelf-skills to write tests and deploy to local dev chain.✓ Copiado

Ferramentas

O que este MCP expõe

FerramentaEntradasQuando chamarCusto
bootstrap - First-time setup 0
health - Troubleshooting 0
route task description Task discovery Claude tokens
Contract scaffolding - New contract dev Claude tokens

Custo e limites

O que custa rodar

Cota de API
None at skill level
Tokens por chamada
5-20k per task
Monetário
Free skill; testnet interactions are free
Dica
Run health checks before any real operation to avoid debugging token-wasted sessions.

Segurança

Permissões, segredos, alcance

Armazenamento de credenciais: aelf wallet private key in local config. Never paste into prompts.
Saída de dados: RPC calls to local node or configured aelf endpoint

Solução de problemas

Erros comuns e correções

aelf CLI install fails

Check .NET version; aelf SDK targets specific .NET releases

Verificar: dotnet --version
Local node not responding

Run health check; common causes: port conflict or not enough disk for chaindata

Contract deployment fails with protobuf error

Ensure your .proto files match the aelf SDK version; regenerate stubs with the correct protoc plugin

Verificar: dotnet build — check for protobuf warnings

Alternativas

aelf-skills vs. outros

AlternativaQuando usarTroca
aelf docs + CLI directlyYou prefer reading docs and scripting yourselfSlower ramp-up

Mais

Recursos

📖 Leia o README oficial no GitHub

🐙 Ver issues abertas

🔍 Ver todos os 400+ servidores MCP e Skills