What problem does it solve?
Creating or modifying AEM Edge Delivery blocks requires adherence to specific architectural patterns for JavaScript decoration and CSS styling, often leading to inconsistent implementations and maintenance headaches. This skill provides a structured guide to ensure quality and maintainability, saving you time and effort.
Core Features & Use Cases
- Structured Development: Guides through block file creation, JavaScript decoration logic, and CSS styling, ensuring consistency and adherence to best practices.
- Code Quality Adherence: Enforces best practices for DOM manipulation, variant handling, and performance, leading to robust and efficient blocks.
- Integrated Testing: Automatically invokes the
testing-blocks skill for comprehensive validation, ensuring your blocks are thoroughly tested before deployment.
- Use Case: After defining the content model for a new "cards" block, use this skill to implement its JavaScript decoration logic and CSS styling, ensuring it follows AEM best practices and is ready for testing, reducing rework and bugs.
Quick Start
Implement the JavaScript decoration and CSS styling for a "hero" block, using the provided content model and test content URL.