The scaffold-contract skill streamlines the initial phase of smart contract development by creating boilerplate-free, audit-friendly Solidity modules. It focuses on establishing a clean architectural foundation—including imports, state variables, events, and external interfaces—without premature implementation of business logic. By enforcing a consistent layout and detailed NatSpec documentation, it ensures that new vaults, adapters, or strategies are built according to industry best practices, facilitating smoother handoffs to implementation and security review phases.
Key Features
01Automated NatSpec documentation for all public APIs
02Support for both immutable and upgradeable contract models
03Context-aware TODO placeholders for business logic and invariants
04Standardized DeFi-ready contract structures
051 GitHub stars
06Forge-compliant formatting and structural organization