yzsp-studio/mediakit-shared-suite / creative-design
creative-design
Unverified当用户要求从零生成或设计商业、品牌、社交媒体及知识表达类创意图片,编辑、复刻或审查已有视觉成品,或进行系列延展、多比例适配、多资产视觉系统设计时使用。触发任务包括做图、出图、生成图片、设计海报、主视觉/KV、Banner、封面、社媒配图、社媒长图、电商主图、详情页、产品图、Logo、IP 角色、吉祥物、包装、品牌应用物料、活动物料、宣传册、落地页、知识科普海报、信息图、教学图、教材插图、课件配图、思维导图、知识图谱、流程图、数据图表、科学结构图、公式推导图、工程图纸,以及分图层 HTML/CSS 视觉设计。
references/rendering/shape-library.md
View on GitHub# 图形库协议
本文件负责 HTML 原生图形的选择语义和组合原则;最终实现约束与 HTML 示例以 `../html/coding-rendering.md` 为准。
## 选择原则
- 容器、背景、标签底、进度块:优先 `rect` 或 `round-rect`。
- 节点、头像占位、状态点:按真实语义选择 `circle` 或 `ellipse`。
- 流程判断、结构节点:可用 `diamond`、`triangle`、`hexagon` 等明确几何语义。
- 指向关系和分隔:使用带边框的 DOM、内嵌 SVG `line/path` 或真实字符;实体箭头块可用 DOM/SVG 组合。
- 复杂自由轮廓、撕边、不对称圆角优先使用内嵌 SVG;真实材质使用已核验透明图片,不用随机基础形状冒充。
## 组合协议
- 图形层不烘焙 Coding 文字;卡片、按钮和标签使用同一语义 DOM 容器与真实文本子节点组合。
- 同一组件的圆角、描边、阴影方向和内边距保持一致,并在 最终 HTML 中记录为可复用 token。
- 阴影使用内联 `box-shadow`/`filter`,或由已绑定模板展开的 DOM/SVG 层;不要堆叠随机光晕。
- 比例敏感图形必须保持建议宽高关系;圆和五角星通常使用等宽高。
- 大背景使用较低 z-index,信息和交互提示使用较高 z-index。
## 图形 token
需要复用时在 最终 HTML 中记录:`shape_role`、`implementation`(`dom | inline_svg | verified_image`)、尺寸、圆角/路径、填充、描边、透明度、状态变体、消费者和 z-order。token 是规划层约定;编译 HTML 时必须展开为真实元素及行内样式/内嵌 SVG,不能把 token 名当作未定义的运行时依赖。
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 |