yzsp-studio/mediakit-shared-suite / creative-design
creative-design
Unverified当用户要求从零生成或设计商业、品牌、社交媒体及知识表达类创意图片,编辑、复刻或审查已有视觉成品,或进行系列延展、多比例适配、多资产视觉系统设计时使用。触发任务包括做图、出图、生成图片、设计海报、主视觉/KV、Banner、封面、社媒配图、社媒长图、电商主图、详情页、产品图、Logo、IP 角色、吉祥物、包装、品牌应用物料、活动物料、宣传册、落地页、知识科普海报、信息图、教学图、教材插图、课件配图、思维导图、知识图谱、流程图、数据图表、科学结构图、公式推导图、工程图纸,以及分图层 HTML/CSS 视觉设计。
references/cli/ls.md
View on GitHub# `design-cli design-workspace +ls`
## 用途
返回指定 Path 下的**直属**内容:子目录路径、直属 Item 摘要、直属 Frame 摘要。不递归更深层,不加载内容与几何,也不展开 Frame 内部。
要看整棵目录骨架用 [`+tree`](tree.md),要读完整内容用 [`+get`](get.md)。
## 命令
```bash
design-cli design-workspace +ls \
--canvas-workspace-id <canvas_workspace_id> \
[--path <path>]
```
## 参数与请求
| CLI 参数 | 必填 | JSON 字段 |
|---|---:|---|
| `--canvas-workspace-id` | 是 | `canvas_workspace_id` |
| `--path` | 否 | 目录路径,**必须以 `/` 开头**;未传或为空时取根路径 `/` |
```json
{"canvas_workspace_id":"10001","path":"/characters/female-lead"}
```
## 输出
`xml_data` 内为 `<directory>`:
```xml
<directory canvas_workspace_id="10001" path="/characters/female-lead">
<child_paths>/characters/female-lead/three-views</child_paths>
<child_paths>/characters/female-lead/expressions</child_paths>
<items>
<item item_id="123" type="IMAGE" path="/characters/female-lead" title="林夏立绘" brief="林夏的标准人物立绘"/>
</items>
<frames>
<frame frame_id="560" type="LAYERED" path="/characters/female-lead" title="林夏人物卡" brief="由姓名、身份标签与装饰图形组成的人物卡片"/>
</frames>
</directory>
```
`child_paths` 是**以 `/` 开头的完整路径**,可直接作为下一次 `--path` 的取值。
Item 与 Frame 只披露 `item_id` / `frame_id`、`type`、`path`、`title`、`brief` 五个字段。
`brief` 是这一层唯一的语义线索——它决定要不要继续 `+get`;`title` 只是短名,不承担这个作用。
读根路径时额外返回 `<canvas_workspace_brief>`:
```xml
<directory canvas_workspace_id="10001" path="/" canvas_workspace_brief="一部发生在雨夜便利店的都市短剧项目">
<child_paths>/script</child_paths>
<child_paths>/characters</child_paths>
<child_paths>/deliverables</child_paths>
<items/>
<frames/>
</directory>
```
无内容时输出空节点,不省略容器。
退出码与错误处理见 [`README.md`](README.md)。
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 |