Agent skill · software engineering · wshobson

solidity-security

Master smart contract security best practices to prevent common vulnerabilities and implement secure Solidity patterns. Use when writing smart contracts, auditing existing contracts, or implementing security measures for blockchain applications.

Why this skill is useful

Provides detailed patterns and executable test scripts for securing smart contracts against vulnerabilities like reentrancy and overflow.

What it needs

Requires hardhat installed locally. About 2k tokens when loaded. Last updated 2026-08-05. 38,570 stars on the source repository.

What this skill does

Solidity Security Master smart contract security best practices, vulnerability prevention, and secure Solidity development patterns. When to Use This Skill Writing secure smart contracts Auditing existing contracts for vulnerabilities Implementing secure DeFi protocols Preventing reentrancy, overflow, and access control issues Optimizing gas usage while maintaining security Preparing contracts for professional audits Understanding common attack vectors Detailed patterns and worked examples Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient. Testing for Security Audit Preparation

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills wshobson/solidity-security

View the source on GitHub

Browse the @skills marketplace