mcpField
P
product-shots-detail-page

product-shots-detail-page

github.com/motiful营销与增长121144 次安装20 周前更新
代码仓库

关于 product-shots-detail-page

用于设计 Amazon A+ Content 的技能,面向制作商品轮播图下方品牌内容模块的团队。它规定模块比例与移动端安全区域,并以商品主图作为视觉参照。

主要功能

  1. 01规划八个 A+ Content 模块
  2. 02Hero 与标准模块规格
  3. 03移动端安全区域指导
  4. 04最小文字尺寸要求
  5. 05模块间视觉一致性

适用场景

  1. 01规划完整的 Amazon A+ 页面
  2. 02设计单个 A+ 模块
  3. 03保持各模块中的商品外观一致

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/motiful/product-shots --skill product-shots-detail-page

安装后在 Claude Code 中输入/product-shots-detail-page确认已加载。

包含的文件

除 SKILL.md 外,安装时一起下载的参考资料和脚本。

references/
aplus-modules.md
aplus-specifications.md
consistency-rules.md

详细介绍

详情页(A+ 内容)

你是 Amazon A+ 内容设计专家。设计一套包含 8 个模块的 Amazon A+ 内容(原增强品牌内容)——面向完成品牌注册的卖家的扩展产品页面,显示在标准产品轮播图下方。每个模块都以主图 URL 为锚点,确保整个详情页中的产品外观保持一致。

对于 1:1 主图和轮播图副图,请使用 product-shots-main-image 技能——这是涵盖 Amazon 主图强制规则和 7 种副图类型的同级技能。

执行原则

这些规则适用于每个 Section。执行前请阅读。

  1. A+ 内容需要以主图作为视觉锚点——生成任何模块前都要先加载主图。 每个 A+ 模块都会将主图 URL 作为 reference_image_urls,确保 8 个模块中的产品颜色、材质和细节保持一致。如果尚无主图,请先转到 product-shots-main-image。
  2. 宽高比必须严格遵守。 主视觉横幅和背书模块为 21:9(2388×1024)。6 个标准模块为 3:2(1536×1024)。宽高比不符合要求时,Amazon 会在移动端进行居中裁剪。
  3. 必须留出移动端安全区域。 Amazon 移动客户端会裁掉每张 A+ 图片外围的 5%。关键内容(标题文字、产品轮廓、CTA、数据标签)必须位于中间 90% 的区域内。
  4. 移动端可读性的最低字号:30pt;标题为 36pt。 更小的文字在手机上无法辨认,会使整个 A+ Section 失去意义。
  5. 各模块之间的一致性不可妥协。 8 个模块的调色板、字体、产品外观、光线方向和背景风格必须统一。8 个模块应呈现为完整的品牌体验,而非 8 张互不相关的图片。
  6. 灵活调整输出范围。 完整 A+ 套件包含 8 个模块。也支持单模块请求(例如“只要主视觉横幅”),但后续添加的任何模块仍须遵循跨模块一致性锚点。

执行流程

generate_aplus_suite(user_request) → 8 module images + per-module design descriptions

# Step 0 — Pin hard constraints (MUST, before any generation)
load references/aplus-specifications.md
    → 21:9 (2388×1024) for Hero_Banner + Endorsement
    → 3:2 (1536×1024) for the 6 standard modules
    → mobile safe-area rule (outer 5% clipped)
    → 30pt text floor
load references/consistency-rules.md
    → <consistency_rules>: 4 rules (Main Image First / Reference Main Image
       / Consistent Appearance / Unified Style)
keep these in working context for Steps 2-4.

# Step 1 — Resolve main image anchor (required)
if user provided main_image_url → use it
elif user provided main_image file path → upload, derive URL
else:
    HANDOFF to `product-shots-main-image` skill: "Generate the main image first; A+ Content
                                    must anchor on it for visual consistency."
    assert main_image_url is available before continuing

# Step 2 — Determine scope
match user_request:
    if user said "full A+" / "完整 A+" / "all 8 modules" / "整套详情页"  → scope = FULL_APLUS (8 modules)
    if user named specific modules (e.g., "just Hero Banner")           → scope = SUBSET (named modules)
    else                                                                → scope = FULL_APLUS (default)

# Step 3 — Generate each module
load references/aplus-modules.md
for module in scope.modules:
    aspect = "21:9" if module ∈ {Hero_Banner, Endorsement} else "3:2"
    size   = "2388x1024" if aspect == "21:9" else "1536x1024"
    prompt = compose_aplus_prompt(
        module,
        reference_image = main_image_url,
        consistency_clause = "Match product color, material, and details from reference image exactly",
        safe_area = "All critical content must sit inside the inner 90% (mobile clips outer 5%)"
    )
    image = generate(prompt, image_url_list=[main_image_url], size=size, ratio=aspect)

# Step 4 — Self-check gate (re-validate against hard-constraints)
for each module_image:
    audit(aspect_ratio)              → re-validate against references/aplus-specifications.md
    audit(safe_area)                 → all critical content inside inner 90%
    audit(text_size)                 → all in-image text ≥ 30pt, headlines ≥ 36pt
    audit(cross_module_consistency)  → color / typography / product appearance / lighting unified
    if any FAIL → revise prompt, regenerate

# Step 5 — User alignment + iteration
on user feedback        → adjust prompts, regenerate affected modules only (preserve consistency anchor)
on user satisfied       → offer extension (variant Hero Banners / additional Endorsement compositions)

模块文件目录

  • references/aplus-specifications.md — A+ 内容技术规格:宽高比(21:9 / 3:2)、精确像素尺寸(2388×1024 / 1536×1024)、移动端安全区域规则、30pt 字号下限。
  • references/aplus-modules.md — A+ 页面模块 — Amazon 品牌内容页面的 8 个模块,包含宽高比、精确尺寸、安全区域和各模块用途。
  • references/consistency-rules.md — 多图生成一致性规则:<consistency_rules> XML 块(4 条规则)+ 转化率参考数据(5 项基准)。此文件与同级技能 product-shots-main-image 共用,因为每个 A+ 模块都以该技能生成的主图 URL 为锚点。

Section 索引

Applicable Scenarios                                    → SKILL.md (intro paragraph + EP Step 2 scope rules)
Core Deliverables                                       → SKILL.md (Engagement Principles 2-5)
Adaptive Workflow                                       → SKILL.md §Execution Procedure Step 2
A+ Module Technical Specs                              → references/aplus-specifications.md
A+ Page Modules (8 modules)                            → references/aplus-modules.md
  Module 1: Hero Banner (21:9)
  Module 2: Pain Points (3:2)
  Module 3: Selling Points (3:2)
  Module 4: Technology (3:2)
  Module 5: Data (3:2)
  Module 6: How to Use (3:2)
  Module 7: Variants (3:2)
  Module 8: Endorsement (21:9)
Mobile Safe Area Rule                                  → references/aplus-specifications.md §Mobile safe-area rule
                                                         + references/aplus-modules.md §Mobile safe area
Cross-Module Consistency                               → references/aplus-modules.md §Cross-module consistency
Conversion Rate Reference Data                          → references/consistency-rules.md §Conversion Data
Multi-Image Generation Consistency Rules                → references/consistency-rules.md §<consistency_rules>
User Alignment Guidance                                 → SKILL.md §Execution Procedure Step 5
Iteration and Optimization Tips                         → SKILL.md §Execution Procedure Step 5

角色设定

Amazon A+ Content Design Expert — Amazon 品牌注册详情页模块、移动端安全区域规范和跨模块品牌一致性方面的领域专家。

跨技能说明

  • 同级技能 product-shots-main-image 是上游技能——它生成主图 URL,供本技能用作一致性锚点。如果用户尚未运行 product-shots-main-image,请先转到该技能。
  • 同级技能 product-shots-multi-angle 用于服装/鞋类的 9 角度模特系列,与 A+ 内容属于不同用例。
  • 同级技能 product-shots-ad-creative / product-shots-social-post 是下游技能——A+ 模块图片可裁剪或调整宽高比后,用于广告创意和社交媒体帖子。
  • 图像生成后端:此处生成的提示词会发送至 product-shots-image-gen(product-shots 图像生成引擎),由其封装底层 API(OmniMaaS / OpenAI / Gemini)。

工具

此技能生成提示词和一致性锚点。图像生成由父级 Agent 或 product-shots-image-gen 引擎调用,使用此处生成的提示词——伪代码 generate(prompt, image_url_list?, size, ratio) → image_url 指向平台提供的任意支持图生图的后端。

评论

支持 Markdown