adobe-design-from-template

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Adobe Design from Template

基于模板的Adobe设计

Helps users find an Adobe Express template and customize it — updating text, background color, and animation — producing a finished Express document ready to share or open in Express for further editing.

帮助用户查找Adobe Express模板并进行自定义——更新文本、背景颜色和添加动画——生成可分享或在Express中打开进行进一步编辑的完整Express文档。

Tool Reference

工具参考

StepToolNotes
Search for template
search_design
Interactive picker; user selects URN
Edit text and copy
fill_text
Retry once on transient error
Change background color
change_background_color
Pass hex; infer from color description if needed
Animate design
animate_design
Skip on 403 entitlement; no retry

步骤工具说明
搜索模板
search_design
交互式选择器;用户选择URN
编辑文本和文案
fill_text
遇到临时错误时重试一次
更改背景颜色
change_background_color
传入十六进制颜色值;如有需要可根据颜色描述推断
为设计添加动画
animate_design
遇到403权限问题时跳过;不重试

Workflow

工作流程

Step 0 — Initialize Adobe Tools

步骤0 — 初始化Adobe工具

Call
adobe_mandatory_init
first. This returns file handling rules and tool routing guidance required for the rest of the workflow.
json
{ "skill_name": "adobe-design-from-template", "skill_version": "1.0.1" }

首先调用
adobe_mandatory_init
。此接口返回文件处理规则和工具路由指引,为后续工作流程所必需。
json
{ "skill_name": "adobe-design-from-template", "skill_version": "1.0.1" }

Step 1 — Entitlement Check

步骤1 — 权限检查

Now that
adobe_mandatory_init
confirmed that the "Adobe for creativity" connector is live, check which tools are available through the "Adobe for creativity" connector by cross checking against the Tool Reference table above.

adobe_mandatory_init
确认“Adobe创意工具”连接器可用后,对照上方的工具参考表格,检查该连接器支持哪些工具。

Step 2 — Build the search query (don't ask questions first)

步骤2 — 构建搜索查询(无需先提问)

Extract the design type from whatever the user said and go straight to Step 3. Asking clarifying questions before showing templates creates friction; the picker lets users course-correct visually, which is faster.
User saysQuery to use
"make me a flyer"
"flyer"
"I need something for Instagram"
"Instagram post"
"design a poster for my event"
"event poster"
"make a business card"
"business card"
"flyer for an ice cream social"
"ice cream social flyer"

从用户的表述中提取设计类型,直接进入步骤3。在展示模板前询问澄清问题会增加操作阻力;选择器允许用户通过视觉方式快速调整,效率更高。
用户表述使用的查询词
"帮我做一张传单"
"flyer"
"我需要适合Instagram的内容"
"Instagram post"
"为我的活动设计一张海报"
"event poster"
"制作一张名片"
"business card"
"冰淇淋社交活动传单"
"ice cream social flyer"

Step 3 — Search for a template

步骤3 — 搜索模板

Call
search_design
:
json
{
  "generalQuery": "<design type from user prompt>",
  "pageSize": 24
}
This renders an interactive picker in the chat. The user taps a template to select it; the URN comes back automatically. If the user says "show more", call
search_design
again with the same query and increment
startIndex
by
pageSize
.

调用
search_design
json
{
  "generalQuery": "<用户提示中的设计类型>",
  "pageSize": 24
}
这会在聊天界面中呈现一个交互式选择器。用户点击模板进行选择;URN会自动返回。如果用户说“显示更多”,再次调用
search_design
,使用相同的查询词,并将
startIndex
增加
pageSize
的值。

Step 4 — Confirm selection and offer edits

步骤4 — 确认选择并提供编辑选项

Once a template is selected, confirm what was picked and ask what to customize:
"Got it — you've selected [template name]. What would you like to change?
  • ✏️ Edit the text — names, dates, headlines, copy
  • 🎨 Change the background color
  • Animate it
  • I'm done — just give me the link"
The user may choose one, several, or none. Apply each in sequence, then loop back and ask if they want anything else before wrapping up.

用户选择模板后,确认所选内容并询问需要自定义的内容:
"已确认——你选择了[模板名称]。你想要更改哪些内容?
  • ✏️ 编辑文本 ——名称、日期、标题、文案
  • 🎨 更改背景颜色
  • 添加动画效果
  • 完成 ——直接给我链接"
用户可以选择一项、多项或不选。依次应用每项更改,然后回到此步骤询问用户是否需要其他更改,再结束流程。

Step 5 — Apply edits

步骤5 — 应用更改

After each edit, ask: "What else would you like to change, or does this look good?"
每次更改后,询问:“你还想要更改其他内容吗,还是这样就可以了?”

Edit text / copy

编辑文本/文案

Call
fill_text
:
json
{
  "templateURN": "<URN>",
  "description": "<what to change and what to change it to>",
  "generalQuery": "<same, minus any PII>"
}
If the user hasn't specified what the text should say, ask before calling.
fill_text
occasionally fails on the first attempt due to transient errors — if it returns an error, retry once with identical parameters before reporting failure.
调用
fill_text
json
{
  "templateURN": "<URN>",
  "description": "<更改内容及目标内容>",
  "generalQuery": "<去除任何个人身份信息后的原查询词>"
}
如果用户未指定文本内容,先询问再调用接口。
fill_text
偶尔会因临时错误首次调用失败——如果返回错误,使用相同参数重试一次后再报告失败。

Change background color

更改背景颜色

Call
change_background_color
:
json
{
  "templateOrDocumentURN": "<URN>",
  "backgroundColor": "<hex>",
  "description": "<e.g. change background to coral pink>",
  "generalQuery": "<same, minus any PII>"
}
If the user describes a color without a hex (e.g. "coral pink"), pick a reasonable hex value using your judgment.
调用
change_background_color
json
{
  "templateOrDocumentURN": "<URN>",
  "backgroundColor": "<十六进制颜色值>",
  "description": "<例如:将背景更改为珊瑚粉>",
  "generalQuery": "<去除任何个人身份信息后的原查询词>"
}
如果用户描述颜色但未提供十六进制值(例如“珊瑚粉”),根据判断选择合适的十六进制值。

Animate

添加动画

Call
animate_design
:
json
{
  "templateOrDocumentURN": "<URN>",
  "description": "<animation style or intent>",
  "generalQuery": "<same, minus any PII>"
}
If
animate_design
returns a 403, the user's plan doesn't include animation. Skip it and note in the delivery: "Animation isn't available on your current Adobe plan — the rest of your design is ready." Retrying does not resolve a 403 entitlement — continue without retry.

调用
animate_design
json
{
  "templateOrDocumentURN": "<URN>",
  "description": "<动画风格或需求>",
  "generalQuery": "<去除任何个人身份信息后的原查询词>"
}
如果
animate_design
返回403错误,说明用户的套餐不包含动画功能。跳过此操作,并在交付时说明:“你的当前Adobe套餐不支持动画功能——设计的其他部分已准备就绪。” 403权限问题无法通过重试解决——无需重试,继续后续流程。

Step 6 — Deliver

步骤6 — 交付成果

When the user is satisfied:
✅ Here's your finished design:

🎨 Template: [name]
[Edits applied, e.g. ✏️ Copy updated · 🎨 Background changed · ✨ Animated]

📎 Open in Express: [editor link]
Remind the user that the document is temporary (deleted after 12 hours) and they should open it in Express to save.

当用户满意时:
✅ 这是你的最终设计:

🎨 模板:[名称]
[已应用的更改,例如:✏️ 更新文案 · 🎨 更改背景 · ✨ 添加动画]

📎 在Express中打开:[编辑器链接]
提醒用户该文档为临时文件(12小时后删除),需在Express中打开以保存。

Coming soon

即将推出

ACPC asset picker — a native picker for selecting images from Creative Cloud Libraries is in development. This skill will be updated when it ships.

ACPC资源选择器——用于从Creative Cloud库中选择图片的原生选择器正在开发中。该Skill将在其发布后进行更新。

Error handling

错误处理

SituationAction
fill_text
fails on first attempt
Retry once with identical parameters
animate_design
returns 403
Skip; note entitlement limit in delivery
Any tool returns 401Ask user to re-authenticate via Adobe OAuth, then retry
No templates match queryTry a broader query
User hasn't selected a template yetDo not advance past the picker until a URN is returned; the URN is required for every subsequent tool call.
User skips all editsFine — deliver the template link as-is

情况操作
fill_text
首次调用失败
使用相同参数重试一次
animate_design
返回403
跳过;在交付时说明权限限制
任何工具返回401要求用户通过Adobe OAuth重新认证,然后重试
无匹配查询的模板尝试使用更宽泛的查询词
用户尚未选择模板在返回URN前不要进入后续步骤;URN是所有后续工具调用的必需参数。
用户跳过所有编辑无需处理——直接交付模板链接

Constraints

限制条件

  • The workflow always begins with the template picker before any edits.
  • Template URNs come only from the picker — do not synthesise them.
  • All edits are optional — don't assume the user wants any particular change
  • 工作流程始终从模板选择器开始,之后再进行任何编辑。
  • 模板URN仅来自选择器——不要自行生成。
  • 所有编辑均为可选操作——不要假设用户需要特定更改