pencil-mcp-open-document
Open or create a design document. Use when you need to initialize design tasks, create new files, or switch to specific designs.
Open or create a design document. Use when you need to initialize design tasks, create new files, or switch to specific designs.
This skill is designed to call the Pencil MCP tool:
open_documentIf your client namespaces MCP tools, it may appear as mcp__pencil__open_document. Full parameter details: docs/pencil-mcp-tools.md.
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., "Open file" might refer to reading a code file, not a .pen design).
CRITICAL PREREQUISITE: You must ONLY use this skill when the user EXPLICITLY mentions "Pencil".
ALWAYS use this skill when:
.pen file.Trigger phrases include:
filePathOrTemplate (string, required):
'new' to create a fresh, empty document./path/to/design.pen) to open an existing file.open_document(filePathOrTemplate='new')open_document(filePathOrTemplate='/path/to/file.pen')open_document(filePathOrTemplate='new') — initialize a fresh canvas.open_document(filePathOrTemplate='/path/to/design.pen') — open existing .pen file.English keywords: open document, create file, new design, load file, switch document, initialize canvas
Chinese keywords (中文关键词): 打开文档, 创建文件, 新建设计, 加载文件, 切换文档, 初始化画布
确保开发环境已安装必要的依赖和工具。
根据项目需求进行基础配置。
按照示例代码实现核心功能。
运行测试确保功能正常。
完成开发后进行部署和监控。