By cyotee
Progressive disclosure skills for Aave V4 protocol development. Covers Hub-and-Spoke architecture, Risk Premium system, Dynamic Risk Configuration, redesigned liquidation engine, and Position Managers.
npx claudepluginhub cyotee/cyotee-claude-plugins --plugin aave-v4This skill should be used when the user asks about "Aave V4 architecture", "hub-and-spoke", "Hub contract", "Spoke contract", "unified liquidity layer", or needs a high-level understanding of how Aave V4 works.
This skill should be used when the user asks about "dynamic configuration", "dynamic risk configuration", "configKey", "collateral factor", "config snapshot", "rebinding", or needs to understand Aave V4's dynamic risk parameter system.
This skill should be used when the user asks about "Hub contract", "Hub.sol", "liquidity hub", "add liquidity", "draw liquidity", "restore", "asset management", or needs to understand Aave V4 Hub operations.
This skill should be used when the user asks about "liquidation", "liquidationCall", "target health factor", "liquidation bonus", "Dutch auction", "close factor", or needs to understand Aave V4's redesigned liquidation engine.
This skill should be used when the user asks about "position manager", "gateway", "NativeTokenGateway", "SignatureGateway", "onBehalfOf", "meta-transactions", or needs to understand Aave V4's gateway contracts.
This skill should be used when the user asks about "risk premium", "collateral risk", "user risk premium", "premium debt", "premium shares", "collateral quality", or needs to understand Aave V4's risk-based interest system.
This skill should be used when the user asks about "Spoke contract", "Spoke.sol", "Aave V4 supply", "Aave V4 borrow", "Aave V4 repay", "Aave V4 withdraw", "reserve", "user position", or needs to understand Spoke operations.
Progressive disclosure skills for Aave V4 protocol development. These skills provide context-aware guidance for building on Aave V4's unified liquidity layer and modular hub-and-spoke architecture.
claude mcp add-json cyotee-plugins '{"type":"stdio","command":"npx","args":["@anthropic-ai/claude-code-mcp-server"],"env":{"CLAUDE_PLUGINS_DIRECTORY":"/path/to/cyotee-claude-plugins/plugins"}}'
Copy the .opencode/skills/ directory to your project.
| Skill | Trigger Keywords | Description |
|---|---|---|
aave-v4-architecture | hub-and-spoke, Hub, Spoke, unified liquidity | High-level protocol architecture overview |
aave-v4-hub | Hub contract, liquidity hub, add, draw, restore | Hub operations and liquidity management |
aave-v4-spoke | Spoke contract, supply, borrow, repay, withdraw, reserve | User-facing Spoke operations |
aave-v4-risk-premium | risk premium, collateral risk, premium debt, collateral quality | Risk-based interest system |
aave-v4-liquidation | liquidation, target health factor, Dutch auction | Redesigned liquidation engine |
aave-v4-dynamic-config | dynamic configuration, configKey, collateral factor | Dynamic Risk Configuration system |
aave-v4-position-manager | position manager, gateway, NativeTokenGateway, meta-transactions | Gateway contracts and authorization |
Liquidity Providers ──► Spoke 1 ──┐
│
Borrowers ────────────► Spoke 2 ──┼──► Hub (Liquidity)
│
Spoke 3 ──┘
Interest rate = Base Rate × (1 + User Risk Premium)
Users with higher-quality collateral (like ETH) pay lower rates.
Multiple risk parameter sets can coexist. Positions bind to specific configurations, protecting users from unexpected parameter changes.
V4 liquidates just enough to restore users to a configurable Target HF, rather than a fixed 50% close factor.
aave-v4/
├── src/
│ ├── hub/ # Hub contracts
│ │ ├── Hub.sol # Central liquidity coordinator
│ │ └── HubConfigurator.sol
│ ├── spoke/ # Spoke contracts
│ │ ├── Spoke.sol # User-facing operations
│ │ └── SpokeConfigurator.sol
│ ├── position-manager/ # Gateway contracts
│ │ ├── NativeTokenGateway.sol
│ │ └── SignatureGateway.sol
│ └── libraries/ # Shared math libraries
├── tests/ # Test suite
└── docs/ # Documentation
| Feature | V3 | V4 |
|---|---|---|
| Architecture | Single Pool | Hub + multiple Spokes |
| Tokens | aTokens + DebtTokens | Share-based accounting |
| Interest | Fixed per asset | Base Rate + Risk Premium |
| Risk Params | Single global config | Dynamic Config Keys |
| Liquidation | 50% close factor | Target Health Factor |
| Bonus | Static per asset | Dutch-auction style |
UNLICENSED (matching Aave V4 license)
Access thousands of AI prompts and skills directly in your AI coding assistant. Search prompts, discover skills, save your own, and improve prompts with AI.
Share bugs, ideas, or general feedback.
Design fluency for frontend development. 1 skill with 23 commands (/impeccable polish, /impeccable audit, /impeccable critique, etc.) and curated anti-pattern detection.
Behavioral guidelines to reduce common LLM coding mistakes, derived from Andrej Karpathy's observations on LLM coding pitfalls
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Claude Code skills for Godot 4.x game development - GDScript patterns, interactive MCP workflows, scene design, and shaders
Reliable automation, in-depth debugging, and performance analysis in Chrome using Chrome DevTools and Puppeteer