Agent skill · software engineering · wshobson
defi-protocol-templates
Implement DeFi protocols with production-ready templates for staking, AMMs, governance, and flash loans. Use when building decentralized finance applications or smart contract protocols.
Why this skill is useful
Adds production-ready templates for DeFi protocols that provide executable smart contracts for staking, AMMs, governance, and flash loans.
What it needs
Requires solidity installed locally. About 3k tokens when loaded. Last updated 2026-08-05. 38,570 stars on the source repository.
What this skill does
DeFi Protocol Templates Production-ready templates for common DeFi protocols including staking, AMMs, governance, and flash loans. When to Use This Skill Building staking platforms with reward distribution Implementing AMM (Automated Market Maker) protocols Creating governance token systems Integrating flash loan functionality Staking Contract AMM (Automated Market Maker) Additional patterns and templates More detailed templates and worked examples live in references/details.md. Read that file for the full pattern library.
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills wshobson/defi-protocol-templates