hairyf/blockchain-skills

ton-tact

Tact language for TON blockchain smart contracts — types, contracts, messages, send/receive, stdlib, and security.

First seen Feb 25, 2026

Installation

$ npx skills add hairyf/blockchain-skills --skill ton-tact

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from hairyf/blockchain-skills · top by installs.

npx skills add hairyf/blockchain-skills

Browse all from hairyf/blockchain-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 4
License LICENSE.md
Default branch main
Open issues 1
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Version2026.2.25
More metadata
author
Hairy
version
2026.2.25
source
Generated from sources/ton-tact/docs, scripts located at https://github.com/antfu/skills

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 4,904 B
  • docs SUMMARY.md 132 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 7 installs

SKILL.md

Skill is based on Tact (TON) v1.6.13, generated 2026-02-25.

Tact is a statically typed smart contract language for the TON blockchain. Contracts use message-based communication (receive/send), structs and messages for data, and traits for reuse. This skill focuses on agent-oriented usage: type system, contracts and receivers, sending/receiving messages, cells and serialization, standard libraries, and security practices.

Core references

Topic Description Reference
Type system Primitives, optionals, maps, structs, messages, contracts, traits [core-types](references/core-types.md)
Contracts and traits init, parameters, receivers, getters, interfaces, BaseTrait [core-contracts](references/core-contracts.md)
Structs and messages Definition, instantiation, toCell/fromCell, TL-B layout [core-structs-messages](references/core-structs-messages.md)
Receiving messages receive(), text/binary/slice receivers, order, external/bounced [core-receive](references/core-receive.md)
Sending messages send(), SendParameters, reply, forward, notify, cashback, deploy, emit [core-send](references/core-send.md)
Cells, Builders, Slices Cell/Builder/Slice, beginCell, store/load, Struct/Message helpers [core-cells](references/core-cells.md)
Message mode Base modes and optional flags (SendRemainingValue, SendIgnoreErrors, etc.) [core-message-mode](references/core-message-mode.md)
Gas and fees getStorageFee, getComputeFee, getForwardFee, setGasLimit, acceptMessage [core-gas](references/core-gas.md)
Context and state sender, context, myAddress, myBalance, now, inMsg, setData, commit, getConfigParam, nativeReserve [core-context-state](references/core-context-state.md)
Addresses newAddress, contractAddress, forceBasechain, parseStdAddress, BasechainAddress [core-addresses](references/core-addresses.md)
Cryptography checkSignature, sha256, keccak256, SignedBundle [core-crypto](references/core-crypto.md)
Strings StringBuilder, beginString, beginComment, String extensions, Int toFloatString [core-strings](references/core-strings.md)
Math min, max, abs, sign, sqrt, log, log2, pow, pow2, divc, muldivc [core-math](references/core-math.md)
Exit codes TVM/Tact exit codes, compute/action phases, developer range 256–65535 [core-exit-codes](references/core-exit-codes.md)
Random random, randomInt, getSeed, setSeed, nativeRandomize, nativeRandomizeLt [core-random](references/core-random.md)
Debug and throw require, dump, throw, throwIf, throwUnless [core-debug](references/core-debug.md)
Compile-time address(), cell(), slice(), rawSlice(), ascii(), crc32(), ton() [core-comptime](references/core-comptime.md)
Message lifecycle Receive phase, compute phase, action phase (no revert) [core-lifecycle](references/core-lifecycle.md)

Features

Topic Description Reference
Optionals T?, null, !!, constraints (no optional keys, no nested optionals) [features-optionals](references/features-optionals.md)
Maps map<K,V>, emptyMap(), get/set, allowed types, serialization [features-maps](references/features-maps.md)
initOf and deploy initOf, contractAddress, StateInit, send/deploy deployment [features-initof-deploy](references/features-initof-deploy.md)
Standard libraries @stdlib/config, content, deploy, dns, ownable, stoppable [features-stdlib](references/features-stdlib.md)
Configuration tact.config.json — projects, options (debug, external, safety, mode) [features-config](references/features-config.md)
External messages external(), acceptMessage, no sender/context, config external [features-external](references/features-external.md)
Constants const, virtual/abstract/override in traits [features-constants](references/features-constants.md)

Best practices

Topic Description Reference
Security Sensitive data, signed ints, exit codes, random, auth, replay, bounce, excess gas [best-practices-security](references/best-practices-security.md)
Gas Contract params, binary receivers, message/cashback/deploy, sender(), throwUnless, SignedBundle [best-practices-gas](references/best-practices-gas.md)

Advanced

Topic Description Reference
Bounced messages bounced<T>, 224-bit limit, fallback Slice receiver, unrecognized bounces [advanced-bounced](references/advanced-bounced.md)