
content-driven-development
Use this when making any AEM Edge Delivery Services (EDS, Franklin, Helix) code change — new blocks, block modifications, CSS styling, bug fixes, core functionality (scripts.js, styles, delayed.js), or any JavaScript/CSS work that needs validation. Covers the Content Driven Development process — identifying or creating real test content before writing code, designing an author-friendly content model, and validating against that content throughout development. Do not use for documentation-only changes or configuration changes that do not affect authoring.
- Installs
- 1.6K
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/adobe/skills --skill content-driven-development- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads content-driven-development automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Content Driven Development (CDD)
Orchestrate the Content Driven Development workflow for AEM Edge Delivery Services. This workflow ensures code is built against real content with author-friendly content models.
CRITICAL: Never start writing or modifying code without first identifying or creating the content you will use to test your changes.
When to Use This Skill
Use CDD for 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
Do NOT use for:
- Documentation-only changes
- Configuration changes that don't affect authoring
- Research tasks that don't require making any code changes yet
Philosophy
Content Driven Development prioritizes creating or identifying test content before writing code. This ensures:
- Code is built against real content
- Author-friendly content models
- Validation throughout development
Optional: Understanding CDD Principles
Read references/cdd-philosophy.md if:
- User asks "why" questions about content-first approach
- You need to understand reasoning behind CDD decisions
- You're unsure whether to prioritize author vs developer experience
Otherwise: Follow the workflow steps below
Step 0: Create TodoList
FIRST STEP: Use the TodoWrite tool to create a todo list with the following 8 tasks:
-
Start dev server (if not running)
- Success: Dev server running, can access http://localhost:3000
-
Analyze & plan
- Success: Clear understanding documented + acceptance criteria defined
-
Design content model
- Success: Content structure documented and validated
-
Identify/create test content
- Success: Test content accessible covering all scenarios
-
Implement
- Success: Functionality works across all viewports
-
Lint & test
- Success: All checks pass
-
Final validation
- Success: All acceptance criteria met, everything works
-
Ship it
- Success: PR created with preview link for validation
Mark todo complete when: Todo list created with all 8 tasks
Step 1: Start Dev Server
Check if dev server is running:
curl -s -o /dev/null -w "%{http_code}" http://localhost:3000
Expected: 200 (server running) or connection error (server not running)
If not running, start it:
aem up --no-open --forward-browser-logs
Notes:
- Run in background if possible (dev server needs to stay running)
- Requires AEM CLI installed globally:
npm install -g @adobe/aem-cli - Alternative:
npx -y @adobe/aem-cli up --no-open --forward-browser-logs
IMPORTANT: Check the command output for errors. Common issues:
- Port 3000 already in use
- AEM CLI not installed
- Configuration errors
After starting, verify it's running:
curl -s -o /dev/null -w "%{http_code}" http://localhost:3000
Expected: 200
Success criteria:
- ✅ Dev server running
- ✅ http://localhost:3000 returns 200
- ✅ No errors in server startup output
Mark todo complete when: Dev server confirmed running and accessible
Step 2: Analyze & Plan
Invoke: analyze-and-plan skill
Provide:
- Task description from user
- Screenshots, design files, or existing URLs to match design from (if available)
The analyze-and-plan skill will:
- Guide you through task-specific analysis
- Help define acceptance criteria
- Optionally analyze visual designs/mockups if provided
- Create documented analysis for reference
Success criteria:
- ✅ Requirements analyzed
- ✅ Acceptance criteria defined
- ✅ Analysis documented to file for later steps
Mark todo complete when: Analysis documented and acceptance criteria defined
Step 3: Design Content Model
Skip if: CSS-only changes that don't affect content structure
Invoke: content-modeling skill
Provide:
- Analysis from Step 2 (content requirements, author inputs)
- Block name and purpose
The content-modeling skill will:
- Design table structure (rows, columns, semantic formatting)
- Validate against best practices (4 cells/row, semantic formatting)
- Document content model for authors
Success criteria:
- ✅ Content model designed (table structure defined)
- ✅ Validated against best practices
- ✅ Content model documented
Mark todo complete when: Content model designed and documented
Step 4: Identify/Create Test Content
Goal: End this step with accessible test content URL(s) covering all test scenarios
Choose the best path based on your situation:
Option A: User Provided Test URL(s)
When to use: User already has content and provided URL(s)
What to do:
- Validate URL loads:
curl -s -o /dev/null -w "%{http_code}" http://localhost:3000/path - Expected:
200status - Document URL(s)
- Mark complete
Option B: New Block (No Existing Content)
When to use: Building a brand new block that doesn't exist yet
What to do:
- Skip search (nothing exists yet to find)
- Create test content using one of these approaches:
Approach 1: CMS Content (Recommended)
- Ask user to create content in their CMS (Google Drive/SharePoint/DA/Universal Editor)
- Provide content model from Step 3 as reference
- Wait for user to provide URL(s)
- Validate:
curl -s -o /dev/null -w "%{http_code}" http://localhost:3000/path - Expected:
200status
Using DA: If you need to push HTML content programmatically to DA (rather than asking the user to author it), invoke the da-auth skill first to obtain a valid
DA_TOKEN, then use the DA Admin API (POST https://admin.da.live/source/{org}/{repo}/{path}) to push the content and trigger a preview.
Approach 2: Local HTML (Temporary)
- Create HTML file in
drafts/tmp/{block-name}.plain.html - Follow structure from Step 3 content model
- Read references/html-structure.md for local HTML file format guidance
- Restart dev server:
aem up --html-folder drafts --no-open --forward-browser-logs - Validate:
curl -s -o /dev/null -w "%{http_code}" http://localhost:3000/drafts/tmp/{block-name} - Expected:
200status - Note: User must create CMS content before PR (required for preview link)
Option C: Existing Block
When to use: Modifying, fixing, or styling an existing block
What to do:
First: Search for existing content
- Invoke find-test-content skill
- Provide: block name, dev server URL (optional, defaults to localhost:3000)
What find-test-content will do:
- Search for existing content pages containing the block
- Automatically detect and report all variants found
- Report: URLs with instance counts and variant info
Then: Assess search results
If sufficient content found:
- Document URL(s)
- Validate URLs load:
curl -s -o /dev/null -w "%{http_code}" http://localhost:3000/path - Expected:
200status - Mark complete
If no content found OR insufficient coverage:
- Create additional test content using approaches from Option B
- Validate URLs load
- Mark complete
Success criteria:
- ✅ Test content accessible at known URL(s)
- ✅ Content covers all test scenarios (variants, edge cases)
- ✅ URLs validated (return 200)
Mark todo complete when: Test content identified/created and validated
Step 5: Implement
Invoke: building-blocks skill
Provide:
- Content model from Step 3 (if applicable)
- Test content URL(s) from Step 4
- Analysis/requirements from Step 2
- Type of changes: new block, existing block modification, CSS-only, etc.
The building-blocks skill will:
- Guide implementation approach based on change type
- Handle JavaScript decoration (if needed)
- Handle CSS styling (mobile-first, responsive)
- Ensure iterative testing in browser throughout development
Success criteria:
- ✅ Code implementation complete
- ✅ Functionality works across all viewports (mobile, tablet, desktop)
- ✅ No console errors
Mark todo complete when: building-blocks skill reports implementation complete and working across viewports
Step 6: Lint & Test
What to do:
npm run lint
If lint errors:
- Fix issues (use
npm run lint:fixfor auto-fixable problems) - Re-run lint until clean
Run existing tests:
npm test
Note: Unit tests are optional and only needed for logic-heavy utilities. The testing-blocks skill (invoked by building-blocks in Step 5) handles browser testing. This step catches any remaining lint issues and runs the project's test suite.
Success criteria:
- ✅
npm run lintpasses with no errors - ✅
npm testpasses (if tests exist)
Mark todo complete when: All lint and test checks pass
Step 7: Final Validation
What to do:
-
Review acceptance criteria from Step 2
- Read the analysis document created in Step 2
- Check each acceptance criterion is met
-
Final browser sanity check
- Load test content URL(s) in browser
- Check mobile, tablet, and desktop viewports
- Verify no console errors
- Confirm no visual regressions
-
Verify no regressions
- If modifying existing block: test existing variants still work
- If modifying core functionality: spot-check a few pages
Success criteria:
- ✅ All acceptance criteria from Step 2 met
- ✅ Works across all viewports
- ✅ No console errors
- ✅ No regressions on existing functionality
Mark todo complete when: All acceptance criteria verified and no regressions found
Step 8: Ship It
What to do:
-
Create feature branch (if not already on one):
git checkout -b block-name -
Stage specific files only:
git add blocks/{block-name}/{block-name}.js blocks/{block-name}/{block-name}.css # Add only files you worked on - NEVER use `git add .` -
Commit with conventional commit format:
git commit -m "feat(block-name): add new block"Include relevant details in commit message and agent attribution in footer (agent adds
Co-authored-by: cursor <noreply@cursor.com>) -
Push to feature branch:
git push origin HEAD -
Create PR with preview link:
- Branch preview URL format:
https://{branch}--{repo}--{owner}.aem.page/{path} - Example:
https://carousel--aem-skills-demo--shsteimer.aem.page/ - REQUIRED: Include preview link in PR description (used for automated PSI checks)
- Add multiple preview links if needed (e.g., different variants, edge cases)
Determining if you need a draft PR:
Create a draft PR when:
- ✅ Only local test content exists for NEW functionality/variants
- ✅ Test content demonstrates new features not yet in CMS
- ✅ You need user to create CMS content before final validation
Create a regular PR when:
- ✅ All test content exists in CMS and is previewable
- ✅ Changes only affect existing content (regressions can be tested with existing CMS content)
Workflow for draft PRs:
- Create the PR as a draft using
gh pr create --draft - Include existing content preview links (for regression testing if applicable)
- Include next steps in PR description (see template below):
- Describe the test content used locally and what scenarios it covered
- Suggest that same/similar content be created and previewed, and links added to PR
- Keep steps brief but actionable for any reviewer
- Instruct the user to create CMS content following the steps:
- Open local test content in browser:
http://localhost:3000/drafts/tmp/[test-file] - Right-click AEM Sidekick extension
- Click "View document source" option
- Use the copy button to copy the document content
- Paste into Word/Google Docs/Document Authoring (for UE: use as guide, copy/paste won't work directly)
- Preview the CMS content
- Open local test content in browser:
- User adds preview URL(s) to PR description and marks PR ready for review (or agent does with user's input)
- Branch preview URL format:
PR Description Template:
Use this template for all PRs, including all relevant preview links and adapting as needed:
## Description
Brief description of changes
[If an issue exists]
Fix #<gh-issue-id>
Test URLs:
[Repeat for all relevant test urls]
- Before: https://main--{repo}--{owner}.aem.page/{path}
- After: https://{branch}--{repo}--{owner}.aem.page/{path}
[If only local test content (draft PR):]
This PR is currently a **draft** pending creation of CMS test content.
### Next Steps to Complete PR:
[add relevant steps here]
Success criteria:
- ✅ Changes committed with proper message format and attribution
- ✅ Pushed to feature branch (not main)
- ✅ PR created with preview link in description
Mark todo complete when: PR created and ready for review
Related Skills
- analyze-and-plan: Invoked in Step 2 for requirements analysis and acceptance criteria
- content-modeling: Invoked in Step 3 for designing content models
- da-auth: Obtain a valid Adobe IMS token before pushing content to DA or triggering DA previews programmatically — invoke at the start of Step 4 when using DA
- find-test-content: Invoked in Step 4, Option C for finding existing content
- building-blocks: Invoked in Step 5 for implementation
- testing-blocks: Invoked by building-blocks for browser testing
- block-collection-and-party: Used to find similar blocks and reference implementations
Anti-Patterns to Avoid
Common mistakes that violate CDD principles:
- ❌ Starting with code before understanding the content model
- ❌ Making assumptions about content structure without seeing real examples
- ❌ Creating developer-friendly but author-hostile content models
- ❌ Skipping content creation "to save time" (costs more time later)
Resources
- Philosophy: references/cdd-philosophy.md - Why content-first matters
- HTML Structure: references/html-structure.md - Guide for creating local HTML test files
FAQ
What does the content-driven-development skill do?
Use this when making any AEM Edge Delivery Services (EDS, Franklin, Helix) code change — new blocks, block modifications, CSS styling, bug fixes, core functionality (scripts.js, styles, delayed.js), or any JavaScript/CSS work that needs validation. Covers the Content Driven Development process — identifying or creating real test content before writing code, designing an author-friendly content model, and validating against that content throughout development. Do not use for documentation-only changes or configuration changes that do not affect authoring.
How do I install content-driven-development?
Run npx skills add https://github.com/adobe/skills --skill content-driven-development in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/content-driven-development/ (personal) or .claude/skills/content-driven-development/ (project).
Which AI agents can use content-driven-development?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is content-driven-development safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains content-driven-development?
It is published by adobe in adobe/skills. It has 1,611 recorded installs.
More from adobe/skills
scrape-webpage
adobe/skills
Use this when the page-import pipeline needs to fetch a source webpage and prepare it for import/migration to AEM Edge Delivery Services. Covers scraping content, extracting metadata, downloading images, and returning analysis JSON with paths, metadata, cleaned HTML, and local images. Do not invoke directly — called by page-import as a pipeline step.
code-review
adobe/skills
Use this when reviewing AEM Edge Delivery Services (EDS, Franklin, Helix) code, either self-review at the end of development before opening a PR, or reviewing an existing pull request. Validates block structure, CSS and JS patterns, DOM output, Lighthouse performance, and accessibility against EDS best practices, and posts findings as review comments or GitHub suggestions.
docs-search
adobe/skills
Use this when you need more information about an AEM Edge Delivery Services (EDS, Franklin, Helix) feature or guidance on how to implement one, and your existing web-search tools are not turning up relevant results. Searches the aem.live documentation, ranks matching pages by relevance, fetches full articles, and surfaces code examples and deprecation warnings.
building-blocks
adobe/skills
Use this when implementing code changes in AEM Edge Delivery Services (EDS, Franklin, Helix), whether new or modified blocks, core functionality (scripts.js, styles, delayed.js, etc.), or both. Creates and modifies block folders and decorate functions, updates core scripts, scopes CSS, and wires up delayed loading. For the overall development process use content-driven-development.
block-inventory
adobe/skills
Use this when the page-import pipeline needs to survey the block palette available from a local AEM Edge Delivery Services project and the Block Collection to inform content modeling decisions. Scans local block folders, searches the Block Collection for common blocks, resolves each block's purpose, and returns a consolidated block inventory annotated with per-block purpose and availability. Do not invoke directly — called by page-import as a pipeline step.
content-modeling
adobe/skills
Use this when you are building new AEM Edge Delivery Services blocks or changing the initial structure that authors work with in an existing block. Covers designing content models that are easy for authors to use.
Popular frontend & design skills
setup-matt-pocock-skills
mattpocock/skills
Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.
frontend-design
anthropics/skills
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.
hyperframes-animation
heygen-com/hyperframes
All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.
prototype
mattpocock/skills
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
hyperframes-core
heygen-com/hyperframes
The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.
vercel-react-best-practices
vercel-labs/agent-skills
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.