data-layer

Official

Speed up data-layer work with reusable patterns

Authorethereum
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill provides a structured approach to building a consistent, cached data-access layer for multiple data sources, reducing boilerplate and ensuring predictable behavior across the codebase.

Core Features & Use Cases

  • Uniform getters: Centralized pattern for pure passthrough getters backed by a single KEYS map.
  • Caching & invalidation: Built-in caching strategy to balance freshness and performance via a wrapper in lib/data.
  • Data source integration: Clear directory structure and guidelines for adding fetchers, mocks, and development utilities.

Quick Start

Create a new fetcher in src/data-layer/fetchers and wire it into KEYS, then expose via a getter and add a cached wrapper.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: data-layer
Download link: https://github.com/ethereum/ethereum-org-website/archive/main.zip#data-layer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.