eds-block-development

Develop Adobe Edge Delivery Services blocks with decorate() and file layout conventions.

2|Updated Feb 22, 2024
One-click install
npx skills add https://github.com/ddttom/allaboutv2 --skill eds-block-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: eds-block-development
Source: https://github.com/ddttom/allaboutv2/tree/main/.claude/skills/eds-block-development
Command: npx skills add https://github.com/ddttom/allaboutv2 --skill eds-block-development

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates confusion and common errors when developing Adobe Edge Delivery Services blocks, providing clear guidance and battle-tested code examples.

Core Features & Use Cases

  • Block Structure Guidance: Complete file organization and naming conventions for EDS blocks.
  • Content Extraction Patterns: Ready-to-use code for processing Google Docs table structures.
  • Use Case: Imagine you need to create a new overlay block. Use this Skill to implement the correct decorate function pattern, avoid reserved class name conflicts, and test your implementation properly.

Quick Start

Use the eds-block-development skill to create a new hero block with proper content extraction from Google Docs tables.

Frequently Asked Questions about eds-block-development

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

FAQPage Schema
How do I create a new EDS block with proper file structure and naming conventions?

EDS blocks require a /blocks/{name} directory with JS, CSS, README.md, EXAMPLE.md, and test.html files. Export a default decorate(block) function that processes Google Docs table structures and returns the decorated block element following Adobe Edge Delivery Services patterns.

What's the correct way to implement the decorate function for content extraction from Google Docs?

The decorate function receives a block element, extracts content from Google Docs table structures, and transforms it into your block's DOM. Use proven patterns to map table rows and cells to block data, then apply styling with reserved class names and safe suffixes to avoid conflicts.

What reserved class names and naming conventions should I avoid in EDS block development?

EDS blocks enforce specific reserved class-name conventions and safe suffix patterns to prevent conflicts. Adhere to Google Docs header-driven block naming and avoid reserved keywords when naming your block and its internal classes to ensure consistency across your Content Driven Development environment.

Can I test my EDS block implementation before deploying it?

Yes, include a test.html file in your block's directory to validate your decorate function logic and content extraction patterns. Test against actual Google Docs table structures to verify your implementation handles edge cases and applies styling correctly before production deployment.

Do I need to edit existing blocks or create new ones—which workflow does this cover?

This covers both creating new blocks in /blocks/ and editing existing block JS and CSS files. Whether you're building a fresh overlay block or refining an existing component's decorate logic, follow the same file layout and content extraction patterns to maintain consistency.