aptos-agent-skills — плагин для Claude Code: скиллы для Aptos
Набор скиллов для разработки на Aptos: контракты Move, TypeScript SDK, аудит безопасности и оптимизация газа.
/plugin marketplace add anthropics/claude-plugins-community
/plugin install aptos-agent-skills@claude-communityЧто делает aptos-agent-skills
Плагин добавляет в Claude 17 скиллов по разработке на блокчейне Aptos. Среди них генерация контрактов Move V2, тесты, аудит безопасности перед деплоем, публикация в devnet, testnet или mainnet, поиск примеров в aptos-core, анализ газа и миграция со старой модели ресурсных аккаунтов на объектную.
Отдельный блок — TypeScript SDK: настройка клиента с AptosConfig, работа с аккаунтами и подписантами, разбор адресов по AIP-40, транзакции включая спонсируемые и multi-agent, вызовы view-функций, маппинг типов Move в TypeScript и подключение кошельков в React через useWallet. Есть скилл для развёртывания нового проекта через create-aptos-dapp и один скилл из сообщества — спонсорство газа через SmoothSend.
Скиллы срабатывают по тому, что вы пишете: фраза про NFT-контракт запускает /write-contracts, про тесты — /generate-tests. В Cursor и GitHub Copilot файлы скиллов подключают вручную через @skills/.../SKILL.md. Сообщественные скиллы поддерживают сторонние разработчики, проверку Aptos Labs они не проходили — это повод прочитать их исходники перед использованием.
Какие задачи решает
- сгенерировать контракт Move V2 для NFT-маркетплейса
- написать юнит-тесты Move с полным покрытием кода
- проверить контракт на уязвимости до деплоя
- снизить стоимость транзакций в Move-контракте
- подключить кошелёк Aptos к React-приложению
Примеры запросов агенту
- Создай новый dApp на Aptos
- Напиши контракт для NFT и тесты к нему
- Проверь безопасность этого контракта перед деплоем в testnet
Как установить aptos-agent-skills
Через маркетплейс плагинов
/plugin marketplace add anthropics/claude-plugins-community/plugin install aptos-agent-skills@claude-communityПо шагам, с командами для каждой платформы: Плагины Claude Code: маркетплейсы, установка и как собрать свой
Вопросы о aptos-agent-skills
Как установить aptos-agent-skills в Claude Code?
Через маркетплейс: сначала /plugin marketplace add anthropics/claude-plugins-community, затем /plugin install aptos-agent-skills@claude-community.
Что делает aptos-agent-skills?
Даёт ассистенту знания по разработке на Aptos: контракты Move, тесты, аудит, деплой, TypeScript SDK и работа с кошельками.
Скиллы из сообщества проверены?
Нет, их поддерживают сторонние разработчики, и Aptos Labs их не ревьюила. Официальные скиллы идут отдельно от блока community-skills.
Исходный текст
SKILL.md · MIT
# Aptos Agent Skills [](https://agentskills.io) [](LICENSE) [](#aptos-development-skills) [](patterns/) [](https://skillsmp.com/search?q=aptos) [](https://skills.sh/search?q=aptos) AI-assisted Aptos blockchain development with **Claude Code**, **Cursor**, and **GitHub Copilot**. These skills give your AI coding assistant deep knowledge of Move smart contract development, the Aptos TypeScript SDK, and the full dApp lifecycle — from project scaffolding to deployment. - **Move V2 Object Model** — Write secure smart contracts using modern Aptos patterns - **Gas Optimization** — Analyze and reduce transaction costs in Move contracts - **Security Auditing** — Catch vulnerabilities before deploying to devnet, testnet, or mainnet - **TypeScript SDK** — Integrate Aptos wallets, transactions, and view functions into your frontend - **AI-Powered Workflow** — Skills activate automatically based on developer intent ## Install #### Recommended ```bash npx skills add aptos-labs/aptos-agent-skills ``` #### Claude Code plugin ``` /plugin marketplace add aptos-labs/aptos-agent-skills ``` #### Manual ```bash git clone https://github.com/aptos-labs/aptos-agent-skills.git ``` See [INSTALL.md](INSTALL.md) for selective installation and other options. ## Aptos Development Skills ### Move Smart Contracts | Skill | Purpose | | ------------------------------------------------------------------------- | ------------------------------------------------------------ | | [write-contracts](skills/move/write-contracts/SKILL.md) | Generate secure Aptos Move V2 smart contracts | | [generate-tests](skills/move/generate-tests/SKILL.md) | Generate Move unit tests targeting 100% code coverage | | [security-audit](skills/move/security-audit/SKILL.md) | Security audit for Move smart contracts before deployment | | [deploy-contracts](skills/move/deploy-contracts/SKILL.md) | Deploy Move contracts to devnet, testnet, or mainnet | | [search-aptos-examples](skills/move/search-aptos-examples/SKILL.md) | Search aptos-core for reference implementations and patterns | | [analyze-gas-optimization](skills/move/analyze-gas-optimization/SKILL.md) | Analyze and reduce gas costs in Move smart contracts | | [modernize-move](skills/move/modernize-move/SKILL.md) | Migrate Move V1 resource accounts to V2 object model | ### TypeScript SDK | Skill | Purpose | | ----------------------------------------------------------------------------- | ------------------------------------------------------------------------------ | | [use-ts-sdk](skills/sdk/typescript/use-ts-sdk/SKILL.md) | Aptos TypeScript SDK orchestrator for frontend integration | | [ts-sdk-client](skills/sdk/typescript/ts-sdk-client/SKILL.md) | Set up Aptos client with AptosConfig and network selection | | [ts-sdk-account](skills/sdk/typescript/ts-sdk-account/SKILL.md) | Create Aptos accounts and signers from private keys or derivation paths | | [ts-sdk-address](skills/sdk/typescript/ts-sdk-address/SKILL.md) | Parse and derive Aptos account addresses (AIP-40) | | [ts-sdk-transactions](skills/sdk/typescript/ts-sdk-transactions/SKILL.md) | Build, sign, and submit Aptos transactions including sponsored and multi-agent | | [ts-sdk-view-and-query](skills/sdk/typescript/ts-sdk-view-and-query/SKILL.md) | Call Move view functions and query on-chain Aptos data | | [ts-sdk-types](skills/sdk/typescript/ts-sdk-types/SKILL.md) | Map Move types to TypeScript (u64, u128, address, vector) | | [ts-sdk-wallet-adapter](skills/sdk/typescript/ts-sdk-wallet-adapter/SKILL.md) | Integrate Aptos wallets into React apps with useWallet | ### Project Setup | Skill | Purpose | | -------------------------------------------------------------------- | ------------------------------------------------------- | | [create-aptos-project](skills/project/create-aptos-project/SKILL.md) | Scaffold new Aptos dApp projects with create-aptos-dapp | ### Community Skills Community-contributed skills built by developers across the Aptos ecosystem. These are independently maintained and have not been reviewed by Aptos Labs. See [community-skills/](community-skills/) for contribution guidelines. | Skill | Author | Purpose | | ------------------------------------------------------------------ | --------- | ------------------------------------------------------- | | [smoothsend-gasless](community-skills/smoothsend-gasless/SKILL.md) | ivedmohan | Sponsor gas fees for Aptos transactions with SmoothSend | ## Quick Start ### Claude Code Skills activate automatically based on what you say: ``` "Create a new dApp" → project scaffolding "Write an NFT contract" → /write-contracts "Write tests for this" → /generate-tests "Check security" → /security-audit "Deploy to testnet" → /deploy-contracts "Add a frontend" → /use-ts-sdk ``` ### Cursor / Copilot Reference skill files directly in prompts: ``` @skills/move/write-contracts/SKILL.md Help me build an NFT marketplace ``` Include `CLAUDE.md` in your workspace context for full skill routing and auto-recommendations. ## Aptos dApp Development Workflow 1. **Create** — `/create-aptos-project` scaffolds with `npx create-aptos-dapp` 2. **Write** — `/write-contracts` generates Move modules 3. **Test** — `/generate-tests` creates test suites with 100% coverage 4. **Audit** — `/security-audit` checks for vulnerabilities 5. **Deploy** — `/deploy-contracts` publishes to your target network 6. **Frontend** — `/use-ts-sdk` wires up TypeScript integration See [CLAUDE.md](CLAUDE.md) for all workflows, global rules, and pattern references. ## Learn More | Resource | Description | | ----------------------------------------------- | ------------------------------------------------------------------------------- | | [CLAUDE.md](CLAUDE.md) | Full guide for AI assistants — workflows, rules, skill routing | | [INSTALL.md](INSTALL.md) | Installation options and selective skill setup | | [patterns/](patterns/) | Reference docs for objects, digital assets, fungible assets, security, and more | | [community-skills/](community-skills/) | Community-contributed skills and contribution guidelines | | [aptos.dev](https://aptos.dev) | Official Aptos documentation | | [SkillsMP](https://skillsmp.com/search?q=aptos) | Browse Aptos skills on SkillsMP | | [Skills.sh](https://skills.sh/search?q=aptos) | Browse and install via Skills.sh | ## Contributing We welcome contributions — new skills, pattern improvements, examples, and bug fixes. See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines. ## License MIT — see [LICENSE](LICENSE) for details.
© aptos-labs · MIT · aptos-labs/aptos-agent-skills