[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FTD6TDVCX30KQJB84PJQ1Y":3,"skill-same:01M6FTD6TDVCX30KQJB84PJQ1Y":107},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":52,"install":53,"resources":66},"01M6FTD6TDVCX30KQJB84PJQ1Y","ethereum-wingman",null,"Ethereum development tutor and builder for Scaffold-ETH 2 projects. Triggers on \"build\", \"create\", \"dApp\", \"smart contract\", \"Solidity\", \"DeFi\", \"Ethereum\", \"web3\", or any blockchain development task. ALWAYS uses fork mode to test against real protocol state.","kbarbel640-del\u002Fskills","kbarbel640-del","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F255315490?v=4","01M6CJPPQGCCESXMG3K7BBGQ5J","01M6CJPPX2PB2BCZERFVM2C2B3",1,"MIT","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fjp4g\u002Fethereum-wingman\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"ethereum wingman","ethereum","web3","eth","triggers","contract","task","tutor","build","builder","projects","test","defi","blockchain","solidity","protocol","state","create","development","scaffold","2026-11-10 10:12:30",false,"---\nname: ethereum-wingman\ndescription: Ethereum development tutor and builder for Scaffold-ETH 2 projects. Triggers on \"build\", \"create\", \"dApp\", \"smart contract\", \"Solidity\", \"DeFi\", \"Ethereum\", \"web3\", or any blockchain development task. ALWAYS uses fork mode to test against real protocol state.\nlicense: MIT\nmetadata:\n  author: BuidlGuidl\n  version: \"2.0.0\"\n---\n\n# Ethereum Wingman\n\nComprehensive Ethereum development guide for AI agents. Covers smart contract development, DeFi protocols, security best practices, and the SpeedRun Ethereum curriculum.\n\n---\n\n## AI AGENT INSTRUCTIONS - READ THIS FIRST\n\n### Default Stack: Scaffold-ETH 2 with Fork Mode\n\nWhen a user wants to BUILD any Ethereum project, follow these steps:\n\n**Step 1: Create Project**\n\n```bash\nnpx create-eth@latest\n# Select: foundry (recommended), target chain, project name\n```\n\n**Step 2: Fix Polling Interval**\n\nEdit `packages\u002Fnextjs\u002Fscaffold.config.ts` and change:\n```typescript\npollingInterval: 30000,  \u002F\u002F Default: 30 seconds (way too slow!)\n```\nto:\n```typescript\npollingInterval: 3000,   \u002F\u002F 3 seconds (much better for development)\n```\n\n**Step 3: Install & Fork a Live Network**\n\n```bash\ncd \u003Cproject-name>\nyarn install\nyarn fork --network base  # or mainnet, arbitrum, optimism, polygon\n```\n\n**Step 4: Enable Auto Block Mining (REQUIRED!)**\n\n```bash\n# In a new terminal, enable interval mining (1 block\u002Fsecond)\ncast rpc anvil_setIntervalMining 1\n```\n\nWithout this, `block.timestamp` stays FROZEN and time-dependent logic breaks!\n\n**Optional: Make it permanent** by editing `packages\u002Ffoundry\u002Fpackage.json` to add `--block-time 1` to the fork script.\n\n**Step 5: Deploy to Local Fork (FREE!)**\n\n```bash\nyarn deploy\n```\n\n**Step 6: Start Frontend**\n\n```bash\nyarn start\n```\n\n**Step 7: Test the Frontend**\n\nAfter the frontend is running, open a browser and test the app:\n\n1. **Navigate** to `http:\u002F\u002Flocalhost:3000`\n2. **Take a snapshot** to get page elements (burner wallet address is in header)\n3. **Click the faucet** to fund the burner wallet with ETH\n4. **Transfer tokens** from whales if needed (use burner address from page)\n5. **Click through the app** to verify functionality\n\nUse the `cursor-browser-extension` MCP tools for browser automation.\nSee `tools\u002Ftesting\u002Ffrontend-testing.md` for detailed workflows.\n\n### DO NOT:\n\n- Run `yarn chain` (use `yarn fork --network \u003Cchain>` instead!)\n- Manually run `forge init` or set up Foundry from scratch\n- Manually create Next.js projects  \n- Set up wallet connection manually (SE2 has RainbowKit pre-configured)\n\n### Why Fork Mode?\n\n```\nyarn chain (WRONG)              yarn fork --network base (CORRECT)\n└─ Empty local chain            └─ Fork of real Base mainnet\n└─ No protocols                 └─ Uniswap, Aave, etc. available\n└─ No tokens                    └─ Real USDC, WETH exist\n└─ Testing in isolation         └─ Test against REAL state\n```\n\n### Address Data Available\n\nToken, protocol, and whale addresses are in `data\u002Faddresses\u002F`:\n- `tokens.json` - WETH, USDC, DAI, etc. per chain\n- `protocols.json` - Uniswap, Aave, Chainlink per chain  \n- `whales.json` - Large token holders for test funding\n\n---\n\n## THE MOST CRITICAL CONCEPT\n\n**NOTHING IS AUTOMATIC ON ETHEREUM.**\n\nSmart contracts cannot execute themselves. There is no cron job, no scheduler, no background process. For EVERY function that \"needs to happen\":\n\n1. Make it callable by **ANYONE** (not just admin)\n2. Give callers a **REASON** (profit, reward, their own interest)\n3. Make the incentive **SUFFICIENT** to cover gas + profit\n\n**Always ask: \"Who calls this function? Why would they pay gas?\"**\n\nIf you can't answer this, your function won't get called.\n\n### Examples of Proper Incentive Design\n\n```solidity\n\u002F\u002F LIQUIDATIONS: Caller gets bonus collateral\nfunction liquidate(address user) external {\n    require(getHealthFactor(user) \u003C 1e18, \"Healthy\");\n    uint256 bonus = collateral * 5 \u002F 100; \u002F\u002F 5% bonus\n    collateralToken.transfer(msg.sender, collateral + bonus);\n}\n\n\u002F\u002F YIELD HARVESTING: Caller gets % of harvest\nfunction harvest() external {\n    uint256 yield = protocol.claimRewards();\n    uint256 callerReward = yield \u002F 100; \u002F\u002F 1%\n    token.transfer(msg.sender, callerReward);\n}\n\n\u002F\u002F CLAIMS: User wants their own tokens\nfunction claimRewards() external {\n    uint256 reward = pendingRewards[msg.sender];\n    pendingRewards[msg.sender] = 0;\n    token.transfer(msg.sender, reward);\n}\n```\n\n---\n\n## Critical Gotchas (Memorize These)\n\n### 1. Token Decimals Vary\n\n**USDC = 6 decimals, not 18!**\n\n```solidity\n\u002F\u002F BAD: Assumes 18 decimals - transfers 1 TRILLION USDC!\nuint256 oneToken = 1e18;\n\n\u002F\u002F GOOD: Check decimals\nuint256 oneToken = 10 ** token.decimals();\n```\n\nCommon decimals:\n- USDC, USDT: 6 decimals\n- WBTC: 8 decimals\n- Most tokens (DAI, WETH): 18 decimals\n\n### 2. ERC-20 Approve Pattern Required\n\nContracts cannot pull tokens directly. Two-step process:\n\n```solidity\n\u002F\u002F Step 1: User approves\ntoken.approve(spenderContract, amount);\n\n\u002F\u002F Step 2: Contract pulls tokens\ntoken.transferFrom(user, address(this), amount);\n```\n\n**Never use infinite approvals:**\n```solidity\n\u002F\u002F DANGEROUS\ntoken.approve(spender, type(uint256).max);\n\n\u002F\u002F SAFE\ntoken.approve(spender, exactAmount);\n```\n\n### 3. No Floating Point in Solidity\n\nUse basis points (1 bp = 0.01%):\n\n```solidity\n\u002F\u002F BAD: This equals 0\nuint256 fivePercent = 5 \u002F 100;\n\n\u002F\u002F GOOD: Basis points\nuint256 FEE_BPS = 500; \u002F\u002F 5% = 500 basis points\nuint256 fee = (amount * FEE_BPS) \u002F 10000;\n```\n\n### 4. Reentrancy Attacks\n\nExternal calls can call back into your contract:\n\n```solidity\n\u002F\u002F SAFE: Checks-Effects-Interactions pattern\nfunction withdraw() external nonReentrant {\n    uint256 bal = balances[msg.sender];\n    balances[msg.sender] = 0; \u002F\u002F Effect BEFORE interaction\n    (bool success,) = msg.sender.call{value: bal}(\"\");\n    require(success);\n}\n```\n\nAlways use OpenZeppelin's ReentrancyGuard.\n\n### 5. Never Use DEX Spot Prices as Oracles\n\nFlash loans can manipulate spot prices instantly:\n\n```solidity\n\u002F\u002F SAFE: Use Chainlink\nfunction getPrice() internal view returns (uint256) {\n    (, int256 price,, uint256 updatedAt,) = priceFeed.latestRoundData();\n    require(block.timestamp - updatedAt \u003C 3600, \"Stale\");\n    require(price > 0, \"Invalid\");\n    return uint256(price);\n}\n```\n\n### 6. Vault Inflation Attack\n\nFirst depositor can steal funds via share manipulation:\n\n```solidity\n\u002F\u002F Mitigation: Virtual offset\nfunction convertToShares(uint256 assets) public view returns (uint256) {\n    return assets.mulDiv(totalSupply() + 1e3, totalAssets() + 1);\n}\n```\n\n### 7. Use SafeERC20\n\nSome tokens (USDT) don't return bool on transfer:\n\n```solidity\nimport \"@openzeppelin\u002Fcontracts\u002Ftoken\u002FERC20\u002Futils\u002FSafeERC20.sol\";\nusing SafeERC20 for IERC20;\n\ntoken.safeTransfer(to, amount); \u002F\u002F Handles non-standard tokens\n```\n\n---\n\n## Scaffold-ETH 2 Development\n\n### Project Structure\n```\npackages\u002F\n├── foundry\u002F              # Smart contracts\n│   ├── contracts\u002F        # Your Solidity files\n│   └── script\u002F           # Deploy scripts\n└── nextjs\u002F\n    ├── app\u002F              # React pages\n    └── contracts\u002F        # Generated ABIs + externalContracts.ts\n```\n\n### Essential Hooks\n```typescript\n\u002F\u002F Read contract data\nconst { data } = useScaffoldReadContract({\n  contractName: \"YourContract\",\n  functionName: \"greeting\",\n});\n\n\u002F\u002F Write to contract\nconst { writeContractAsync } = useScaffoldWriteContract(\"YourContract\");\n\n\u002F\u002F Watch events\nuseScaffoldEventHistory({\n  contractName: \"YourContract\",\n  eventName: \"Transfer\",\n  fromBlock: 0n,\n});\n```\n\n---\n\n## SpeedRun Ethereum Challenges\n\nReference these for hands-on learning:\n\n| Challenge | Concept | Key Lesson |\n|-----------|---------|------------|\n| 0: Simple NFT | ERC-721 | Minting, metadata, tokenURI |\n| 1: Staking | Coordination | Deadlines, escrow, thresholds |\n| 2: Token Vendor | ERC-20 | Approve pattern, buy\u002Fsell |\n| 3: Dice Game | Randomness | On-chain randomness is insecure |\n| 4: DEX | AMM | x*y=k formula, slippage |\n| 5: Oracles | Price Feeds | Chainlink, manipulation resistance |\n| 6: Lending | Collateral | Health factor, liquidation incentives |\n| 7: Stablecoins | Pegging | CDP, over-collateralization |\n| 8: Prediction Markets | Resolution | Outcome determination |\n| 9: ZK Voting | Privacy | Zero-knowledge proofs |\n| 10: Multisig | Signatures | Threshold approval |\n| 11: SVG NFT | On-chain Art | Generative, base64 encoding |\n\n---\n\n## DeFi Protocol Patterns\n\n### Uniswap (AMM)\n- Constant product formula: x * y = k\n- Slippage protection required\n- LP tokens represent pool share\n\n### Aave (Lending)\n- Supply collateral, borrow assets\n- Health factor = collateral value \u002F debt value\n- Liquidation when health factor \u003C 1\n\n### ERC-4626 (Tokenized Vaults)\n- Standard interface for yield-bearing vaults\n- deposit\u002Fwithdraw with share accounting\n- Protect against inflation attacks\n\n---\n\n## Security Review Checklist\n\nBefore deployment, verify:\n- [ ] Access control on all admin functions\n- [ ] Reentrancy protection (CEI + nonReentrant)\n- [ ] Token decimal handling correct\n- [ ] Oracle manipulation resistant\n- [ ] Integer overflow handled (0.8+ or SafeMath)\n- [ ] Return values checked (SafeERC20)\n- [ ] Input validation present\n- [ ] Events emitted for state changes\n- [ ] Incentives designed for maintenance functions\n\n---\n\n## Response Guidelines\n\nWhen helping developers:\n\n1. **Follow the fork workflow** - Always use `yarn fork`, never `yarn chain`\n2. **Answer directly** - Address their question first\n3. **Show code** - Provide working examples\n4. **Warn about gotchas** - Proactively mention relevant pitfalls\n5. **Reference challenges** - Point to SpeedRun Ethereum for practice\n6. **Ask about incentives** - For any \"automatic\" function, ask who calls it and why\n","# Ethereum Wingman\n\nComprehensive Ethereum development guide for AI agents. Covers smart contract development, DeFi protocols, security best practices, and the SpeedRun Ethereum curriculum.\n\n---\n\n## AI AGENT INSTRUCTIONS - READ THIS FIRST\n\n### Default Stack: Scaffold-ETH 2 with Fork Mode\n\nWhen a user wants to BUILD any Ethereum project, follow these steps:\n\n**Step 1: Create Project**\n\n```bash\nnpx create-eth@latest\n# Select: foundry (recommended), target chain, project name\n```\n\n**Step 2: Fix Polling Interval**\n\nEdit `packages\u002Fnextjs\u002Fscaffold.config.ts` and change:\n```typescript\npollingInterval: 30000,  \u002F\u002F Default: 30 seconds (way too slow!)\n```\nto:\n```typescript\npollingInterval: 3000,   \u002F\u002F 3 seconds (much better for development)\n```\n\n**Step 3: Install & Fork a Live Network**\n\n```bash\ncd \u003Cproject-name>\nyarn install\nyarn fork --network base  # or mainnet, arbitrum, optimism, polygon\n```\n\n**Step 4: Enable Auto Block Mining (REQUIRED!)**\n\n```bash\n# In a new terminal, enable interval mining (1 block\u002Fsecond)\ncast rpc anvil_setIntervalMining 1\n```\n\nWithout this, `block.timestamp` stays FROZEN and time-dependent logic breaks!\n\n**Optional: Make it permanent** by editing `packages\u002Ffoundry\u002Fpackage.json` to add `--block-time 1` to the fork script.\n\n**Step 5: Deploy to Local Fork (FREE!)**\n\n```bash\nyarn deploy\n```\n\n**Step 6: Start Frontend**\n\n```bash\nyarn start\n```\n\n**Step 7: Test the Frontend**\n\nAfter the frontend is running, open a browser and test the app:\n\n1. **Navigate** to `http:\u002F\u002Flocalhost:3000`\n2. **Take a snapshot** to get page elements (burner wallet address is in header)\n3. **Click the faucet** to fund the burner wallet with ETH\n4. **Transfer tokens** from whales if needed (use burner address from page)\n5. **Click through the app** to verify functionality\n\nUse the `cursor-browser-extension` MCP tools for browser automation.\nSee `tools\u002Ftesting\u002Ffrontend-testing.md` for detailed workflows.\n\n### DO NOT:\n\n- Run `yarn chain` (use `yarn fork --network \u003Cchain>` instead!)\n- Manually run `forge init` or set up Foundry from scratch\n- Manually create Next.js projects  \n- Set up wallet connection manually (SE2 has RainbowKit pre-configured)\n\n### Why Fork Mode?\n\n```\nyarn chain (WRONG)              yarn fork --network base (CORRECT)\n└─ Empty local chain            └─ Fork of real Base mainnet\n└─ No protocols                 └─ Uniswap, Aave, etc. available\n└─ No tokens                    └─ Real USDC, WETH exist\n└─ Testing in isolation         └─ Test against REAL state\n```\n\n### Address Data Available\n\nToken, protocol, and whale addresses are in `data\u002Faddresses\u002F`:\n- `tokens.json` - WETH, USDC, DAI, etc. per chain\n- `protocols.json` - Uniswap, Aave, Chainlink per chain  \n- `whales.json` - Large token holders for test funding\n\n---\n\n## THE MOST CRITICAL CONCEPT\n\n**NOTHING IS AUTOMATIC ON ETHEREUM.**\n\nSmart contracts cannot execute themselves. There is no cron job, no scheduler, no background process. For EVERY function that \"needs to happen\":\n\n1. Make it callable by **ANYONE** (not just admin)\n2. Give callers a **REASON** (profit, reward, their own interest)\n3. Make the incentive **SUFFICIENT** to cover gas + profit\n\n**Always ask: \"Who calls this function? Why would they pay gas?\"**\n\nIf you can't answer this, your function won't get called.\n\n### Examples of Proper Incentive Design\n\n```solidity\n\u002F\u002F LIQUIDATIONS: Caller gets bonus collateral\nfunction liquidate(address user) external {\n    require(getHealthFactor(user) \u003C 1e18, \"Healthy\");\n    uint256 bonus = collateral * 5 \u002F 100; \u002F\u002F 5% bonus\n    collateralToken.transfer(msg.sender, collateral + bonus);\n}\n\n\u002F\u002F YIELD HARVESTING: Caller gets % of harvest\nfunction harvest() external {\n    uint256 yield = protocol.claimRewards();\n    uint256 callerReward = yield \u002F 100; \u002F\u002F 1%\n    token.transfer(msg.sender, callerReward);\n}\n\n\u002F\u002F CLAIMS: User wants their own tokens\nfunction claimRewards() external {\n    uint256 reward = pendingRewards[msg.sender];\n    pendingRewards[msg.sender] = 0;\n    token.transfer(msg.sender, reward);\n}\n```\n\n---\n\n## Critical Gotchas (Memorize These)\n\n### 1. Token Decimals Vary\n\n**USDC = 6 decimals, not 18!**\n\n```solidity\n\u002F\u002F BAD: Assumes 18 decimals - transfers 1 TRILLION USDC!\nuint256 oneToken = 1e18;\n\n\u002F\u002F GOOD: Check decimals\nuint256 oneToken = 10 ** token.decimals();\n```\n\nCommon decimals:\n- USDC, USDT: 6 decimals\n- WBTC: 8 decimals\n- Most tokens (DAI, WETH): 18 decimals\n\n### 2. ERC-20 Approve Pattern Required\n\nContracts cannot pull tokens directly. Two-step process:\n\n```solidity\n\u002F\u002F Step 1: User approves\ntoken.approve(spenderContract, amount);\n\n\u002F\u002F Step 2: Contract pulls tokens\ntoken.transferFrom(user, address(this), amount);\n```\n\n**Never use infinite approvals:**\n```solidity\n\u002F\u002F DANGEROUS\ntoken.approve(spender, type(uint256).max);\n\n\u002F\u002F SAFE\ntoken.approve(spender, exactAmount);\n```\n\n### 3. No Floating Point in Solidity\n\nUse basis points (1 bp = 0.01%):\n\n```solidity\n\u002F\u002F BAD: This equals 0\nuint256 fivePercent = 5 \u002F 100;\n\n\u002F\u002F GOOD: Basis points\nuint256 FEE_BPS = 500; \u002F\u002F 5% = 500 basis points\nuint256 fee = (amount * FEE_BPS) \u002F 10000;\n```\n\n### 4. Reentrancy Attacks\n\nExternal calls can call back into your contract:\n\n```solidity\n\u002F\u002F SAFE: Checks-Effects-Interactions pattern\nfunction withdraw() external nonReentrant {\n    uint256 bal = balances[msg.sender];\n    balances[msg.sender] = 0; \u002F\u002F Effect BEFORE interaction\n    (bool success,) = msg.sender.call{value: bal}(\"\");\n    require(success);\n}\n```\n\nAlways use OpenZeppelin's ReentrancyGuard.\n\n### 5. Never Use DEX Spot Prices as Oracles\n\nFlash loans can manipulate spot prices instantly:\n\n```solidity\n\u002F\u002F SAFE: Use Chainlink\nfunction getPrice() internal view returns (uint256) {\n    (, int256 price,, uint256 updatedAt,) = priceFeed.latestRoundData();\n    require(block.timestamp - updatedAt \u003C 3600, \"Stale\");\n    require(price > 0, \"Invalid\");\n    return uint256(price);\n}\n```\n\n### 6. Vault Inflation Attack\n\nFirst depositor can steal funds via share manipulation:\n\n```solidity\n\u002F\u002F Mitigation: Virtual offset\nfunction convertToShares(uint256 assets) public view returns (uint256) {\n    return assets.mulDiv(totalSupply() + 1e3, totalAssets() + 1);\n}\n```\n\n### 7. Use SafeERC20\n\nSome tokens (USDT) don't return bool on transfer:\n\n```solidity\nimport \"@openzeppelin\u002Fcontracts\u002Ftoken\u002FERC20\u002Futils\u002FSafeERC20.sol\";\nusing SafeERC20 for IERC20;\n\ntoken.safeTransfer(to, amount); \u002F\u002F Handles non-standard tokens\n```\n\n---\n\n## Scaffold-ETH 2 Development\n\n### Project Structure\n```\npackages\u002F\n├── foundry\u002F              # Smart contracts\n│   ├── contracts\u002F        # Your Solidity files\n│   └── script\u002F           # Deploy scripts\n└── nextjs\u002F\n    ├── app\u002F              # React pages\n    └── contracts\u002F        # Generated ABIs + externalContracts.ts\n```\n\n### Essential Hooks\n```typescript\n\u002F\u002F Read contract data\nconst { data } = useScaffoldReadContract({\n  contractName: \"YourContract\",\n  functionName: \"greeting\",\n});\n\n\u002F\u002F Write to contract\nconst { writeContractAsync } = useScaffoldWriteContract(\"YourContract\");\n\n\u002F\u002F Watch events\nuseScaffoldEventHistory({\n  contractName: \"YourContract\",\n  eventName: \"Transfer\",\n  fromBlock: 0n,\n});\n```\n\n---\n\n## SpeedRun Ethereum Challenges\n\nReference these for hands-on learning:\n\n| Challenge | Concept | Key Lesson |\n|-----------|---------|------------|\n| 0: Simple NFT | ERC-721 | Minting, metadata, tokenURI |\n| 1: Staking | Coordination | Deadlines, escrow, thresholds |\n| 2: Token Vendor | ERC-20 | Approve pattern, buy\u002Fsell |\n| 3: Dice Game | Randomness | On-chain randomness is insecure |\n| 4: DEX | AMM | x*y=k formula, slippage |\n| 5: Oracles | Price Feeds | Chainlink, manipulation resistance |\n| 6: Lending | Collateral | Health factor, liquidation incentives |\n| 7: Stablecoins | Pegging | CDP, over-collateralization |\n| 8: Prediction Markets | Resolution | Outcome determination |\n| 9: ZK Voting | Privacy | Zero-knowledge proofs |\n| 10: Multisig | Signatures | Threshold approval |\n| 11: SVG NFT | On-chain Art | Generative, base64 encoding |\n\n---\n\n## DeFi Protocol Patterns\n\n### Uniswap (AMM)\n- Constant product formula: x * y = k\n- Slippage protection required\n- LP tokens represent pool share\n\n### Aave (Lending)\n- Supply collateral, borrow assets\n- Health factor = collateral value \u002F debt value\n- Liquidation when health factor \u003C 1\n\n### ERC-4626 (Tokenized Vaults)\n- Standard interface for yield-bearing vaults\n- deposit\u002Fwithdraw with share accounting\n- Protect against inflation attacks\n\n---\n\n## Security Review Checklist\n\nBefore deployment, verify:\n- [ ] Access control on all admin functions\n- [ ] Reentrancy protection (CEI + nonReentrant)\n- [ ] Token decimal handling correct\n- [ ] Oracle manipulation resistant\n- [ ] Integer overflow handled (0.8+ or SafeMath)\n- [ ] Return values checked (SafeERC20)\n- [ ] Input validation present\n- [ ] Events emitted for state changes\n- [ ] Incentives designed for maintenance functions\n\n---\n\n## Response Guidelines\n\nWhen helping developers:\n\n1. **Follow the fork workflow** - Always use `yarn fork`, never `yarn chain`\n2. **Answer directly** - Address their question first\n3. **Show code** - Provide working examples\n4. **Warn about gotchas** - Proactively mention relevant pitfalls\n5. **Reference challenges** - Point to SpeedRun Ethereum for practice\n6. **Ask about incentives** - For any \"automatic\" function, ask who calls it and why\n",{"name":5,"license":14,"metadata":43,"description":7},{"author":44,"version":45},"BuidlGuidl","2.0.0","main","e7e336ac628c3e3bd771aff1aaa469c93778f94a","skills\u002Fjp4g\u002Fethereum-wingman",0,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del","2026-08-23 22:39:37",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add kbarbel640-del\u002Fskills --skill ethereum-wingman",{"tool":59,"command":60},"bunx","bunx skills add kbarbel640-del\u002Fskills --skill ethereum-wingman",{"tool":62,"command":63},"pnpm","pnpm dlx skills add kbarbel640-del\u002Fskills --skill ethereum-wingman","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fjp4g\u002Fethereum-wingman\u002FSKILL.md",true,[67,73,77,81,85,89,93,99,103],{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"_meta.json","REFERENCE","参考文档",282,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fjp4g\u002Fethereum-wingman\u002F_meta.json",{"path":74,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":75,"sourceHtmlUrl":76},"AGENTS.md",20312,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fjp4g\u002Fethereum-wingman\u002FAGENTS.md",{"path":78,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":79,"sourceHtmlUrl":80},"metadata.json",1215,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fjp4g\u002Fethereum-wingman\u002Fmetadata.json",{"path":82,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fautomation-and-incentives.md",12136,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fjp4g\u002Fethereum-wingman\u002Freferences\u002Fautomation-and-incentives.md",{"path":86,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Fcritical-gotchas.md",8221,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fjp4g\u002Fethereum-wingman\u002Freferences\u002Fcritical-gotchas.md",{"path":90,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002Fhistorical-hacks.md",10412,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fjp4g\u002Fethereum-wingman\u002Freferences\u002Fhistorical-hacks.md",{"path":94,"resourceType":95,"resourceTypeDesc":96,"sizeBytes":97,"sourceHtmlUrl":98},"scripts\u002Fcheck-gotchas.sh","SCRIPT","脚本",3106,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fjp4g\u002Fethereum-wingman\u002Fscripts\u002Fcheck-gotchas.sh",{"path":100,"resourceType":95,"resourceTypeDesc":96,"sizeBytes":101,"sourceHtmlUrl":102},"scripts\u002Finit-project.sh",1692,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fjp4g\u002Fethereum-wingman\u002Fscripts\u002Finit-project.sh",{"path":104,"resourceType":95,"resourceTypeDesc":96,"sizeBytes":105,"sourceHtmlUrl":106},"scripts\u002Fsetup-cursor.sh",1163,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fjp4g\u002Fethereum-wingman\u002Fscripts\u002Fsetup-cursor.sh",[108,134,157,175,180,200],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":38},"01M6G8J55967D6281ACMKAKTEQ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133],"crowd prompting","prompting","api","with","tokens","domain","world","prompts","operations","instructions","text","tool","system","improve","productivity","marketplace","https","content","ai agents",{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":38},"01M6G8J0PKPAYVET6BWE8W4C26","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[141,117,142,143,144,145,35,146,147,148,149,150,151,152,153,154,155,122,156],"dilemm ai","arena","analyze","browser","openclaw agent","automation","browser automation","bot","openclaw","design","strategy","headless","compete","submit","matchmaking","use",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":38},"01M6G8HWAF3K9SW7NP3Z83CPJ6","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, or submitting paper reviews via API at http:\u002F\u002F150.158.152.82:8000.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Fweak-accept\u002FSKILL.md",[],[164,165,166,167,168,169,170,118,171,154,156,172,117,173,174],"arxiv paper reviews","reviews","arxiv","paper","crawler","papers","comments","fetch","read","http","via",{"skillNo":176,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":179,"publishedAt":38},"01M6G8HQJ7N7WMY6YV7D7SSJ16","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[167,166,165,164,174,169,170,118,168,154,156,171,172,117,173],{"skillNo":181,"name":182,"nameZh":6,"description":183,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":184,"categories":185,"keywords":186,"publishedAt":38},"01M6G8HM95Y64JNVFC2HN4E2BG","git-summary","Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzweack\u002Fgit-summary\u002FSKILL.md",[],[187,188,189,190,191,192,193,194,195,196,197,198,199],"git","summary","git summary","commits","repository","win32","status","linux","contributors","true","quick","get","branches",{"skillNo":201,"name":202,"nameZh":6,"description":203,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":204,"categories":205,"keywords":206,"publishedAt":38},"01M6G8HGEGF05CNEJCGVYFSC4R","agent-constitution","Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fztsalexey\u002Fagent-constitution\u002FSKILL.md",[],[207,208,209,210,118,211,212,46,213,172,214,215,28,216,217,131,34,218,219],"agent constitution","constitution","contracts","tree","query","base","log","check","Rules","compliance","actions","governance","github"]