solidity-defi

Generates Solidity code for DeFi protocols including AMMs, lending, oracles, and ERC4626 vaults.

Updated Feb 4, 2026
One-click install
npx skills add https://github.com/stanah/dotagents --skill solidity-defi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: solidity-defi
Source: https://github.com/stanah/dotagents/tree/main/.claude/skills/solidity-defi
Command: npx skills add https://github.com/stanah/dotagents --skill solidity-defi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires solidity, openzeppelin, chainlink, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the development of DeFi protocols by providing design patterns for AMM, liquidity pools, lending, price oracles, and Vaults (ERC4626), saving developers time and reducing the risk of common errors.

Core Features & Use Cases

  • Automated AMM Development: Generates code for Uniswap V2/V3 and Curve-style AMM.
  • Lending Protocol Development: Automates the creation of lending protocols with features like interest rate modeling and collateral management.
  • Oracle Integration: Automatically integrates price oracles like Chainlink and TWAP.
  • Vault Implementation: Generates code for Vaults (ERC4626) with inflation attack defense.
  • Use Case: If you need to create a new DeFi lending platform, you can use this Skill to automate much of the development process, including setting up the AMM, liquidity pools, and oracle integration.

Quick Start

Use the solidity-defi skill to create a new lending protocol with the following command: solidity-defi create lending --name MyLendingProtocol.

Frequently Asked Questions about solidity-defi

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate DeFi protocol development in Solidity?

You can automate DeFi protocol development by using this Skill to generate design patterns for AMM, lending, price oracles, and Vaults, reducing manual coding and common errors.

What's the best way to generate ERC4626 Vault smart contracts with inflation attack defense?

Generating ERC4626 Vault smart contracts with inflation attack defense is handled automatically by this Skill, providing secure yield farming and Vault implementations without manual pattern drafting.

How do I integrate Chainlink price oracles into a lending protocol?

Integrating Chainlink price oracles into a lending protocol is automated by this Skill, which handles the setup for accurate price feeds required in collateral management and interest rate modeling.

Can I use this to create Uniswap V2 or Curve-style AMM smart contracts?

Yes, you can use this Skill to automatically generate code for Uniswap V2, Uniswap V3, and Curve-style AMM smart contracts, streamlining liquidity pool management.

Do I need OpenZeppelin and Solidity knowledge to build lending platforms here?

Yes, you need Solidity language support, familiarity with common DeFi patterns, and dependencies like OpenZeppelin and Chainlink to effectively build lending platforms and manage collateral.

What are the limitations when automating liquidity pool management?

While this Skill automates liquidity pool management code generation for AMMs and Vaults, developers must still manually review the generated Solidity contracts for protocol-specific edge cases and security vulnerabilities.