block-scaffolder

Generate EDS block scaffolds with JavaScript decoration, scoped CSS, and authoring markup.

Updated May 14, 2026
One-click install
npx skills add https://github.com/Focus-GTS/eds-content-ops-skills --skill block-scaffolder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: block-scaffolder
Source: https://github.com/Focus-GTS/eds-content-ops-skills/tree/main/skills/block-scaffolder
Command: npx skills add https://github.com/Focus-GTS/eds-content-ops-skills --skill block-scaffolder

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating a new Adobe Edge Delivery Services (EDS) block from scratch is slow and error-prone because authors must follow EDS table-to-DOM structure, naming conventions, scoped styling, and safe, null-tolerant decoration patterns.

Core Features & Use Cases

  • Block scaffold generation: Turns a natural-language block description into a complete starting point including a JavaScript decorate() function, scoped CSS, example authoring markup, and a test page.
  • EDS-convention correctness: Enforces block folder layout, lowercase hyphenated naming, .block-name-scoped CSS, and the expected table structure for Google Docs/Word/da.live authors.
  • Accessibility- and author-safety oriented output: Guides the generated logic toward ARIA patterns for interactive components, null safety for empty author cells, and responsive image handling via createOptimizedPicture.

Quick Start

Tell the AI: “Create an EDS block scaffold named feature-cards that renders a highlightable cards grid with accessible interactive behavior, generates scoped mobile-first CSS, includes example authoring table markup, and provides a validation checklist.”

Frequently Asked Questions about block-scaffolder

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

FAQPage Schema
How do I create a custom AEM Edge Delivery Services block from scratch?

Creating a custom AEM EDS block requires authoring a JavaScript decorate function, scoped CSS, and authoring table markup. This Skill generates a complete EDS-compliant scaffold from a natural-language description, enforcing naming conventions and null-safe DOM handling.

What is the expected decorate function structure for EDS block development?

The EDS decorate function must be a default export accepting a block element, applying null-safe DOM manipulation and responsive image generation. This Skill generates this entry point automatically while enforcing mobile-first scoped styling under the block class.

How do I generate accessible authoring markup for EDS blocks?

Accessible EDS authoring markup uses specific table-to-DOM structures for Google Docs or Word. This Skill produces example authoring table markup and integrates ARIA patterns for interactive components during scaffold generation.

Can I prototype component behavior using EDS block scaffolding?

Prototyping component behavior with EDS block scaffolding is fully supported. This Skill creates a complete starting point including a test page, variant strategy guidance, and block mapping configuration to validate interactive logic quickly.

Does EDS block scaffolding support mobile-first scoped CSS?

EDS block scaffolding supports mobile-first scoped CSS by generating styles under the specific block class. This Skill automatically produces correctly scoped CSS that adheres to EDS folder layout and lowercase hyphenated naming conventions.

Why does my EDS block break when authoring cells are empty?

EDS blocks break on empty authoring cells due to unhandled null DOM references. This Skill prevents this by generating null-safe decoration patterns that gracefully handle missing table data during the block rendering lifecycle.