npx skills add https://github.com/adobe/helix-website --skill 'Modeling Content'本技能将指导您为 AEM Edge Delivery Services 块设计内容模型。内容模型定义了作者在其 CMS(Google Docs、SharePoint 等)中创建内容时所使用的 HTML 表格结构。
在以下情况下使用此技能:
注意: 此技能通常由 content-driven-development 技能在步骤 1.2 自动调用。如果您尚未处于 CDD 工作流中并且正在创建新块,请考虑先调用 CDD 技能。
一个好的内容模型应具备:
在设计内容模型之前,请确保您了解:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
AEM Edge Delivery 有 4 种规范块模型。虽然这些模型涵盖了最常见的情况,但有时最佳方法是支持同一块的多个模型,以适应不同的创作工作流和内容复杂性。
查看 resources/canonical-models.md 中的描述,并确定哪种模型最合适:
请将以下问题作为起点考虑(注意:内容建模是一门艺术,而非科学——请将这些作为指导原则,而非严格规则):
重要提示: 考虑是否应支持多个模型。例如:
有关为一个块支持多个模型的模式,请参阅 resources/advanced-scenarios.md。
遵循以下关键指南设计您的表格结构:
关键指南:
针对每种规范模型:
Standalone 块:
Collection 块:
Configuration 块:
limit | 10、sort | date-desc、tags | technology,newsAuto-Blocked:
使用此清单验证您的内容模型:
需要避免的常见反模式:
以以下格式将内容模型提供回调用技能(或用户):
## Content Model: [Block Name]
### Block Type
[Standalone | Collection | Configuration | Auto-Blocked]
### Table Structure
| Block Name |
|------------|
| [Cell description] |
| [Cell description] | [Cell description] |
### How It Works
[Explain what authors create and how the table structure works. Describe the purpose of each row/column and any semantic formatting used.]
### Key Points
- [Important authoring guidelines]
- [Examples of semantic formatting (e.g., "bold text indicates the heading")]
- [Any flexibility in structure (e.g., "content can be in one cell or split across two")]
- [Common variants if applicable]
重要提示: 此技能专注于设计内容模型。调用技能(content-driven-development 或 building-blocks)将处理后续操作,例如创建测试内容或实现块。
resources/canonical-models.md - 4 种规范模型类型,包含详细示例和最佳实践resources/advanced-scenarios.md - 支持多个模型、渐进增强和复杂模式场景: 用户需要创建一个包含图像、标题和号召性用语的 hero 块
流程:
识别模型类型 :
设计结构 :
验证 :
记录并返回给调用技能 :
## Content Model: Hero
### Block Type
Standalone
### Table Structure
| Hero |
|------|
| [Image] |
| [Heading, description, and CTA] |
### How It Works
Authors create a hero block using a simple table. The structure is flexible:
- Image can be in its own row or column
- Text content (heading, description, CTA) can be together or separated
- Decoration code uses semantic formatting to identify elements:
- H1 or bold text → heading
- Regular paragraphs → description
- Links → call-to-action
### Key Points
- Use H1 or bold formatting for the main heading
- Structure is flexible - all content in one row, split across two rows, or in columns all work
- Image should be high-resolution (minimum 2000px wide for full-width heroes)
- Variants available: `Hero (Dark)`, `Hero (Centered)`, etc.
技能将此内容模型返回给 CDD 或 building-blocks 技能以进行后续步骤。
从 content-driven-development 调用:
调用其他技能:
内容模型是作者体验的基础。在此投入时间,以创建直观、可维护的结构,从而很好地为作者服务。
每周安装次数
0
仓库
GitHub 星标数
40
首次出现时间
1970年1月1日
安全审计
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.).
Use this skill when:
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.
A good content model is:
Before designing a content model, ensure you understand:
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:
Consider these questions as a starting point (note: content modeling is an art, not a science - use these as guidelines, not strict rules):
Important: Consider if multiple models should be supported. For example:
See resources/advanced-scenarios.md for patterns on supporting multiple models for one block.
Design your table structure following these key guidelines:
Key Guidelines:
For each canonical model:
Standalone blocks:
Collection blocks:
Configuration blocks:
limit | 10, sort | date-desc, tags | technology,newsAuto-Blocked:
Use this checklist to validate your content model:
Common Anti-Patterns to Avoid:
Provide the content model back to the calling skill (or user) in this format:
## Content Model: [Block Name]
### Block Type
[Standalone | Collection | Configuration | Auto-Blocked]
### Table Structure
| Block Name |
|------------|
| [Cell description] |
| [Cell description] | [Cell description] |
### How It Works
[Explain what authors create and how the table structure works. Describe the purpose of each row/column and any semantic formatting used.]
### Key Points
- [Important authoring guidelines]
- [Examples of semantic formatting (e.g., "bold text indicates the heading")]
- [Any flexibility in structure (e.g., "content can be in one cell or split across two")]
- [Common variants if applicable]
Important: This skill focuses on designing the content model. The calling skill (content-driven-development or building-blocks) will handle what to do with it next, such as creating test content or implementing the block.
resources/canonical-models.md - The 4 canonical model types with detailed examples and best practicesresources/advanced-scenarios.md - Supporting multiple models, progressive enhancement, and complex patternsScenario: User needs to create a hero block with an image, heading, and call-to-action
Process:
Identify Model Type :
Design Structure :
Validate :
Document and Return to Calling Skill :
## Content Model: Hero
### Block Type
Standalone
### Table Structure
| Hero |
|------|
| [Image] |
| [Heading, description, and CTA] |
### How It Works
Authors create a hero block using a simple table. The structure is flexible:
- Image can be in its own row or column
- Text content (heading, description, CTA) can be together or separated
- Decoration code uses semantic formatting to identify elements:
- H1 or bold text → heading
- Regular paragraphs → description
- Links → call-to-action
### Key Points
- Use H1 or bold formatting for the main heading
- Structure is flexible - all content in one row, split across two rows, or in columns all work
- Image should be high-resolution (minimum 2000px wide for full-width heroes)
- Variants available: `Hero (Dark)`, `Hero (Centered)`, etc.
Skill returns this content model to CDD or building-blocks skill for next steps.
Called from content-driven-development:
Calls to other skills:
Content models are the foundation of author experience. Invest time here to create intuitive, maintainable structures that serve authors well.
Weekly Installs
0
Repository
GitHub Stars
40
First Seen
Jan 1, 1970
Security Audits
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
103,800 周安装