yzsp-studio/mediakit-shared-suite / creative-design
creative-design
Unverified当用户要求从零生成或设计商业、品牌、社交媒体及知识表达类创意图片,编辑、复刻或审查已有视觉成品,或进行系列延展、多比例适配、多资产视觉系统设计时使用。触发任务包括做图、出图、生成图片、设计海报、主视觉/KV、Banner、封面、社媒配图、社媒长图、电商主图、详情页、产品图、Logo、IP 角色、吉祥物、包装、品牌应用物料、活动物料、宣传册、落地页、知识科普海报、信息图、教学图、教材插图、课件配图、思维导图、知识图谱、流程图、数据图表、科学结构图、公式推导图、工程图纸,以及分图层 HTML/CSS 视觉设计。
references/items/image.md
View on GitHub# `IMAGE`
图片 Item。内容分支为 `<asset>`。
## 字段
```xml
<item item_id="123" type="IMAGE" path="/characters/female-lead" title="林夏立绘" brief="林夏的标准人物立绘">
<size width="640" height="960" />
<asset url="https://cdn.example.com/s/a1B2c3" />
</item>
```
| 字段 | 必填 | 说明 |
|---|---:|---|
| `asset` / `url` | 是 | 可持久访问的短链 |
`<asset>` 只有 `url` 一个字段。共有字段与 `size`(顶层)或 `transform`(Frame 成员) 见 [`README.md`](README.md)。
## 短链从哪来
CLI **不上传文件**。图片生成/编辑工具的输出必须直接使用工具原始响应中的短链,并把工具返回的对应产物直接交给 `present_files`;不得为了交付另行下载、复制或重新上传。用户上传或其他仅有本地文件、且并非生成/编辑工具输出的素材,才调用 `FileBatchUpload`:
```json
{"path_list": ["./assets/key-visual.png"]}
```
返回中每项含 `path`、`uri`、`url`,取 `url` 写入 `<asset url="…">`:
```json
{"path": "./assets/key-visual.png", "uri": "tos-cn-i-.../key-visual", "url": "https://cdn.example.com/s/x9Y8z7"}
```
本地路径、`file://`、`data:` URI 都不接受。生成/编辑工具没有返回有效短链时停止,不得用预览 URL、缓存路径、交付侧产物标识或二次上传 URL 代替;写入后用 `+get` 核对 URL 与工具原始短链逐字一致。
## 创建
`+create` 不带 `item_id`:
```xml
<item type="IMAGE" path="/deliverables/key-visuals" title="雨夜主视觉" brief="林夏站在雨夜便利店门口的主视觉">
<size width="960" height="1280" />
<asset url="https://cdn.example.com/s/x9Y8z7" />
</item>
```
顶层 IMAGE 必须给 size;Frame 成员必须给框内相对 transform。显示宽高不是源图分辨率。
## 替换图片
图片内容变更使用 `+create` 建立新版本,不能用 `+update` 替换 URL。顶层 IMAGE 提交不带旧 ID 的完整对象;Frame 内的 IMAGE 先按旧 ID 定位,再创建不带旧 Frame/成员 ID 的完整新 Frame,保持未修改层与相对位置,记录新旧 ID 对应。
## 注意
- `width` / `height` 是画布上的显示尺寸,与图片原始像素无关。比例不一致时由前端按渲染策略处理,写入前自行按原始宽高比算好,避免拉伸。
- 需要与其他元素叠压的独立主体,用抠好的透明 PNG 上传;带纯色底的源图直接放进画布会露出矩形边缘。
- 图片上的准确文字不要烘焙进图片,另建 `TEXT` Item 覆盖在上层。
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| 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: 322k | Updated | Claude CodeCodex | Verified | Install |
| 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: 198k | Updated | Claude CodeCodex | Verified | Install |
| 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: 198k | Updated | Claude CodeCodex | Verified | Install |
| 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: 198k | Updated | Claude CodeCodex | Verified | Install |