What problem does it solve?
This skill guides teams in creating new AEM Edge Delivery blocks or modifying existing ones, ensuring consistent structure, JavaScript decoration, CSS styling, and alignment with Content Driven Development (CDD) principles.
Core Features & Use Cases
- Block scaffolding: Create new block directories with standard files and naming conventions.
- Decoration & styling: Implement block decoration via JavaScript and apply scoped CSS.
- Content-driven workflow: Validate prerequisites (test content, content models) and reuse patterns from similar blocks.
- Testing and documentation: Outline testing strategies and ensure documentation for developers and authors is maintained.
Use Case: A developer needs to add a new block for a product listing and wants to follow the standard process with the right file structure, code patterns, and tests.
Quick Start
Use this skill to scaffold a new AEM Edge Delivery block by defining its structure, adding a decorate.js, and wiring up CSS according to the project guidelines.