The Block Collection and Block Party are repositories for existing AEM blocks, build tools, code snippets, integration patterns, plugins, and more.
This skill helps you find reference implementations, code examples, and patterns from two key AEM Edge Delivery resources:
Use the provided search scripts to discover relevant examples, then review the code to inform your implementation approach.
Use this skill when:
Do NOT use this skill when:
docs-search instead)Block Collection (Prefer this when available)
Block Party (Use for specialized needs)
When to prefer which:
Determine what you're looking for and identify relevant search terms. Think about similar or alternative names for the functionality.
Examples:
Good search terms:
Poor search terms:
Execute the Block Collection search script from the project root:
node .claude/skills/block-collection-and-party/scripts/search-block-collection.js <search-term>
Examples:
# Search for accordion/FAQ blocks
node .claude/skills/block-collection-and-party/scripts/search-block-collection.js accordion
# Search for carousel
node .claude/skills/block-collection-and-party/scripts/search-block-collection.js carousel
# Search for navigation/header
node .claude/skills/block-collection-and-party/scripts/search-block-collection.js header
Execute the Block Party search script from the project root:
node .claude/skills/block-collection-and-party/scripts/search-block-party.js [--category <category>] <search-term> [additional-terms...]
Options:
--category <category>: Filter by specific category (Block, Sidekick Plugin, DA Plugin, Code Snippet, Build Tooling, etc.)--category: Searches all categoriesExamples:
# Search for breadcrumb blocks
node .claude/skills/block-collection-and-party/scripts/search-block-party.js breadcrumb
# Search for Sass integration examples
node .claude/skills/block-collection-and-party/scripts/search-block-party.js sass
# Search only for build tooling
node .claude/skills/block-collection-and-party/scripts/search-block-party.js --category "Build Tooling" webpack
# Multi-word search
node .claude/skills/block-collection-and-party/scripts/search-block-party.js adobe target integration
Block Collection Results (type: "block"):
{
"query": "accordion",
"source": "Adobe AEM Block Collection",
"totalItems": 26,
"matchCount": 1,
"results": [
{
"name": "accordion",
"displayName": "Accordion",
"type": "block",
"liveExampleUrl": "https://main--aem-block-collection--adobe.aem.live/block-collection/accordion",
"jsUrl": "https://github.com/adobe/aem-block-collection/blob/main/blocks/accordion/accordion.js",
"cssUrl": "https://github.com/adobe/aem-block-collection/blob/main/blocks/accordion/accordion.css"
}
]
}
Block Collection Results (type: "default-content"):
{
"query": "breadcrumb",
"source": "Adobe AEM Block Collection",
"totalItems": 26,
"matchCount": 1,
"results": [
{
"name": "breadcrumbs",
"displayName": "Breadcrumbs",
"type": "default-content",
"liveExampleUrl": "https://main--aem-block-collection--adobe.aem.live/block-collection/breadcrumbs",
"note": "This is default content documentation, not a standalone block. Code may be part of other blocks (e.g., breadcrumbs are in the header block). Visit https://www.aem.live/developer/block-collection and the live example URL for implementation guidance.",
"documentationUrl": "https://www.aem.live/developer/block-collection"
}
]
}
Block Party Results:
{
"query": "breadcrumb",
"category": "All categories",
"source": "AEM Block Party (Approved Only)",
"totalEntries": 90,
"approvedEntries": 62,
"matchCount": 1,
"results": [
{
"title": "Breadcrumbs",
"category": "Block",
"description": "A breadcrumb navigation component...",
"githubUrl": "https://github.com/...",
"showcaseUrl": "https://...",
"githubProfile": "https://github.com/..."
}
]
}
Use the provided URLs to review the implementation:
For Block Collection results with type: "block":
For Block Collection results with type: "default-content":
documentationUrl (https://www.aem.live/developer/block-collection) to find implementation detailsliveExampleUrl to see examples and understand how to author the contentFor Block Party entries:
Use the reference implementations to inform your approach:
User Request: "I need to build an FAQ section with expandable questions"
Good Approach:
node .claude/skills/block-collection-and-party/scripts/search-block-collection.js accordionWhy this works:
User Request: "Add breadcrumb navigation to the site"
Good Approach:
node .claude/skills/block-collection-and-party/scripts/search-block-collection.js breadcrumbnode .claude/skills/block-collection-and-party/scripts/search-block-party.js breadcrumbWhy this works:
User Request: "Can we use Sass for our styles instead of plain CSS?"
Good Approach:
node .claude/skills/block-collection-and-party/scripts/search-block-party.js --category "Build Tooling" sassWhy this works:
User Request: "Build a carousel for product images"
Scenario: Both Block Collection and Block Party have carousel implementations
Good Approach:
node .claude/skills/block-collection-and-party/scripts/search-block-collection.js carouselnode .claude/skills/block-collection-and-party/scripts/search-block-party.js carouselWhy this works:
| Need | Block Collection Search | Block Party Search |
|---|---|---|
| FAQ section | accordion |
faq, accordion |
| Image gallery | carousel |
gallery, carousel, slideshow |
| Tabbed content | tabs |
tabs, tabbed |
| Navigation | header |
navigation, menu, header |
| Footer | footer |
footer |
| Product cards | cards |
cards, product |
| Video embed | video, embed |
video, embed, youtube |
| Build tools | N/A | Use --category "Build Tooling" |
| Sidekick plugins | N/A | Use --category "Sidekick Plugin" |
| Integrations | N/A | Search for service name (e.g., target, analytics) |
No results in Block Collection:
building-blocks skillToo many results in Block Party:
--category to filterFound code but seems outdated:
docs-search skillMultiple implementations, unsure which to use: