@tank/solidity-mastery

Review Solidity smart contracts for security risks and deployment readiness.

1|1|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/tankpkg/packages --skill tank-solidity-mastery
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: @tank/solidity-mastery
Source: https://github.com/tankpkg/packages/tree/main/skills/solidity-mastery
Command: npx skills add https://github.com/tankpkg/packages --skill tank-solidity-mastery

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps engineers design, test, secure, optimize, and deploy Solidity smart contracts without reinventing core patterns or missing critical EVM security risks.

Core Features & Use Cases

  • Secure Contract Design: Apply proven patterns for access control, reentrancy protection, upgradeability, and storage layout safety.
  • Token and Protocol Development: Implement ERC-20, ERC-721, ERC-1155, and ERC-4626 contracts with OpenZeppelin-backed best practices.
  • Foundry and Deployment Workflow: Use fuzzing, invariant testing, scripting, gas snapshots, and verification checks for production-ready releases.
  • Use Case: A blockchain team can use this Skill to review a new vault contract, harden it against flash loan and oracle risks, and prepare a repeatable multi-chain deployment runbook.

Quick Start

Ask the Skill to review your Solidity contract architecture, identify security and gas risks, and produce a deployment-ready plan for your EVM project.

Frequently Asked Questions about @tank/solidity-mastery

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I secure a Solidity smart contract against reentrancy and flash loan attacks?

To secure Solidity smart contracts against reentrancy and flash loan attacks, apply proven patterns for access control, reentrancy protection, and storage layout safety. Reviewing vault architectures helps harden contracts against oracle manipulation and other EVM security risks.

What's the best way to implement ERC-20 and ERC-721 tokens with OpenZeppelin?

Implementing ERC-20, ERC-721, and ERC-1155 tokens with OpenZeppelin Contracts 5.x ensures adherence to established best practices. This approach applies proven patterns for access control and upgradeability to standardize secure token development.

Does this Foundry workflow support fuzzing and invariant testing for EVM contracts?

Yes, the Foundry workflow supports fuzzing, invariant testing, and gas snapshots for EVM contracts. It integrates scripting and verification checks to ensure production-ready smart contract releases through comprehensive testing methodologies.

Can I plan multi-chain deployment runs for Solidity contracts?

Yes, you can plan multi-chain deployment runs for Solidity contracts by generating a repeatable deployment runbook. This includes verification readiness checks to ensure consistent EVM contract releases across multiple blockchain networks.

How do I optimize gas usage in Solidity 0.8.x smart contracts?

To optimize gas usage in Solidity 0.8.x smart contracts, apply targeted optimization patterns during architecture design. The Foundry workflow integrates gas snapshots to measure, validate, and reduce gas consumption during development.

Why do I need upgradeable architecture patterns for token standards?

Upgradeable architecture patterns are needed for token standards to ensure storage layout safety and allow future contract modifications. Applying these patterns prevents storage collisions and maintains security when updating EVM contract logic.