/ Verzeichnis / Playground / aelf-skills
● Community AElfProject ⚡ Sofort

aelf-skills

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

Warum nutzen

Hauptfunktionen

Live-Demo

In der Praxis

aelf-skill.replay ▶ bereit
0/0

Installieren

Wählen Sie Ihren Client

~/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
    }
  }
}

Öffne Claude Desktop → Settings → Developer → Edit Config. Nach dem Speichern neu starten.

~/.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 nutzt das gleiche mcpServers-Schema wie Claude Desktop. Projektkonfiguration schlägt die globale.

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
    }
  }
}

Klicken Sie auf das MCP-Servers-Symbol in der Cline-Seitenleiste, dann "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
    }
  }
}

Gleiche Struktur wie Claude Desktop. Windsurf neu starten zum Übernehmen.

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

Continue nutzt ein Array von Serverobjekten statt einer Map.

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

In context_servers hinzufügen. Zed lädt beim Speichern neu.

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

Einzeiler. Prüfen mit claude mcp list. Entfernen mit claude mcp remove.

Anwendungsfälle

Praxisnahe Nutzung: aelf-skills

How to bootstrap a local aelf dev environment

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

Wann einsetzen: You just decided to build on aelf and have nothing set up.

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

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

Fallstricke
  • 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

Wann einsetzen: You've done Ethereum/Solidity and want the aelf equivalent.

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

Ergebnis: 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

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

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

Ergebnis: Right skill loaded for the task.

Kombinationen

Mit anderen MCPs für 10-fache Wirkung

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.✓ Kopiert
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.✓ Kopiert

Werkzeuge

Was dieses MCP bereitstellt

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

Kosten & Limits

Was der Betrieb kostet

API-Kontingent
None at skill level
Tokens pro Aufruf
5-20k per task
Kosten in €
Free skill; testnet interactions are free
Tipp
Run health checks before any real operation to avoid debugging token-wasted sessions.

Sicherheit

Rechte, Secrets, Reichweite

Credential-Speicherung: aelf wallet private key in local config. Never paste into prompts.
Datenabfluss: RPC calls to local node or configured aelf endpoint

Fehlerbehebung

Häufige Fehler und Lösungen

aelf CLI install fails

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

Prüfen: 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

Prüfen: dotnet build — check for protobuf warnings

Alternativen

aelf-skills vs. andere

AlternativeWann stattdessenKompromiss
aelf docs + CLI directlyYou prefer reading docs and scripting yourselfSlower ramp-up

Mehr

Ressourcen

📖 Offizielle README auf GitHub lesen

🐙 Offene Issues ansehen

🔍 Alle 400+ MCP-Server und Skills durchsuchen