pencil-mcp-search-all-unique-properties
Global property search. Use for design audit, e.g., 'Find all nodes using red background #FF0000 '.
Global property search. Use for design audit, e.g., 'Find all nodes using red background #FF0000 '.
This skill is designed to call the Pencil MCP tool:
search_all_unique_propertiesIf your client namespaces MCP tools, it may appear as mcp__pencil__search_all_unique_properties.
Even if a trigger phrase matches, you must verify the user's intent:
If the answer is NO, do NOT use this skill.
CRITICAL PREREQUISITE: You must ONLY use this skill when the user EXPLICITLY mentions "Pencil".
ALWAYS use this skill when:
Trigger phrases include:
filePath (string, optional).parents (array, required): IDs of parent nodes to search within.properties (array, required): List of property names to search (e.g., ["fills", "typography"]).search_all_unique_properties(parents=[...], properties=["fills"]).Audit all fill colors used in the document to identify inconsistencies.
{
"properties": ["fills"]
}
Find all font families used within a specific frame (e.g., a card or section).
{
"parents": ["frame:card-123"],
"properties": ["fontFamily"]
}
Search for fills, strokes, and font sizes across multiple key sections to generate a style report.
{
"parents": ["section:header", "section:footer"],
"properties": ["fills", "strokes", "fontSize", "fontFamily"]
}
English keywords: search properties, design audit, find usage, unique values, property check, style consistency
Chinese keywords (中文关键词): 搜索属性, 设计审计, 查找使用, 唯一值, 属性检查, 样式一致性
确保开发环境已安装必要的依赖和工具。
根据项目需求进行基础配置。
按照示例代码实现核心功能。
运行测试确保功能正常。
完成开发后进行部署和监控。