AEM Block Reusability

Identify reusable AEM blocks across Block Collection, Block Party, and current projects.

Updated Nov 5, 2024
One-click install
npx skills add https://github.com/samircaus/elsie --skill aem-block-reusability
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: AEM Block Reusability
Source: https://github.com/samircaus/elsie/tree/main/.agents/skills/aem-block-reusability
Command: npx skills add https://github.com/samircaus/elsie --skill aem-block-reusability

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams avoid reinventing the wheel by enforcing a reuse-first workflow for AEM blocks, ensuring faster delivery and consistent patterns.

Core Features & Use Cases

  • Before implementing any block check AEM Block Collection, Block Party, and current project blocks for existing patterns.
  • Save time and reduce risk by reusing proven components instead of building from scratch.
  • Use Case: When tasked with a new AEM component, scan available repositories to find closest matching patterns and adapt them.

Quick Start

Begin by checking AEM Block Collection and Block Party before starting any new block implementation.

Frequently Asked Questions about AEM Block Reusability

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

FAQPage Schema
How do I check for existing AEM blocks before implementing a new component?

To reuse AEM blocks across multiple projects, scan AEM Block Collection, Block Party, and current project blocks to identify closest matching patterns. This enforces a reuse-first workflow across teams, ensuring faster delivery and consistent patterns without reinventing solutions.

What is the best way to avoid reinventing AEM blocks in Edge Delivery Services?

The best way to avoid reinventing AEM blocks in Edge Delivery Services is applying a structured reuse-first workflow that checks Block Collection and Block Party before development. This approach saves time, reduces risk, and enables safe adaptation of proven components instead of building from scratch.

Can I adapt an existing AEM block if it doesn't perfectly match my requirements?

Yes, you can adapt existing AEM blocks when they don't perfectly match requirements. The workflow enforces documenting findings from Block Collection and Block Party checks, enabling safe adaptation or replacement of proven components while maintaining consistent patterns across projects.

How does a block reuse workflow improve AEM component development?

A block reuse workflow improves AEM component development by enforcing checks across Block Collection, Block Party, and current project blocks before implementation. It helps teams avoid reinventing the wheel, saving minutes on delivery and ensuring consistent patterns across projects.

When should I not reuse an existing AEM block from the Block Collection?

You should not reuse an existing AEM block from the Block Collection when your structured decision process and documented findings indicate no safe adaptation or replacement path exists. In these cases, building a new component from scratch becomes necessary to meet specific project requirements.