skills/pencil-skills/pencil-mcp-batch-design/SKILL.md
Batch execute insert, update, replace, move, and delete operations on Pencil .pen design nodes via the batch_design MCP tool. Use when the user explicitly mentions Pencil and needs to draw, insert, change, remove, or move elements on the canvas.
npx skillsauth add teachingai/agent-skills pencil-mcp-batch-designInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill is designed to call the Pencil MCP tool:
batch_designIf your client namespaces MCP tools, it may appear as mcp__pencil__batch_design.
Even if a trigger phrase matches, you must verify the user's intent:
If the answer is NO, do NOT use this skill. (e.g., if the user just says "Draw a rectangle" in a general context, they might mean Stitch, SVG, or Mermaid).
CRITICAL PREREQUISITE: You must ONLY use this skill when the user EXPLICITLY mentions "Pencil".
ALWAYS use this skill when:
Trigger phrases include:
The batch_design tool accepts a JSON structure defining a list of operations.
operations (array, required): A list of operation objects.
I): { "type": "insert", "targetId": "...", "node": { ... } }U): { "type": "update", "targetId": "...", "props": { ... } }R): { "type": "replace", "targetId": "...", "node": { ... } }D): { "type": "delete", "targetId": "..." }M): { "type": "move", "targetId": "...", "parentId": "..." }Important Notes:
type: "ref" and ref: "ComponentID" to insert instances.U() with instance path to override properties..pen schema.batch_design.Insert a simple text node into the current context. See 1-insert-text.json.
Create an Auto-Layout Frame with a child button. See 2-create-layout.json.
Insert a component instance and override its internal properties (e.g., changing button text) in one go. See 3-component-instance.json.
English keywords: batch design, draw ui, update props, insert node, delete element, move layer, modify canvas
Chinese keywords (中文关键词): 批量设计, 绘制UI, 更新属性, 插入节点, 删除元素, 移动图层, 修改画布
development
Guidance for Next.js using the official docs at nextjs.org/docs. Use when the user needs Next.js concepts, configuration, routing, data fetching, or API reference details.
tools
Provides comprehensive guidance for Flask framework including routing, templates, forms, database integration, extensions, and deployment. Use when the user asks about Flask, needs to create web applications, implement routes, or build Python web services.
development
Provides comprehensive guidance for FastAPI framework including routing, request validation, dependency injection, async operations, OpenAPI documentation, and database integration. Use when the user asks about FastAPI, needs to create REST APIs, or build high-performance Python web services.
development
Provides comprehensive guidance for Django framework including models, views, templates, forms, admin, REST framework, and deployment. Use when the user asks about Django, needs to create web applications, implement models and views, or build Django REST APIs.