Skip to content

yzsp-studio/mediakit-shared-suite / creative-design

creative-design

Unverified

当用户要求从零生成或设计商业、品牌、社交媒体及知识表达类创意图片,编辑、复刻或审查已有视觉成品,或进行系列延展、多比例适配、多资产视觉系统设计时使用。触发任务包括做图、出图、生成图片、设计海报、主视觉/KV、Banner、封面、社媒配图、社媒长图、电商主图、详情页、产品图、Logo、IP 角色、吉祥物、包装、品牌应用物料、活动物料、宣传册、落地页、知识科普海报、信息图、教学图、教材插图、课件配图、思维导图、知识图谱、流程图、数据图表、科学结构图、公式推导图、工程图纸,以及分图层 HTML/CSS 视觉设计。

FileKindSize
SKILL.mdskill md74.3 KB
assets/fonts/catalogs/chinese.jsonconfig215.8 KB
assets/fonts/catalogs/latin.jsonconfig995.0 KB
assets/fonts/catalogs/multilingual.jsonconfig580.6 KB
assets/fonts/font-cdn-manifest.jsonconfig1.9 KB
assets/fonts/font-curated-pool.jsonconfig689.8 KB
assets/fonts/web-font-manifest.jsonconfig194.4 KB
assets/svg/binder-clip.svgother280 B
assets/svg/catalog.jsonconfig10.0 KB
assets/svg/folder-bottom-left.svgother98 B
assets/svg/folder-bottom-right.svgother97 B
assets/svg/folder-slope.svgother151 B
assets/svg/folder-top-left.svgother96 B
assets/svg/folder-top-right.svgother96 B
assets/svg/frosted-grain.svgother540 B
assets/svg/invite-ceremony-mask.svgother227 B
assets/svg/invite-wave-mask.svgother182 B
assets/svg/paper-fiber.svgother23.5 KB
assets/svg/paper-torn.svgother2.1 KB
assets/svg/plastic-grain.svgother538 B
assets/svg/resume-3899116ad59e17.svgother288 B
assets/svg/resume-c0728a36f2c5ec.svgother258 B
assets/svg/resume-f932e5fdcc7fcc.svgother222 B
assets/svg/retro-worn-ink.svgother18.1 KB
assets/svg/route-s.svgother271 B
assets/svg/screen-grain.svgother270 B
assets/svg/text-arc.svgother365 B
assets/templates/.gitkeepother1 B
assets/templates/css/README.mdmarkdown48.9 KB
assets/templates/css/catalog.jsonconfig240.5 KB
assets/templates/css/colors/bright-and-playful.mdmarkdown2.7 KB
assets/templates/css/colors/calm-and-rational.mdmarkdown6.6 KB
assets/templates/css/colors/fresh-and-natural.mdmarkdown3.4 KB
assets/templates/css/colors/high-contrast-pop.mdmarkdown3.8 KB
assets/templates/css/colors/palettes.mdmarkdown12.9 KB
assets/templates/css/colors/rich-and-retro.mdmarkdown7.5 KB
assets/templates/css/colors/soft-and-muted.mdmarkdown2.1 KB
assets/templates/css/combinations/beverage-sensory-longpage.htmlother15.1 KB
assets/templates/css/combinations/blue-silver-concert-longpage.htmlother55.4 KB
assets/templates/css/combinations/blue-silver-prize-console.htmlother41.8 KB
assets/templates/css/combinations/blue-silver-roster-ticket.htmlother41.1 KB
assets/templates/css/combinations/botanical-four-zone-spread.htmlother2.0 KB
assets/templates/css/combinations/botanical-tea-panel-suite.htmlother1.6 KB
assets/templates/css/combinations/clay-citywalk-longpage.htmlother26.1 KB
assets/templates/css/combinations/dark-editorial.htmlother822 B
assets/templates/css/combinations/food-sensory-templates.htmlother23.6 KB
assets/templates/css/combinations/interior-cut-window-spread.htmlother828 B
assets/templates/css/combinations/material-recipes.htmlother59.1 KB
assets/templates/css/combinations/pink-party-level-heading.htmlother30.7 KB
assets/templates/css/combinations/pink-party-linked-stages.htmlother30.8 KB
assets/templates/css/combinations/pink-party-longpage.htmlother40.7 KB
assets/templates/css/combinations/pink-party-window.htmlother30.8 KB
assets/templates/css/combinations/recipes.mdmarkdown945.4 KB
assets/templates/css/combinations/red-conference-spread.htmlother2.0 KB
assets/templates/css/combinations/resume-reference-01.htmlother2.7 KB
assets/templates/css/combinations/resume-reference-02.htmlother4.0 KB
assets/templates/css/combinations/resume-reference-03.htmlother5.3 KB
assets/templates/css/combinations/resume-reference-04.htmlother1.8 KB
assets/templates/css/combinations/resume-reference-05.htmlother5.6 KB
assets/templates/css/combinations/resume-reference-06.htmlother4.3 KB
assets/templates/css/combinations/resume-reference-07.htmlother4.4 KB
assets/templates/css/combinations/resume-reference-08.htmlother3.2 KB
assets/templates/css/combinations/resume-reference-09.htmlother6.7 KB
assets/templates/css/combinations/resume-reference-10.htmlother5.8 KB
assets/templates/css/combinations/resume-reference-11.htmlother6.5 KB
assets/templates/css/combinations/resume-reference-12.htmlother5.8 KB
assets/templates/css/combinations/resume-reference-13.htmlother6.7 KB
assets/templates/css/combinations/resume-reference-14.htmlother14.0 KB
assets/templates/css/combinations/resume-reference-15.htmlother18.6 KB
assets/templates/css/combinations/resume-reference-16.htmlother16.7 KB
assets/templates/css/combinations/ribbon-image-group.htmlother2.1 KB
assets/templates/css/combinations/sport-longpage-templates.htmlother31.0 KB
assets/templates/css/layouts/airy-and-spacious.mdmarkdown1.5 KB
assets/templates/css/layouts/asymmetric-balance.mdmarkdown19.4 KB
assets/templates/css/layouts/brochure-and-booklet-layouts.mdmarkdown38.7 KB
assets/templates/css/layouts/carousel-content-pages.mdmarkdown10.9 KB
assets/templates/css/layouts/continuous-flow.mdmarkdown17.5 KB
assets/templates/css/layouts/fold-full-page.mdmarkdown21.6 KB
assets/templates/css/layouts/fold-pages/botanical.htmlother38.8 KB
assets/templates/css/layouts/fold-pages/care.htmlother36.7 KB
assets/templates/css/layouts/fold-pages/conference.htmlother37.0 KB
assets/templates/css/layouts/fold-pages/floral.htmlother14.5 KB
assets/templates/css/layouts/fold-pages/interior.htmlother13.7 KB
assets/templates/css/layouts/fold-pages/panel-view.htmlother562 B
assets/templates/css/layouts/fold-pages/tea.htmlother31.3 KB
assets/templates/css/layouts/grid-and-alignment.mdmarkdown31.1 KB
assets/templates/css/layouts/hero-focus.mdmarkdown8.2 KB
assets/templates/css/layouts/layout-and-type.mdmarkdown24.3 KB
assets/templates/css/layouts/notice-and-invitation.mdmarkdown9.3 KB
assets/templates/css/layouts/overlap-and-collage.mdmarkdown12.9 KB
assets/templates/css/layouts/resume-full-page.mdmarkdown52.1 KB
assets/templates/css/layouts/resume-pages/01.htmlother14.9 KB
assets/templates/css/layouts/resume-pages/02.htmlother13.3 KB
assets/templates/css/layouts/resume-pages/03.htmlother24.2 KB
assets/templates/css/layouts/resume-pages/04.htmlother9.9 KB
assets/templates/css/layouts/resume-pages/05.htmlother17.9 KB
assets/templates/css/layouts/resume-pages/06.htmlother16.4 KB
assets/templates/css/layouts/resume-pages/07.htmlother21.6 KB
assets/templates/css/layouts/resume-pages/08.htmlother14.0 KB
assets/templates/css/layouts/resume-pages/09.htmlother26.7 KB
assets/templates/css/layouts/resume-pages/10.htmlother23.6 KB
assets/templates/css/layouts/resume-pages/11.htmlother21.9 KB
assets/templates/css/layouts/resume-pages/12.htmlother20.5 KB
assets/templates/css/layouts/resume-pages/13.htmlother29.3 KB
assets/templates/css/layouts/spread-relations.mdmarkdown10.8 KB
assets/templates/css/shapes/capsules-and-badges.mdmarkdown6.0 KB
assets/templates/css/shapes/cards-and-panels.mdmarkdown46.4 KB
assets/templates/css/shapes/containers.mdmarkdown2.2 KB
assets/templates/css/shapes/notes-and-paper.mdmarkdown12.7 KB
assets/templates/css/shapes/organic-shapes.mdmarkdown11.8 KB
assets/templates/css/shapes/tabs-and-folders.mdmarkdown6.7 KB
assets/templates/css/shapes/tickets-and-notches.mdmarkdown8.6 KB
assets/templates/css/surfaces/craft-detail.mdmarkdown14.1 KB
assets/templates/css/surfaces/diffuse-light.mdmarkdown14.0 KB
assets/templates/css/surfaces/glass-and-frost.mdmarkdown6.3 KB
assets/templates/css/surfaces/materials.mdmarkdown12.3 KB
assets/templates/css/surfaces/metal-and-relief.mdmarkdown2.9 KB
assets/templates/css/surfaces/paper-and-print.mdmarkdown17.8 KB
assets/templates/css/surfaces/plastic-and-gel.mdmarkdown927 B
assets/templates/css/surfaces/textile-and-craft.mdmarkdown2.9 KB
assets/templates/ref-bindings.jsonconfig18.5 KB
docs/superpowers/plans/2026-09-17-ecommerce-color-palette-expansion.mdmarkdown6.0 KB
docs/superpowers/specs/2026-09-17-ecommerce-color-palette-expansion-design.mdmarkdown5.4 KB
example/asset-manifest.mdmarkdown3.0 KB
example/brief.mdmarkdown25.3 KB
example/create-HTML.xmlconfig274 B
example/html-validation.htmlother2.1 KB
references/cli/README.mdmarkdown12.3 KB
references/cli/create-batch.mdmarkdown7.2 KB
references/cli/create.mdmarkdown8.5 KB
references/cli/get-workspace.mdmarkdown2.3 KB
references/cli/get.mdmarkdown4.0 KB
references/cli/ls.mdmarkdown2.1 KB
references/cli/tree.mdmarkdown1.9 KB
references/cli/update-batch.mdmarkdown4.7 KB
references/cli/update.mdmarkdown3.9 KB
references/cli/workspace-create.mdmarkdown2.5 KB
references/html/coding-rendering.mdmarkdown16.2 KB
references/items/HTML.mdmarkdown4.5 KB
references/items/README.mdmarkdown9.1 KB
references/items/fonts.mdmarkdown7.2 KB
references/items/image.mdmarkdown2.5 KB
references/items/line.mdmarkdown5.1 KB
references/items/shape.mdmarkdown7.4 KB
references/items/text.mdmarkdown4.6 KB
references/items/video.mdmarkdown1.5 KB
references/rendering/font-family-library.mdmarkdown14.6 KB
references/rendering/font-recommendation-list.mdmarkdown37.4 KB
references/rendering/font-theme-strategy.mdmarkdown16.7 KB
references/rendering/shape-library.mdmarkdown1.6 KB
references/rendering/web-font-contract.mdmarkdown4.1 KB
references/style/README.mdmarkdown2.9 KB
references/style/coding/ai-coding/art-title-prompt-library.mdmarkdown17.2 KB
references/style/coding/ai-coding/asset-prompt-guide.mdmarkdown42.3 KB
references/style/coding/ai-coding/font-selection.mdmarkdown16.3 KB
references/style/coding/ai-coding/reference-analysis.mdmarkdown16.1 KB
references/style/coding/composition-layout.mdmarkdown31.6 KB
references/style/coding/concept-production.mdmarkdown2.7 KB
references/style/coding/generic-visual-fallback.mdmarkdown12.8 KB
references/style/coding/platforms/xiaohongshu.mdmarkdown8.6 KB
references/style/coding/scenarios/announcement-poster-spec.mdmarkdown10.1 KB
references/style/coding/scenarios/ecommerce-detail-page-spec.mdmarkdown34.0 KB
references/style/coding/scenarios/flowchart-spec.mdmarkdown3.3 KB
references/style/coding/scenarios/knowledge-graph-spec.mdmarkdown3.3 KB
references/style/coding/scenarios/logo-spec.mdmarkdown12.6 KB
references/style/coding/scenarios/menu-data-reference.mdmarkdown16.9 KB
references/style/coding/scenarios/menu-spec.mdmarkdown8.1 KB
references/style/coding/scenarios/menu-visual-reference-library.mdmarkdown11.7 KB
references/style/coding/scenarios/mind-map-spec.mdmarkdown6.5 KB
references/style/coding/scenarios/personal-card-spec.mdmarkdown7.3 KB
references/style/coding/scenarios/resume-spec.mdmarkdown12.0 KB
references/style/coding/scenarios/social-carousel-spec.mdmarkdown23.6 KB
references/style/coding/scenarios/social-long-image-spec.mdmarkdown31.3 KB
references/style/coding/scenarios/tri-fold-spec.mdmarkdown12.2 KB
references/style/coding/scenarios/vi-spec.mdmarkdown44.5 KB
references/style/coding/systems/announcement-poster-visual-system.mdmarkdown66.0 KB
references/style/coding/systems/diagram-visual-system.mdmarkdown19.7 KB
references/style/coding/systems/ecommerce-visual-system.mdmarkdown94.4 KB
references/style/coding/systems/logo-visual-system.mdmarkdown35.6 KB
references/style/coding/systems/menu-visual-system.mdmarkdown32.0 KB
references/style/coding/systems/personal-card-visual-system.mdmarkdown17.9 KB
references/style/coding/systems/resume-visual-system.mdmarkdown32.5 KB
references/style/coding/systems/social-visual-system.mdmarkdown169.6 KB
references/style/coding/systems/tri-fold-visual-system.mdmarkdown54.2 KB
references/style/coding/systems/vi-visual-system.mdmarkdown84.8 KB
references/style/pure-image/media/media-banner.mdmarkdown27.6 KB
references/style/pure-image/media/media-bilibili.mdmarkdown28.0 KB
references/style/pure-image/media/media-douyin.mdmarkdown27.8 KB
references/style/pure-image/media/media-h5.mdmarkdown29.5 KB
references/style/pure-image/media/media-kuaishou.mdmarkdown27.8 KB
references/style/pure-image/media/media-poster.mdmarkdown28.5 KB
references/style/pure-image/media/media-wechat-moments.mdmarkdown24.5 KB
references/style/pure-image/media/media-wechat-official.mdmarkdown25.3 KB
references/style/pure-image/media/media-xiaohongshu.mdmarkdown39.3 KB
references/style/pure-image/models/model-4.5.mdmarkdown17.6 KB
references/style/pure-image/models/model-5.0-pro.mdmarkdown31.8 KB
references/style/pure-image/prompt-guide.mdmarkdown10.9 KB
references/style/pure-image/scenarios/brand-application-system.mdmarkdown39.9 KB
references/style/pure-image/scenarios/brand-ip-character-system.mdmarkdown36.9 KB
references/style/pure-image/scenarios/brand-logo-system.mdmarkdown26.5 KB

references/cli/create-batch.md

View on GitHub
# `design-cli design-workspace +create-batch`

## 用途

在一次请求中创建多个独立 Item,或多个含成员的 Frame,或两者混合。Frame 的成员属于同一个写入单元,不允许拆成几次不完整的创建。

## 命令

```bash
design-cli design-workspace +create-batch \
  --canvas-workspace-id <canvas_workspace_id> \
  --input - < batch.xml
```

## 参数与请求

| CLI 参数 | 必填 | JSON 字段 |
|---|---:|---|
| `--canvas-workspace-id` | 是 | `canvas_workspace_id` |
| `--input -` | 是 | `input`;值为 stdin 的完整原始内容 |

`--input` 只接受 `-`,传其他值或 stdin 为空时 CLI 退出码 `2`。

```json
{"canvas_workspace_id":"10001","input":"<batch>...</batch>"}
```

## 输入

根节点为 `<batch>`,内部固定包含 `<items>` 与 `<frames>`,没有内容时输出空节点。所有 Item 与 Frame **均不携带 ID**。

HTML 只能放在顶层 `<items>` 中并写成 `<item type="HTML">`;其 `.html` 必须先经 `FileBatchUpload` 上传,`<asset url>` 使用所得短链。禁止 `<frame type="HTML">`,也禁止把 HTML Item 放进 Frame。单个 HTML 作品默认使用 [`+create`](create.md);只有确需一次原子创建多个独立对象时才使用本命令。

响应返回后保存每个 HTML Item 的服务端 `item_id`,逐项执行 `+get` 回读。整批回读完成后,每个 HTML Item 分别调用一次 `present_files` 输出画布卡片:每次把同一 `canvas_workspace_id` 与该项自己的 `item_id` 拼成 `<canvas_workspace_id>?item_id=<item_id>` 单值并原样传入;不得拆成两个参数、数组或两次调用,不得只传 Workspace ID,也不得用一次 Workspace 级卡片合并替代多个 HTML Item 的卡片。

顶层对象给 `<size>`(要多大),**没有位置**;Frame 成员给 `<transform>`,
其 `x` / `y` 是**相对所属 Frame 左上角的偏移**。

```xml
<batch>
  <items>
    <item type="IMAGE" path="/deliverables/key-visuals" title="海报主视觉" brief="海报主视觉人物图">
      <size width="960" height="1280"/>
      <asset url="https://cdn.example.com/s/k3yv1s"/>
    </item>
  </items>
  <frames>
    <frame type="LAYERED" path="/deliverables/poster" title="窗字主视觉" brief="由蓝色矩形与白色窗格组成的「窗」字主视觉">
      <size width="960" height="520"/>
      <items>
        <item type="SHAPE" title="蓝色外框" brief="主视觉的蓝色矩形外框">
          <transform x="0" y="0" width="960" height="520" rotation="0" z_index="10"/>
          <shape shape_kind="rect">
            <fill color="#1B4D8F" opacity="1"/>
          </shape>
        </item>
        <item type="SHAPE" title="左上窗格" brief="左上角的白色圆角窗格">
          <transform x="80" y="80" width="360" height="360" rotation="0" z_index="11"/>
          <shape shape_kind="round-rect" corner_radius="8">
            <fill color="#FFFFFF" opacity="1"/>
            <stroke width="4" style="solid">
              <paint color="#1B4D8F" opacity="1"/>
            </stroke>
          </shape>
        </item>
      </items>
    </frame>
  </frames>
</batch>
```

同时创建 Item 与 Frame:

```xml
<batch>
  <items>
    <item type="IMAGE" path="/deliverables/key-visuals" title="海报主视觉" brief="海报主视觉人物图">
      <size width="960" height="1280"/>
      <asset url="https://cdn.example.com/s/k3yv1s"/>
    </item>
  </items>
  <frames>
    <frame type="LAYERED" path="/deliverables/poster" title="窗字标题组合" brief="由多个矩形和文字共同组成的「窗」字标题组合">
      <size width="960" height="520"/>
      <items>
        <item type="SHAPE" title="蓝色外框" brief="主视觉的蓝色矩形外框">
          <transform x="0" y="0" width="960" height="520" rotation="0" z_index="10"/>
          <shape shape_kind="rect">
            <fill color="#1B4D8F" opacity="1"/>
          </shape>
        </item>
      </items>
    </frame>
  </frames>
</batch>
```

Frame 成员同样不带 ID,且不填 `path`。**创建时带上 `item_id` / `frame_id` 会被拒** —— 所以下面「输出」里那份带 ID 的响应不能直接抄回来当输入。

## `source_ids`:整批共用一个落位锚点

语法、取值与约束见 [`create.md`](create.md#source_ids声明来源同时决定落位)。批量场景多两条:

**整批的 `source_ids` 会被合并成一组**,顶层 Item、Frame、Frame 成员上写的全部算进来。
服务端不会「A 挨着 A 的来源、B 挨着 B 的来源」分别定位 —— 本批所有新对象作为**一组连续摆放**,
整组一起放到这些来源里最靠下那一行的最右侧。

所以:**来源不同的对象不要塞进同一批**。想让两个产物各自挨着各自的参考图,分两次 `+create`。

**任何一个 `<source_id>` 解析不到,整批都不会创建**(与短链失效同样是全批拒)。批越大,
一个拼错的 ID 浪费的工作越多。

## 约束

**根节点必须是 `<batch>`。** 传单个 `<item>` / `<frame>` 会被拒并提示改用 [`+create`](create.md) —— 响应形状跟着请求根走,收了单个就会回一个不带 `<batch>` 壳的响应,下次照抄这份输出提交回来就对不上了。

**一批最多 50 个对象**,按顶层 Item + Frame + Frame 成员**合计**计数。超限**直接拒、不截断** —— 截断出来是「少建了几个对象的成功响应」,调用方不会知道后面那些没建成。

**`input` 最大 1MB。** 超限同样直接拒。素材本体走短链引用、不进 XML,这个额度对一批结构化描述极宽裕。

**`<asset url="…">` 里的短链解析失败会整批拒。** 短链解不出来说明它不是一条有效短链、或已经失效;此时宁可当场报错让你换一条重提,也不会「建成功但素材永远取不到」。带 `@` 前缀的本地路径同样一律拒 —— CLI 不上传文件。

🔴 **已经有短链就直接用,不要再上传一遍**;只有手上仅有本地文件时才去换一条。

## 原子性

**一批全成或全败。** 任何一个对象失败,整批都不生效 —— 不存在「前几个建好、后几个失败」的部分成功状态,也不会留下半批脏数据。

正因如此才有上面那个 50 的上限:一批要整体应用,批越大,同一张画布上的其它写入等待越久。

## 输出

`xml_data` 内为 `<batch>`,各对象已补全生成的 ID:

```xml
<batch>
  <items>
    <item item_id="207" type="IMAGE" path="/deliverables/key-visuals" title="海报主视觉" brief="海报主视觉人物图">
      <size width="960" height="1280"/>
      <asset url="https://cdn.example.com/s/k3yv1s"/>
    </item>
  </items>
  <frames>
    <frame frame_id="612" type="LAYERED" path="/deliverables/poster" title="窗字标题组合" brief="由多个矩形和文字共同组成的「窗」字标题组合">
      <size width="960" height="520"/>
      <items>
        <item item_id="613" type="SHAPE" title="蓝色外框" brief="主视觉的蓝色矩形外框">
          <transform x="0" y="0" width="960" height="520" rotation="0" z_index="10"/>
          <shape shape_kind="rect">
            <fill color="#1B4D8F" opacity="1"/>
          </shape>
        </item>
      </items>
    </frame>
  </frames>
</batch>
```

退出码与错误处理见 [`README.md`](README.md)。
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 197kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance 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.Stars: 197kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 197kUpdated Claude CodeCodexVerifiedInstall