Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

acton

БесплатноБез исполняемых скриптовНе проверен

Acton CLI workflow for TON smart contract development in Tolk: install/update, project bootstrap, Acton.toml configuration, build/compile/wrapper generation…

jiayaoqijiaот jiayaoqijia★ 81 звезда на GitHub

Об этом скилле

Acton TON CLI Workflow

Source of truth

  • Prefer the exact installed binary for command spelling and behavior:
    • acton --version
    • acton --help
    • acton 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.md for fast command selection
    • references/troubleshooting.md for 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-contracts as 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 up or the install/update flow first.

First-release exclusions

  • Do not recommend acton localnet or --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 up installs the latest stable release.
  • acton up --list lists available versions.
  • acton up <version> installs a specific version.
  • acton up --trunk installs the latest trunk build when supported by the installed CLI.
  • In CI, prefer ton-blockchain/setup-acton@master or the published ghcr.io/ton-blockchain/acton:<version> image.

First checks in any project

  1. Confirm tool and project context:
    • acton --version
    • acton doctor
    • pwd
  2. If running from outside the project, select context explicitly:
    • acton --project-root <PATH> ...
    • acton --manifest-path <PATH>/Acton.toml ...
  3. Inspect the relevant command help before relying on memory:
    • acton help build
    • acton help test
    • acton help script
  4. Inspect Acton.toml for 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|nft for a fresh project.
  • Useful acton new flags:
    • --name, --description, --license
    • --app for the TypeScript/Vite app scaffold when the template supports it
    • --hooks for default project Git hooks
    • --agents for generated coding-agent guidance
  • Use acton init to add Acton support to an existing directory.
  • Useful acton init modes:
    • acton init --create-app [path] creates only the TypeScript app scaffold
    • acton init --stdlib-only refreshes only the bundled standard library
  • acton init can 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-dir for test stubs.
    • Use --ts for TypeScript wrappers via gen-typescript-from-tolk.
    • Do not combine --ts with 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 @wrappers import mapping.

Tests and quality gates

  • Core entrypoint: acton test [path].
  • Common test flags:
    • --filter <regex>, --include <glob>, --exclude <glob>
    • `
Полный SKILL.md на GitHub

Установить acton в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

SOURCE.mdTRUST.auto.yamlagents/openai.yamlreferences/command-map.mdreferences/troubleshooting.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить acton с