What problem does it solve?
This Skill addresses the complex challenges of designing secure, composable, and economically sound Decentralized Finance (DeFi) protocols, mitigating common risks and anti-patterns.
Core Features & Use Cases
- Protocol Design Frameworks: Provides structured approaches for designing DeFi systems.
- Risk Analysis: Offers detailed analysis of composability risks, economic security, MEV exposure, and attack surfaces.
- Invariant Design: Guides the creation of robust invariants crucial for protocol stability.
- Use Case: A team is designing a new lending protocol and needs to ensure its economic security against flash loan attacks and liquidation cascades. They use this Skill to analyze potential vulnerabilities, define critical invariants, and select appropriate governance patterns.
Quick Start
Use the design-defi skill to analyze the attack surface of a new AMM protocol.