/doubao-skin:create-doubao-themefrom doubao-skin
Create, migrate, refine, validate, preview, and package v3 themes for Doubao, DoubaoWork, and WorkBuddy from natural-language visual requirements.
Ships in doubao-skin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turn a user's visual direction into a valid Doubao theme without requiring them to edit JSON or understand the injection runtime.
Resolve one executable before doing any work, in this order:
DOUBAO_SKIN_CLI when it is set.doubao-skin from PATH when available.cargo run -p skin-core --bin doubao-skin --.If none is available, explain the exact target and ask before installing the standalone CLI. Use Scoop on Windows:
scoop install https://github.com/IchenDEV/doubao-skin/releases/latest/download/doubao-skin.json
On macOS or Linux, use the platform-detecting installer:
curl -fsSL https://raw.githubusercontent.com/IchenDEV/doubao-skin/main/scripts/install-cli.sh | sh
Installing the CLI must not install, launch, or modify the desktop app. When this repository is already present, prefer cargo run instead of installing another copy.
Never substitute a handwritten archive script.
Translate the request into a short Chinese name, one-sentence description, #RRGGBB accent, light, dark, or both appearance, and an explicit target list using doubao, doubao-work, and workbuddy. Use only named targets when the request is target-specific. For a generic cross-app theme, use all three and report real-window verification as pending until performed.
Use a new lowercase kebab-case directory. Do not delete or overwrite an existing directory.
If the user did not provide an author, use 本地用户 and remind them to replace it before publishing.
Prefer a pure-color or CSS-gradient theme. Add images, fonts, or icons only when the user supplied them, their source and license are clear, or the current host has an explicitly available generation tool.
Run:
doubao-skin create <theme-dir> --name <name> --description <description> --accent <#RRGGBB> --appearance <light|dark|both> --targets <comma-separated-targets> --author <author> --json
Make only request-specific edits to the generated theme.json and manifest-referenced CSS. Keep shared visual semantics in shared, target differences in targets.<id>, and behavior in the theme package rather than app-specific branches. Do not add a root theme.css unless it is explicitly referenced.
Run check, then preview, then check again. Inspect the generated 1200 × 675 preview when visual tools are available.
Always finish by running pack with a new output path. The required delivery chain is check → preview → check → pack; do not report completion without a valid package. Packaging is local and does not publish or install the theme.
schemaVersion: 3, the directory name and id identical, and targets as the only support declaration. Every effective target/appearance must resolve complete composer and content semantics.html[data-skin="<id>"]; target CSS must also include data-skin-target. Use only the visual CSS subset accepted by check; express backgrounds, fonts, icons, layout, and motion structurally.$apply-doubao-theme.migrate-v3 <theme-dir> --json first and present its target/version/resource summary without modifying files.migrate-v3 <theme-dir> --write --json only when the user authorized migration of that theme or repository scope.null for target resources that must not be inherited.check → preview → check → pack chain. Migration does not prove compatibility; record which target/appearance windows remain unverified.Report the theme directory, validation status, preview path, package path, and any material or license still needed. Use ordinary product language, not CDP or injection terminology.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub ichendev/doubao-skin --plugin doubao-skin2 skills in this plugin