solidity-style
Installation
SKILL.md
Solidity Style Guide
Follow these conventions when writing Solidity code. Consistency is paramount.
Import Conventions
Always use named imports:
// ✅ Good
import {Contract} from "./contract.sol";
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
// ❌ Bad
import "./contract.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";