acton
БесплатноБез исполняемых скриптовНе проверенActon CLI workflow for TON smart contract development in Tolk: install/update, project bootstrap, Acton.toml configuration, build/compile/wrapper generation…
от jiayaoqijia★ 81 звезда на GitHubОб этом скилле
Acton TON CLI Workflow
Source of truth
- Prefer the exact installed binary for command spelling and behavior:
acton --versionacton --helpacton help <command>acton <command> --help
- Use official hosted docs for current concepts, tutorials, and full reference:
https://ton-blockchain.github.io/acton/docs/welcome/https://ton-blockchain.github.io/acton/docs/commands/https://ton-blockchain.github.io/acton/llms-full.txt
- Use the official examples repo for real project patterns and reference contracts:
https://github.com/ton-blockchain/acton-contracts
- Read bundled references only when needed:
references/command-map.mdfor fast command selectionreferences/troubleshooting.mdfor common failure modes
- Do not assume local paths, private checkouts, or a specific developer machine.
- Use GitHub source only when the user explicitly asks to inspect upstream implementation. Treat
acton-contractsas examples of project structure and contract patterns, not as the source of truth for CLI flags. - If docs and the installed CLI disagree, state the Acton version and follow the installed CLI for that local workflow. If the user wants latest behavior, suggest
acton upor the install/update flow first.
First-release exclusions
- Do not recommend
acton localnetor--net localnet. That feature may remain visible in source or trunk help, but it is excluded from the first release and should be treated as unavailable in public workflows.
Install or update Acton
If acton is missing and the task requires running it, install the public binary:
curl -LsSf https://github.com/ton-blockchain/acton/releases/latest/download/acton-installer.sh | sh
Then open a fresh shell or reload the updated shell profile if needed, and verify:
acton --version
acton --help
Update and version management:
acton upinstalls the latest stable release.acton up --listlists available versions.acton up <version>installs a specific version.acton up --trunkinstalls the latest trunk build when supported by the installed CLI.- In CI, prefer
ton-blockchain/setup-acton@masteror the publishedghcr.io/ton-blockchain/acton:<version>image.
First checks in any project
- Confirm tool and project context:
acton --versionacton doctorpwd
- If running from outside the project, select context explicitly:
acton --project-root <PATH> ...acton --manifest-path <PATH>/Acton.toml ...
- Inspect the relevant command help before relying on memory:
acton help buildacton help testacton help script
- Inspect
Acton.tomlfor the sections that matter:[package][contracts][build][wrappers.tolk][wrappers.typescript][fmt][test][lint][networks][scripts][import-mappings]
Project-root rule: config-relative paths are resolved from the project root. Relative CLI path flags are resolved from the current working directory unless passed as absolute paths.
Project bootstrap
- Use
acton new [path] --template empty|counter|jetton|nftfor a fresh project. - Useful
acton newflags:--name,--description,--license--appfor the TypeScript/Vite app scaffold when the template supports it--hooksfor default project Git hooks--agentsfor generated coding-agent guidance
- Use
acton initto add Acton support to an existing directory. - Useful
acton initmodes:acton init --create-app [path]creates only the TypeScript app scaffoldacton init --stdlib-onlyrefreshes only the bundled standard library
acton initcan patch default[import-mappings]into an existing manifest, but that rewrite may drop TOML comments and unknown keys.
Build, compile, and wrappers
acton build [contract-name]- Builds all contracts, or one contract plus transitive dependencies.
- Common flags:
--clear-cache,--graph <path>,--out-dir <dir>,--gen-dir <dir>,--output-fift <dir>,--info.
acton compile <file.tolk>- Single-file compiler entrypoint.
- Common flags:
--json,--base64-only,--boc <file>,--fift <file>,--source-map <file>,--abi <file>,--allow-no-entrypoint,--clear-cache.
acton wrapper <contract-name>- Generates Tolk wrappers from contract ABI.
- Use
--test,--test-output, or--test-output-dirfor test stubs. - Use
--tsfor TypeScript wrappers viagen-typescript-from-tolk. - Do not combine
--tswith test-stub generation.
- If ABI, storage, or message types changed, regenerate wrappers instead of hand-editing generated files.
- Wrapper output defaults come from
[wrappers.tolk],[wrappers.typescript], and the@wrappersimport mapping.
Tests and quality gates
- Core entrypoint:
acton test [path]. - Common test flags:
--filter <regex>,--include <glob>,--exclude <glob>- `
Установить acton в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл acton?
Acton CLI workflow for TON smart contract development in Tolk: install/update, project bootstrap, Acton.toml configuration, build/compile/wrapper generation, tests with coverage/gas/fuzz/mutation/UI, scripts and deployment, wallets, verification, RPC inspection, libraries, lint/format/hooks, LSP/completions, and troubleshooting.
Как установить скилл acton?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл acton запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic