Solidity
Solidity smart contract development for Ethereum and EVM chains. Use for .sol files.From its SKILL.md
npx -y skills add G1Joshi/Agent-Skills --skill solidityAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 12 stars12 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.1 KB, 266 tokens by cl100k_base, as published. Nobody here has run it
Solidity
Solidity is the primary language for the Ethereum Virtual Machine (EVM). v0.8.28 (2025) focuses on transient storage (tstore) and gas optimization via IR.
When to Use
- Ethereum/L2s: Developing for Optimism, Arbitrum, Base.
- DeFi: Writing logic for tokens, AMMs, and lending.
- NFTs: ERC-721 and ERC-1155 contracts.
Core Concepts
Gas
Every operation costs ETH. Optimization is critical.
Modifiers
Reusable checks. modifier onlyOwner { ... }.
Events
Logging on the blockchain. emit Transfer(from, to, value).
Best Practices (2025)
Do:
- Use Foundry: The 2025 standard for testing (Solidity-based tests).
- Use Custom Errors:
error InsufficientBalance();is cheaper than string requires. - Use OpenZeppelin: Don't roll your own crypto/auth logic.
Don't:
- Don't ignore reentrancy: Use
ReentrancyGuardor Checks-Effects-Interactions pattern.
References
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.