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 teachingai/agent-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
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.