skills/pencil-skills/pencil-skill-creator/SKILL.md
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.
npx skillsauth add partme-ai/full-stack-skills pencil-skill-creatorInstall 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 guides the creation of new pencil-ui-design-system- skills*. Each skill initializes a design system in Pencil (variables + component overview frames) via PENCIL_PLAN.
All design-system skills created by this creator MUST adhere to:
Keep this file concise. Use bundled references when you need full details:
references/workflows.mdreferences/output-patterns.mdUse the bundled script to automatically generate the skill structure, SKILL.md (with Golden Template), and references/ placeholders.
# Usage: ./scripts/init_pencil_design_system_skill.py <name> --path <skills-directory>
./scripts/init_pencil_design_system_skill.py layui --path skills/
This will:
skills/pencil-ui-design-system-layui.SKILL.md with the required structure (When to use, Step 1 Variables, Step 2 Component overview).references/contract.md, references/official.md, references/examples.md placeholders.LICENSE.txt from an existing skill.Follow: references/workflows.md -> Manual creation.
Identify the framework and name the skill: pencil-ui-design-system-<name> (kebab-case).
pencil-ui-design-system-layuipencil-ui-design-system-uviewpromkdir -p skills/pencil-ui-design-system-<name>/references
SKILL.md (Golden Template)You MUST use the following template structure for the new skill:
name: pencil-ui-design-system-{{name}}, description containing "初始化 {{design_system}}: design system components".set_variables (colors, fonts, radius). Follow .pen schema.batch_design (component categories and component names per category).replace: false unless full reset; use Auto Layout for frames.references/contract.md: Design tokens and component contracts (prefix, naming).references/official.md: Link to official documentation.references/examples.md: Example PENCIL_PLAN or usage.This skill is part of the Pencil specification flow:
open_document, set_variables, batch_design, get_screenshot) in order.Script enforces: pencil-ui-design-system-[a-z0-9]+(-[a-z0-9]+)*.
development
Provides per-component and per-API examples with cross-platform compatibility details for uni-app, covering built-in components, uni-ui components, and APIs (network, storage, device, UI, navigation, media). Use when the user needs official uni-app components or APIs, wants per-component examples with doc links, or needs platform compatibility checks.
tools
Creates new uni-app projects via the official CLI or HBuilderX with Vue 2/Vue 3 template selection, manifest.json and pages.json configuration, and directory structure setup. Use when the user wants to scaffold a new uni-app project, initialize project files with a single command, or set up the development environment.
tools
Browses, installs, configures, and manages plugins from the uni-app plugin market (ext.dcloud.net.cn) including component plugins, API plugins, and template plugins with dependency handling. Use when the user needs to find and install uni-app plugins, configure plugin settings, manage plugin dependencies, or integrate third-party components.
tools
Develops native Android and iOS plugins for uni-app including module creation, JavaScript-to-native communication, and plugin packaging for distribution. Use when the user needs to build custom native modules, extend uni-app with native capabilities (camera, Bluetooth, sensors), or create publishable native plugins.