Command Palette

Search for a command to run...

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

Using Content Driven Development

БесплатноЗапускает вложенные скриптыНе проверен

Apply a Content Driven Development process to AEM Edge Delivery Services development. Use for all development tasks, including building new blocks, modifying…

adobeот adobe★ 45 звёзд на GitHub14 установок в других каталогах

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

Using Content Driven Development (CDD)

Content Driven Development is a mandatory process for AEM Edge Delivery Services development that prioritizes content and author needs over developer convenience. This skill orchestrates the development workflow to ensure code is built against real content with author-friendly content models.

Why Content-First Matters

Author needs come before developer needs. When building for AEM Edge Delivery, authors are the primary users of the structures we create. Content models must be intuitive and easy to work with, even if that means more complex decoration code.

Efficiency through preparation. Creating or identifying test content before coding provides:

  • Immediate testing capability: No need to stop development to create test content
  • Better PR workflows: Test content doubles as PR validation links for PSI checks
  • Living documentation: Test content often serves as author documentation and examples
  • Fewer assumptions: Real content reveals edge cases code-first approaches miss

NEVER start writing or modifying code without first identifying or creating the content you will use to test your changes.

When to Apply This Skill

Apply Content Driven Development principles to ALL AEM development tasks:

  • ✅ Creating new blocks
  • ✅ Modifying existing blocks (structural or functional changes)
  • ✅ Changes to core decoration functionality
  • ✅ Bug fixes that require validation
  • ✅ Any code that affects how authors create or structure content

Skip CDD only for:

  • ⚠️ Trivial CSS-only styling tweaks (but still identify test content for validation)
  • ⚠️ Configuration changes that don't affect authoring

When in doubt, follow the CDD process. The time invested pays dividends in quality and efficiency.

Related Skills

This skill orchestrates other skills at the appropriate stages:

  • content-modeling: Invoked when new content models need to be designed or existing models modified
  • building-blocks: Invoked during implementation phase for block creation or modification
  • testing-blocks: Referenced during validation phase for comprehensive testing
  • block-collection-and-party: Used to find similar blocks and reference implementations

The Content-First Process

Follow these phases in order. Do not skip steps.

Phase 1: Content Discovery and Modeling

The first phase establishes what content you're working with and ensures the content model is author-friendly.

Step 1.1: Determine Content Availability

For new blocks:

Skip to Step 1.2 (Content Model Design). Searching for content that doesn't exist is a waste of time.

For modifications to existing blocks:

Ask the user: "Does content using this block already exist that we can use for testing?"

  • YES → Identify existing content to test against

    • Use the scripts/find-block-content.js script to search for pages containing the block
    • Or ask the user: "What are the path(s) to page(s) with this block?"
    • Validate the content loads correctly in your local dev environment
    • Proceed to Phase 2 (skip content modeling if structure isn't changing)
  • NO existing content → Proceed to Step 1.2

Step 1.2: Content Model Design

REQUIRED for:

  • All new blocks
  • Structural changes to existing blocks (adding/removing/modifying sections, variants, or the authoring structure)

Ask the user: "This requires a new content model. Would you like me to use the content-modeling skill to design an author-friendly content model now?"

  • YES → Invoke the content-modeling skill

    • Follow the content modeling process completely
    • Return to this skill when content model is defined
    • Proceed to Step 1.3
  • NO → The user may want to define it themselves

    • Ask: "Please describe the content structure authors will use"
    • Document their description for reference
    • Proceed to Step 1.3

Step 1.3: Content Creation

Once the content model is defined (from Step 1.2), you need test content.

Ask the user: "We need test content for development and validation. This content will serve multiple purposes:

  • Testing during development
  • PR validation link for PSI checks
  • Author documentation and examples

Would you like to:

  1. Create this content in the CMS now (Google Drive/SharePoint/DA/Universal Editor)
  2. Create temporary local HTML files for testing (will need CMS content before PR)"

Option 1: CMS Content (Recommended)

  • Guide the user through creating content in their CMS
  • Wait for user confirmation that content is created and published
  • Get the content URL(s) from the user
  • Validate content loads in local dev environment
  • Proceed to Phase 2

Option 2: Local HTML Files (Temporary)

  • Create HTML file(s) in drafts/ folder matching the content model structure
  • Reference the HTML Structure Guide for proper file format
  • Remind user: "Restart your dev server with: aem up --html-folder drafts"
  • No
Полный SKILL.md на GitHub

Установить Using Content Driven Development в Claude Code и Claude Desktop

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

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

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

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

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

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

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

resources/html-structure.mdscripts/find-block-content.jsscripts/package.json

FAQ

Что делает скилл Using Content Driven Development?

Apply a Content Driven Development process to AEM Edge Delivery Services development. Use for all development tasks, including building new blocks, modifying existing blocks, making changes to core decoration functionality, etc.

Как установить скилл Using Content Driven Development?

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

Скилл Using Content Driven Development запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить Using Content Driven Development с