austintgriffith/ethereum-wingman

No description

0 stars0 forksUpdated Jan 25, 2026
npx skills add austintgriffith/ethereum-wingman

README

Ethereum Wingman

A comprehensive Ethereum development tutor and guide built as an Agent Skill. Teaches smart contract development through SpeedRun Ethereum challenges, Scaffold-ETH tooling, and security best practices.

Quick Start

Build an Ethereum dApp from scratch with AI assistance:

# 1. Create a new project folder
mkdir my-defi-project
cd my-defi-project

# 2. Install the Ethereum Wingman skill
npx skills add austintgriffith/ethereum-wingman

# 3. Open in Cursor (or your AI-enabled editor)
cursor .

Then just tell the AI what you want to build:

"Help me build a dApp where users can stake ETH and earn rewards"

"Create a token with buy/sell functionality like SpeedRun Ethereum Challenge 2"

"Build an NFT collection with on-chain SVG art"

The Ethereum Wingman will:

  • šŸ—ļø Scaffold a Scaffold-ETH 2 project for you
  • āš ļø Warn you about critical gotchas (token decimals, reentrancy, etc.)
  • šŸ” Guide you on security best practices
  • šŸ“š Reference SpeedRun Ethereum challenges for learning

What is Ethereum Wingman?

Ethereum Wingman is a knowledge base and prompt system that helps AI agents assist developers learning Ethereum development. It covers:

  • SpeedRun Ethereum Challenges: TLDR modules for all 12 challenges
  • Scaffold-ETH 2 Integration: Tooling docs, hooks reference, fork workflows
  • DeFi Protocols: Uniswap, Aave, Compound patterns
  • ERC Standards: Comprehensive guides for ERC-20, 721, 1155, 4626
  • Security: Critical gotchas, historical hacks, pre-production checklist

Installation

Via skills.sh (Recommended)

npx skills add austintgriffith/ethereum-wingman

This works with Cursor, Claude Code, Codex, OpenCode, and other AI coding agents.

Manual Installation

For Cursor: Copy .cursorrules to your project root or add to your global Cursor rules.

For Claude Code: Reference the CLAUDE.md file in your project instructions.

As MCP Integration: The skill.json manifest describes capabilities that can be integrated with MCP-compatible agents.

Directory Structure

ethereum-wingman/
ā”œā”€ā”€ skills/
│   └── ethereum-wingman/    # skills.sh compatible package
│       ā”œā”€ā”€ SKILL.md         # Skill definition with frontmatter
│       ā”œā”€ā”€ AGENTS.md        # Full compiled instructions
│       ā”œā”€ā”€ metadata.json    # Skill metadata
│       ā”œā”€ā”€ README.md        # Skill documentation
│       ā”œā”€ā”€ scripts/         # Helper scripts
│       │   ā”œā”€ā”€ init-project.sh
│       │   └── check-gotchas.sh
│       └── references/      # Key knowledge files
ā”œā”€ā”€ knowledge/
│   ā”œā”€ā”€ challenges/     # 12 SpeedRun Ethereum challenge modules
│   ā”œā”€ā”€ protocols/      # DeFi protocol documentation
│   ā”œā”€ā”€ standards/      # ERC standards
│   ā”œā”€ā”€ foundations/    # Core concepts
│   └── gotchas/        # Security knowledge
ā”œā”€ā”€ tools/
│   ā”œā”€ā”€ scaffold-eth/   # Scaffold-ETH 2 documentation
│   ā”œā”€ā”€ deployment/     # Deployment patterns
│   └── security/       # Security tools
ā”œā”€ā”€ prompts/            # AI agent prompts
ā”œā”€ā”€ AGENTS.md           # Symlink to skills/ethereum-wingman/AGENTS.md
ā”œā”€ā”€ skill.json          # Legacy skill manifest
ā”œā”€ā”€ .cursorrules        # Cursor IDE integration
└── CLAUDE.md           # Claude Code integration

Key Concepts Covered

🚨 The Most Important Concept

NOTHING IS AUTOMATIC ON ETHEREUM.

Smart contracts cannot execute themselves. For any function that "needs to happen":

  1. Make it callable by ANYONE (not just admin)
  2. Give callers a REASON (profit, reward, their own interest)
  3. Make the incentive SUFFICIENT to cover gas + profit

The Wingman will always ask: "Who calls this function? Why would they pay gas?"

Critical Gotchas

Every Ethereum developer must know:

  1. Token Decimals Vary: USDC = 6, WBTC = 8, most = 18
  2. Approve Pattern Required: Contracts need approval before transferFrom
  3. Reentrancy Attacks: Always use Checks-Effects-Interactions + ReentrancyGuard
  4. Oracle Manipulation: Never use DEX spot prices
  5. No Floating Point: Use basis points (500/10000 = 5%)
  6. Nothing is Automatic: Design incentives for function callers
  7. Vault Inflation Attack: Protect first depositors

SpeedRun Ethereum Challenges

Each challenge teaches a key blockchain concept:

ChallengeConcept
Simple NFTERC-721, minting, metadata
Decentralized StakingCoordination, deadlines, escrow
Token VendorERC-20 approve pattern
Dice GameRandomness vulnerabilities
DEXAMM, constant product formula
OraclesPrice feeds, manipulation resistance
LendingCollateralization, liquidation
StablecoinsPegging mechanisms
Prediction MarketsOutcome resolution
ZK VotingPrivacy-preserving governance
MultisigThreshold signatures
SVG NFTOn-chain generative art

Usage Examples

Teaching Mode

Ask questions like:

  • "How does the ERC-20 approve pattern work?"
  • "Explain the constant

...

Read full README

Statistics

Stars0
Forks0
Open Issues0
CreatedJan 22, 2026