pencil
Pencil(MCP:pencil)
本 Skill 负责与 Pencil MCP Server 交互,读取/编辑加密的 .pen 设计文件,并提供可复制的调用模板与最佳实践。
关键边界与安全规则
.pen文件内容是加密的:禁止用普通文件读取/搜索方式解析.pen内容;只能通过 pencil MCP tools 访问与修改。- 优先“先读后写”:写入前先用
get_editor_state/batch_get了解当前文档结构与选区。 batch_design单次最多 25 条操作;超过时按“结构→内容→样式→验收”拆分多次执行。- 任何会造成大范围变更的能力(
replace_all_matching_properties、大批量batch_design)都必须先输出变更计划,再执行。
MCP Server 配置(参考)
{
"pencil": {
"name": "pencil",
"transport": "stdio",
"command": "/Users/wandl/.trae/extensions/highagency.pencildev-0.6.15-universal/out/mcp-server-darwin-arm64",
More from partme-ai/pencil-skills
pencil-mcp-search-all-unique-properties
Global property search. Use for design audit, e.g., 'Find all nodes using red background #FF0000 '.
1pencil-mcp-batch-get
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.
1pencil-ui-designer
The Pencil Orchestrator. Handles the flow of initializing Design System Components based on requirements.
1pencil-mcp-batch-design
Batch execute design changes. The Agent's 'Hands'. Core capability for inserting, updating, moving, or deleting nodes.
1pencil-skill-creator
Factory skill for creating new pencil-ui-design-system-* skills. Use when you need to add support for a new design system layui antd bootstrap element uview uviewpro vant ucharts echarts etc. to the Pencil ecosystem.
1pencil-mcp-set-variables
Set or update design variables. Use to establish or maintain a Design Token system.
1