Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Modeling Content

БесплатноБез исполняемых скриптовНе проверен

Create effective content models for your blocks that are easy for authors to work with. Use this skill anytime you are building new blocks, making changes to…

adobeот adobe★ 45 звёзд на GitHub

Об этом скилле

Content Modeling for AEM Edge Delivery Blocks

This skill guides you through designing content models for AEM Edge Delivery Services blocks. A content model defines the HTML table structure that authors work with when creating content in their CMS (Google Docs, SharePoint, etc.).

Related Skills

  • content-driven-development: This skill is typically invoked FROM the CDD skill during Phase 1 (Content Model Design)
  • building-blocks: After content modeling is complete, this skill handles implementation
  • block-collection-and-party: Use to find similar blocks and their content models for reference

When to Use This Skill

Use this skill when:

  • Creating new blocks and need to design the author-facing content structure
  • Modifying existing blocks in ways that change what authors work with
  • Reviewing content models for conformance to best practices
  • Migrating or refactoring content models

Note: This skill is usually invoked automatically by the content-driven-development skill at Step 1.2. If you're not already in a CDD workflow and are creating a new block, consider invoking the CDD skill first.

Core Principles

A good content model is:

  • Semantic: Structure carries meaning on its own without decoration
  • Predictable: Authors, developers, and agents all know what to expect
  • Reusable: Works across authoring surfaces and projects

Prerequisites

Before designing a content model, ensure you understand:

  1. Block Purpose: What is this block meant to accomplish?
  2. Content Requirements: What content elements are needed (images, text, links, etc.)?
  3. User Experience: How should this block appear and function on the page?

The Content Modeling Process

Step 1: Identify the Canonical Model Type(s)

AEM Edge Delivery has 4 canonical block models. While these cover the most common cases, sometimes the best approach is to support multiple models for the same block to accommodate different authoring workflows and content complexity.

Review the descriptions in resources/canonical-models.md and identify which model(s) fit best:

  • Standalone: Best for distinct visual or narrative elements (Hero, Blockquote)
  • Collection: Ideal for repeating semi-structured content (Cards, Carousel)
  • Configuration: Use ONLY for API-driven or dynamic content where config controls display (Blog Listing, Search Results)
  • Auto-Blocked: Good for simplifying authoring of complex structures and block nesting (Tabs, YouTube Embed)

Consider these questions as a starting point (note: content modeling is an art, not a science - use these as guidelines, not strict rules):

  • Is this a unique, one-off element? → Often Standalone
  • Is this a repeating list of similar items? → Often Collection
  • Does this pull data from an API or require behavior configuration? → Likely Configuration
  • Does this block require nesting other blocks, or use a complex structure that authors could more easily create as sections or default content that gets transformed into the block? → Consider Auto-Blocked

Important: Consider if multiple models should be supported. For example:

  • Simple cases might work best as Collection
  • Complex cases (with nested blocks) might need Auto-Blocked
  • Both can be equally valid - let decoration code handle the variations

See resources/advanced-scenarios.md for patterns on supporting multiple models for one block.

Step 2: Design the Table Structure

Design your table structure following these key guidelines:

Key Guidelines:

  • Limit to maximum 4 cells per row - group like elements into cells
  • Apply semantic formatting (headings, bold, italic) to define meaning
  • Prefer block variants over config cells
  • Infer from context and use smart defaults to limit what authors must input
  • Follow Postel's Law: "be conservative in what you do, be liberal in what you accept from others"
    • Be flexible about the input structure authors provide. For example, in a hero block, all elements could be in one cell, split across 2 cells in one row, or in 2 separate rows - any of these can work with proper decoration code (it's just query selectors)
    • Don't be overly prescriptive about structure when flexibility makes sense
    • The goal is to make authoring easier, not to enforce rigid structures for developer convenience

For each canonical model:

Standalone blocks:

  • Use rows or columns as needed for the unique structure
  • Be flexible about how authors organize content - your decoration code can handle variations
  • Use semantic formatting to identify elements (bold for headings, etc.) rather than rigid cell positions
  • Example: Hero block where image and text could be in separate rows, separate columns, or even combined - decoration code uses query selectors to find what it needs

Collection blocks:

  • Each row represents an item
  • Columns define the parts of each item
  • Keep columns consistent across all rows
  • Example: Cards with columns
Полный SKILL.md на GitHub

Установить Modeling Content в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

resources/advanced-scenarios.mdresources/canonical-models.md

FAQ

Что делает скилл Modeling Content?

Create effective content models for your blocks that are easy for authors to work with. Use this skill anytime you are building new blocks, making changes to existing blocks that modify the initial structure authors work with.

Как установить скилл Modeling Content?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Modeling Content запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Modeling Content с