skills/sunhat/SKILL.md
The official detailed guide for developing, testing, deploying, and auditing TRON smart contracts using the Sunhat toolkit.
npx skillsauth add sun-protocol/sunhat Sunhat TRON DevelopmentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill enables you to develop, test, and deploy smart contracts on the TRON network.
Rule: Do not memorize the details of every task. Only read the specific workflow file relevant to your current objective.
| Objective | Workflow File | Description | | :--- | :--- | :--- | | Initialize Project | sunhat-init.md | Setup new project structure, config, and env. | | Compile Contracts | sunhat-compile.md | Compile Solidity/Vyper with TRON settings. | | Run Tests | sunhat-test.md | Run Foundry (Solidity) or Hardhat (JS) tests. | | Security Audit | sunhat-audit.md | White Hat Analyze, Exploit (PoC), and Report. | | Deploy to Network | sunhat-deploy.md | Deploy contracts to Mainnet/Nile/Shasta. |
sunhat (implicitly wraps Hardhat)hardhat.config.tstron (alias for configured TRON network)tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.