/create-component
Creates complete AEM components with dialog, HTL template, Sling Model, unit tests, and clientlibs. Supports extending Core Components and project components. When a Figma design URL is provided, fetches the design via Figma MCP (get_design_context) and translates it into
$ npx -y skills add adobe/skills --skill create-component --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/create-component
Context preview
The summary Claude sees to decide when to auto-load this skill.
Creates complete AEM components with dialog, HTL template, Sling Model, unit tests, and clientlibs. Supports extending Core Components and project components. When a Figma design URL is provided, fetches the design via Figma MCP (get_design_context) and translates it into
SKILL.md
create-component.SKILL.mdname: create-component
description: |
Creates complete AEM components with dialog, HTL template, Sling Model, unit tests, and clientlibs.
Supports extending Core Components and project components. When a Figma design URL is provided,
fetches the design via Figma MCP (get_design_context) and translates it into pixel-perfect HTL, CSS,
and JS. Follows Adobe Experience League best practices for AEM Cloud Service and 6.5.
Use this skill whenever the user mentions creating, building, generating, or scaffolding an AEM
component, or mentions component types like teaser, card, hero, banner, accordion, tabs, carousel,
list, navigation, breadcrumb, or any custom AEM component. Also trigger when the user wants to
extend a Core Component, create a component dialog, add a Sling Model, or convert a Figma design
into an AEM component.
compatibility: Requires AEM as a Cloud Service or AEM 6.5. Maven project structure with core, ui.apps modules. Figma design integration requires the `plugin-figma-figma` MCP server to be enabled in the IDE.
license: Apache-2.0
metadata:
author: AEM Dev Agent
version: "1.0"
aem_version: "6.5/Cloud Service"
AEM Component Creation Skill
Creates complete AEM components following Adobe best practices.
Configuration Gate Check — Do This First
> This configuration check needs to happen first because without it, the skill will use incorrect project paths and package names, causing every generated file to be wrong.
**First tool call**: Read `.aem-skills-config.yaml` in the **project root** (same level as `pom.xml`).
**Check**: Does the file exist and does it have `configured: true`?
| Status | Action | | --- | --- | | File missing or configured: false | Stop and display the error message below. Do not explore the codebase or proceed — the config values are needed for correct file paths and naming. Wait for the user to configure. | | configured: true | Read project, package, and group values from the YAML file. Proceed with component creation. |
If NOT configured, Display This Message and Stop:
Project configuration required!
Before creating components, configure your project settings in:
`.aem-skills-config.yaml` (in your project root, same level as pom.xml)
Open the file and update:
- project: Your AEM project name (e.g., 'mysite', 'wknd')
- package: Your Java package (e.g., 'com.mysite.core')
- group: Your component group (e.g., 'MySite Components')
- configured: true
After updating, ask me to create the component again.
Why you should not explore the codebase when unconfigured:
Doing any of the following before configuration is set will lead to incorrect assumptions and wasted effort:
- Reading any other repository files
- Listing directories to "understand the project"
- Checking existing components for patterns
- Looking at pom.xml, Java files, or folder structures
- Inferring values from any source
The config file is the single source of truth for project values — skipping it leads to wrong paths and package names in every generated file.
No Hallucination Rule
Only create the exact fields the user specified — adding extra fields creates authoring confusion and maintenance burden, and renaming fields breaks content contracts.
**Load reference for full rules:** `references/no-hallucination-rules.md`
Workflow Overview
| Step | Action | | --- | --- | | 0 | Configuration validation (do this first — see above) | | 1 | Extract & validate component name | | 1.5 | Component extension decision (if extending) | | 2 | Gather requirements & confirm dialog specification | | 2.3 | Figma design fetch (if Figma URL provided) | | 3 | Create all component files | | 3.11 | Dependency verification (required for servlets) | | 4 | Completion summary |
Step 0: Configuration Validation
0.1 Read Configuration
1. Read `.aem-skills-config.yaml` from the project root 2. Check that `configured: true` 3. Read `project`, `package`, and `group` values
0.2 Validate — Use Only the Config File
Do not infer project values from the file system, existing components, Java files, pom.xml, or prior knowledge. These sources may be outdated or inconsistent — `.aem-skills-config.yaml` is the single source of truth because the user explicitly sets it.
0.3 Load Conventions
1. Read `references/aem-conventions.md` for file structure templates, naming conventions, and patterns
0.4 Project State Analysis (after configuration validated)
1. **Check Component Name Uniqueness** - Look in `/apps/[project]/components/` 2. **Check Model Class Conflicts** - Look in `core/src/main/java/[package-path]/models/` 3. **Analyze Existing Patterns** - Review 1-2 recent components for style reference
Step 1: Extract & Validate Component Name
- Parse component name from user's message (ask if not provided)
- Normalize to lowercase kebab-case (e.g., `My Component` -> `my-component`)
- Validate: starts with letter, only letters/numbers/hyphens, no consecutive hyphens
Step 1.5: Component Extension Decision
When user says "extend {component}":
**Tier 1: Check Project Components First**
- Search `/apps/{project}/components/{component}`
- If found -> Use as `sling:resourceSuperType`
**Tier 2: Check Core Components**
| User Says | Maps To | | --- | --- | | image | core/wcm/components/image/v3/image | | teaser, card | core/wcm/components/teaser/v2/teaser | | text, richtext | core/wcm/components/text/v2/text | | title, heading | core/wcm/components/title/v3/title | | list | core/wcm/components/list/v4/list | | button, cta | core/wcm/components/button/v2/button | | navigation, nav | core/wcm/components/navigation/v2/navigation | | container, section | core/wcm/components/container/v1/container | | accordion | core/wcm/components/accordion/v1/accordion | | tabs | core/wcm/components/tabs/v1/tabs | | carousel | core/wcm/components/carousel/v1/carousel | | embed, video | core/wcm/components/embed/v2/embed |
**Tier 3: Not Found** - As
Read more
name: create-component description: | Creates complete AEM components with dialog, HTL template, Sling Model, unit tests, and clientlibs. Supports extending Core Components and project components. When a Figma design URL is provided, fetches the design via Figma MCP (get_design_context) and translates it into pixel-perfect HTL, CSS, and JS. Follows Adobe Experience League best practices for AEM Cloud Service and 6.5. Use this skill whenever the user mentions creating, building, generating, or scaffolding an AEM component, or mentions component types like teaser, card, hero, banner, accordion, tabs, carousel, list, navigation, breadcrumb, or any custom AEM component. Also trigger when the user wants to extend a Core Component, create a component dialog, add a Sling Model, or convert a Figma design into an AEM component. compatibility: Requires AEM as a Cloud Service or AEM 6.5. Maven project structure with core, ui.apps modules. Figma design integration requires the `plugin-figma-figma` MCP server to be enabled in the IDE. license: Apache-2.0 metadata: author: AEM Dev Agent version: "1.0" aem_version: "6.5/Cloud Service"
AEM Component Creation Skill
Creates complete AEM components following Adobe best practices.
Configuration Gate Check — Do This First
> This configuration check needs to happen first because without it, the skill will use incorrect project paths and package names, causing every generated file to be wrong.
**First tool call**: Read `.aem-skills-config.yaml` in the **project root** (same level as `pom.xml`).
**Check**: Does the file exist and does it have `configured: true`?
| Status | Action | | --- | --- | | File missing or configured: false | Stop and display the error message below. Do not explore the codebase or proceed — the config values are needed for correct file paths and naming. Wait for the user to configure. | | configured: true | Read project, package, and group values from the YAML file. Proceed with component creation. |
If NOT configured, Display This Message and Stop:
Project configuration required! Before creating components, configure your project settings in: `.aem-skills-config.yaml` (in your project root, same level as pom.xml) Open the file and update: - project: Your AEM project name (e.g., 'mysite', 'wknd') - package: Your Java package (e.g., 'com.mysite.core') - group: Your component group (e.g., 'MySite Components') - configured: true After updating, ask me to create the component again.
Why you should not explore the codebase when unconfigured:
Doing any of the following before configuration is set will lead to incorrect assumptions and wasted effort:
- Reading any other repository files
- Listing directories to "understand the project"
- Checking existing components for patterns
- Looking at pom.xml, Java files, or folder structures
- Inferring values from any source
The config file is the single source of truth for project values — skipping it leads to wrong paths and package names in every generated file.
No Hallucination Rule
Only create the exact fields the user specified — adding extra fields creates authoring confusion and maintenance burden, and renaming fields breaks content contracts.
**Load reference for full rules:** `references/no-hallucination-rules.md`
Workflow Overview
| Step | Action | | --- | --- | | 0 | Configuration validation (do this first — see above) | | 1 | Extract & validate component name | | 1.5 | Component extension decision (if extending) | | 2 | Gather requirements & confirm dialog specification | | 2.3 | Figma design fetch (if Figma URL provided) | | 3 | Create all component files | | 3.11 | Dependency verification (required for servlets) | | 4 | Completion summary |
Step 0: Configuration Validation
0.1 Read Configuration
1. Read `.aem-skills-config.yaml` from the project root 2. Check that `configured: true` 3. Read `project`, `package`, and `group` values
0.2 Validate — Use Only the Config File
Do not infer project values from the file system, existing components, Java files, pom.xml, or prior knowledge. These sources may be outdated or inconsistent — `.aem-skills-config.yaml` is the single source of truth because the user explicitly sets it.
0.3 Load Conventions
1. Read `references/aem-conventions.md` for file structure templates, naming conventions, and patterns
0.4 Project State Analysis (after configuration validated)
1. **Check Component Name Uniqueness** - Look in `/apps/[project]/components/` 2. **Check Model Class Conflicts** - Look in `core/src/main/java/[package-path]/models/` 3. **Analyze Existing Patterns** - Review 1-2 recent components for style reference
Step 1: Extract & Validate Component Name
- Parse component name from user's message (ask if not provided)
- Normalize to lowercase kebab-case (e.g., `My Component` -> `my-component`)
- Validate: starts with letter, only letters/numbers/hyphens, no consecutive hyphens
Step 1.5: Component Extension Decision
When user says "extend {component}":
**Tier 1: Check Project Components First**
- Search `/apps/{project}/components/{component}`
- If found -> Use as `sling:resourceSuperType`
**Tier 2: Check Core Components**
| User Says | Maps To | | --- | --- | | image | core/wcm/components/image/v3/image | | teaser, card | core/wcm/components/teaser/v2/teaser | | text, richtext | core/wcm/components/text/v2/text | | title, heading | core/wcm/components/title/v3/title | | list | core/wcm/components/list/v4/list | | button, cta | core/wcm/components/button/v2/button | | navigation, nav | core/wcm/components/navigation/v2/navigation | | container, section | core/wcm/components/container/v1/container | | accordion | core/wcm/components/accordion/v1/accordion | | tabs | core/wcm/components/tabs/v1/tabs | | carousel | core/wcm/components/carousel/v1/carousel | | embed, video | core/wcm/components/embed/v2/embed |
**Tier 3: Not Found** - As
Repo: adobe/skills
Other skills on adobe-skills.
- /aa-conversion-funnel-analysis
Analyzes a multi-step conversion funnel to find where visitors drop off and which steps have the worst leakage. Use this skill when someone describes a journey and asks about conversion rates, drop-off, fallout, or step completion. Trigger for "analyze our checkout funnel,"
Open skill - /aa-executive-briefing
Generates a concise, executive-ready performance summary covering key metrics, trends, and what's driving movement. Use this skill when someone needs to produce a briefing, executive summary, performance narrative, or stakeholder readout — for example, "write an exec summary of
Open skill - /aa-kpi-pulse
Produces a compact KPI digest showing how key metrics changed over a period and what's driving the movement. Use this skill when someone asks for a performance summary, a weekly recap, a morning briefing, a KPI update, or any variation of "how did we do this week/month." Also
Open skill - /aa-segment-performance-comparator
Compares the performance of two or more audience segments across key metrics side by side. Use this skill when someone wants to compare audiences or visitor groups — for example, "how do mobile visitors compare to desktop on conversion," "compare new vs. returning visitors,"
Open skill - /aa-top-movers-watchlist
Identifies which items (pages, campaigns, products, channels, regions) had the biggest increases or decreases for a key metric between two time periods. Use this skill when someone asks "what's up and what's down," "which campaigns moved the most," "top gainers and losers,"
Open skill - /cja-dimension-analysis
Comprehensive dimension analysis and reporting for CJA. Use this skill whenever the user wants to analyze one or more dimensions — including cardinality, distribution/skew, trends, anomalies, data quality errors, comparisons, and forecasting. Also trigger when someone asks "what
Open skill

