一键导入
pencil-ui-design-system-echarts
Initialize ECharts. design system components chart placeholders and data-viz tokens in Pencil.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Initialize ECharts. design system components chart placeholders and data-viz tokens in Pencil.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
When you need to turn Stitch page HTML (or a Stitch URL) into a Pencil .pen design. Parses DOM and Tailwind, applies HTML→Pencil mapping and execution order, outputs sequential batch_design for layout and style fidelity (background, color, size, margin, padding, shadow). Supports multi-framework tokens.
Batch execute design changes. The Agent's 'Hands'. Core capability for inserting, updating, moving, or deleting nodes.
Batch search and read node information. The Agent's 'Eyes'. Use to find specific components e.g. all nodes named 'Button' or get child structure within a container.
Smartly find empty canvas space. Use to automatically plan artboard placement to avoid overlap and keep the canvas organized.
Get current design environment context. Use when you need to understand what is currently selected, canvas position, and environment state before any task.
Get design system guidelines. Use to read and understand specifications e.g. Material Design iOS HIG or custom specs before designing.
| name | pencil-ui-design-system-echarts |
| description | Initialize ECharts. design system components chart placeholders and data-viz tokens in Pencil. |
| license | Complete terms in LICENSE.txt |
Constraint: Only use this skill when the user explicitly mentions "Pencil" and "ECharts" or when orchestrating a Pencil design system initialization task for charts.
Use this skill when you need to initialize a chart/design system based on ECharts specifications in a .pen file: set up chart theme colors and create placeholder frames for chart types (line, bar, pie, etc.).
This skill outputs a PENCIL_PLAN. The Agent then calls Pencil MCP tools in order: open_document, set_variables, batch_design, optionally get_screenshot.
Use mcp__pencil__set_variables to register ECharts-related design tokens (chart theme colors, font). Follow .pen file schema.
Chart colors (palette)
echarts-color-1: #5470c6echarts-color-2: #91cc75echarts-color-3: #fac858echarts-color-4: #ee6666echarts-color-5: #73c0deAxis / grid / text
echarts-axis-line-color: #6e7079echarts-split-line-color: #e0e6f1echarts-text-color: #6e7079echarts-font-size: 12pxFill from ECharts theme docs if more tokens are needed.
Use mcp__pencil__batch_design to create a "Charts Overview" frame with placeholder sections for chart types (data-viz components):
Organize frames using Auto Layout. Keep each batch_design call to maximum 25 operations.
set_variables with replace: false unless a full reset is requested.pencil, echarts, chart, design system, init, variables, data visualization
references/contract.md – Design tokens and chart type naming.references/official.md – Link to official documentation.references/examples.md – Example PENCIL_PLAN.references/components.md – Chart type specifications.