concepts

Explain foundational Ethereum dApp development concepts including EVM mechanics and security patterns.

Updated Mar 6, 2026
One-click install
npx skills add https://github.com/andginja/ethskills --skill concepts-andginja
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: concepts
Source: https://github.com/andginja/ethskills/tree/main/skills/concepts
Command: npx skills add https://github.com/andginja/ethskills --skill concepts-andginja

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides essential mental models for Ethereum development, preventing common design flaws and ensuring the creation of robust, secure, and sustainable decentralized applications.

Core Features & Use Cases

  • Understanding EVM Mechanics: Clarifies that smart contracts don't run automatically and require transactions with gas.
  • Incentive Design: Explains how MEV and arbitrage arise from protocol design and how to incentivize necessary actions.
  • Hyperstructure Principles: Introduces the concept of self-sustaining protocols that require zero maintenance.
  • Immutability vs. Upgradeability: Guides decisions on contract design trade-offs.
  • Account Abstraction & EIP-7702: Explains the evolving nature of accounts and transaction signing.
  • Gas Economics: Details gas as a resource and its impact on design choices.
  • Security Patterns: Emphasizes the Checks-Effects-Interactions pattern to prevent reentrancy.
  • Randomness: Highlights the difficulty of generating secure randomness on-chain.

Quick Start

Explain the concept of 'Nothing is Automatic' in Ethereum development.

Frequently Asked Questions about concepts

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

FAQPage Schema
How do smart contracts execute on the EVM and why is nothing automatic?

Smart contracts on the EVM do not run automatically; they require externally triggered transactions with gas to execute. Understanding this deterministic execution model is essential for designing robust Ethereum dApps that rely on user-initiated state changes.

What is the Checks-Effects-Interactions pattern in Solidity?

The Checks-Effects-Interactions pattern is a security mechanism in Solidity that prevents reentrancy attacks. It structures smart contract functions to validate inputs, update internal state, and interact with external contracts last, ensuring secure dApp execution.

How do I generate secure randomness for Ethereum smart contracts?

Generating secure randomness for Ethereum smart contracts is highly challenging due to the deterministic nature of the EVM. On-chain randomness can be manipulated by validators, requiring specific mental models to identify alternative approaches for secure dApp development.

What are the trade-offs between immutability and upgradeability in smart contract design?

Immutability versus upgradeability involves trade-offs in smart contract design between security and maintenance. Choosing immutable contracts ensures trustless execution, while upgradeability allows patching vulnerabilities but introduces centralized risks to Ethereum dApps.

How does MEV impact incentive design in Ethereum dApp development?

MEV, or Maximal Extractable Value, arises from Ethereum protocol design and impacts incentive design by allowing validators to reorder transactions. Developing robust dApps requires understanding MEV to properly incentivize necessary user actions and mitigate arbitrage.

What is account abstraction and EIP-7702 in Ethereum development?

Account abstraction and EIP-7702 represent the evolving nature of accounts and transaction signing in Ethereum development. They provide mental models for flexible user experiences, enabling smart contract logic directly within externally owned accounts for dApp interactions.