/ Каталог / Песочница / aelf-skills
● Сообщество AElfProject ⚡ Сразу

aelf-skills

автор 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.

Зачем использовать

Ключевые функции

Живое демо

Как выглядит на практике

aelf-skill.replay ▶ готово
0/0

Установка

Репозиторий автора · Официальная документация Claude Skills

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

Реальные сценарии: aelf-skills

How to bootstrap a local aelf dev environment

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

Когда использовать: You just decided to build on aelf and have nothing set up.

Поток
  1. Bootstrap
    Use aelf-skills bootstrap. Set up aelf CLI, local node, and a test wallet.✓ Скопировано
    → Chain running, wallet created, addresses echoed
  2. Health check
    Run aelf-skills health. Confirm node, wallet balance, and RPC.✓ Скопировано
    → Green checks on each component

Итог: A local aelf dev environment ready for contract work.

Подводные камни
  • 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

Когда использовать: You've done Ethereum/Solidity and want the aelf equivalent.

Поток
  1. Scaffold
    Scaffold a token contract in C# for aelf: transfer, balanceOf, approve, transferFrom.✓ Скопировано
    → Project with proto + contract class
  2. Deploy to local
    Deploy to local dev chain, return the contract address.✓ Скопировано
    → Address + first transaction hash
  3. Test
    Write and run a minimal test that calls transfer and asserts balances.✓ Скопировано
    → Test passes

Итог: 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

Когда использовать: You know what you want to do; you don't know which skill does it.

Поток
  1. Ask the hub
    I want to send an aelf transaction from a dApp frontend. Which aelf sub-skill?✓ Скопировано
    → Sub-skill name + why

Итог: Right skill loaded for the task.

Комбинации

Сочетайте с другими MCP — эффект x10

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.✓ Скопировано
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.✓ Скопировано

Инструменты

Что предоставляет этот MCP

ИнструментВходные данныеКогда вызыватьСтоимость
bootstrap - First-time setup 0
health - Troubleshooting 0
route task description Task discovery Claude tokens
Contract scaffolding - New contract dev Claude tokens

Стоимость и лимиты

Во что обходится

Квота API
None at skill level
Токенов на вызов
5-20k per task
Деньги
Free skill; testnet interactions are free
Совет
Run health checks before any real operation to avoid debugging token-wasted sessions.

Безопасность

Права, секреты, радиус поражения

Хранение учётных данных: aelf wallet private key in local config. Never paste into prompts.
Исходящий трафик: RPC calls to local node or configured aelf endpoint

Устранение неполадок

Частые ошибки и исправления

aelf CLI install fails

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

Проверить: 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

Проверить: dotnet build — check for protobuf warnings

Альтернативы

aelf-skills в сравнении

АльтернативаКогда использоватьКомпромисс
aelf docs + CLI directlyYou prefer reading docs and scripting yourselfSlower ramp-up

Ещё

Ресурсы

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

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

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