a5c-ai/babysitter / library/specializations/cryptography-blockchain/skills/solidity-dev
solidity-dev
FlaggedDeep expertise in Solidity language features, patterns, and best practices for secure smart contract development. Covers ERC standards, gas optimization, upgradeable contracts, and security patterns.
README.md
View on GitHub# Solidity Development Skill
Expert-level Solidity smart contract development with emphasis on security patterns, gas optimization, and ERC standard compliance.
## Overview
This skill provides comprehensive Solidity development capabilities for building secure, efficient, and standards-compliant smart contracts on EVM-compatible blockchains.
## Key Capabilities
- **Security-First Development**: Implements proven security patterns like Checks-Effects-Interactions
- **ERC Standards**: Full support for ERC-20, ERC-721, ERC-1155, ERC-4626 tokens
- **Gas Optimization**: Advanced techniques including storage packing, assembly, and unchecked blocks
- **Upgradeable Contracts**: UUPS and Transparent Proxy patterns
- **Modern Solidity**: Leverages 0.8+ features (custom errors, immutable, etc.)
## Use Cases
1. **Token Development**: Create fungible and non-fungible tokens
2. **DeFi Protocols**: Build lending, AMM, and yield protocols
3. **Governance Systems**: Implement on-chain governance
4. **NFT Collections**: Deploy NFT contracts with royalties
5. **Upgradeable Systems**: Build proxy-based upgradeable contracts
## Quick Start
```solidity
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract MyToken is ERC20 {
constructor() ERC20("MyToken", "MTK") {
_mint(msg.sender, 1000000 * 10**decimals());
}
}
```
## Related Resources
- [SKILL.md](./SKILL.md) - Full skill specification
- [Solidity Documentation](https://docs.soliditylang.org/)
- [OpenZeppelin Contracts](https://docs.openzeppelin.com/contracts/)
## Process Integration
- `smart-contract-development-lifecycle.js`
- `erc20-token-implementation.js`
- `erc721-nft-collection.js`
- `gas-optimization.js`
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |