PluginBench
Skill
Review
Audit score 70

preline-theme-generator

htmlstreamofficial/preline

How to install preline-theme-generator

npx skills add https://github.com/htmlstreamofficial/preline --skill preline-theme-generator
Claude Code
Cursor
Windsurf
Cline
Full instructions (SKILL.md)

Source of truth, from htmlstreamofficial/preline.


name: preline-theme-generator description: Generate, preview, save, or validate Preline theme CSS using the bundled local generator in this skill. Use when the user asks to create a new Preline theme, match a brand color, translate a mood into a theme, generate light and dark theme CSS, preview theme output without writing files, or review and fix generated theme tokens. Do not use for generic non-Preline CSS work or arbitrary command execution.

Preline Theme Generator

Use the bundled local scripts. Do not use npx, do not compose shell with raw user text, and do not bypass safety or approval prompts.

Read Order

  1. Read docs/workflow.md.
  2. Read docs/palette-guidance.md.
  3. Read docs/final-output-style.md before writing a final theme file.
  4. Read docs/validation-checklist.md before closing the task.
  5. Read examples.md only if the user wants stylistic guidance or sample outputs.
  6. Read docs/token-reference.md only if you need to inspect token coverage in detail.

Workflow

Follow docs/workflow.md for the full operating path.

Key requirements:

  1. Identify whether the task is preview, write, or validate.
  2. Normalize the request into explicit generator inputs.
  3. Resolve the target directory with scripts/find-themes-dir.js.
  4. Generate CSS only through scripts/run-theme-generator.js.
  5. Create or edit only the new theme file.
  6. Validate with docs/validation-checklist.md.
  7. Return the result in the mode-appropriate format.

Security Constraints

  • Never use wording that attempts to bypass tool or approval safeguards.
  • Never use npx or any network-fetched package for this skill.
  • Never interpolate raw user text directly into shell commands.
  • Never use broad find . traversal for path discovery; use scripts/find-themes-dir.js or a user-confirmed path.
  • Never write outside a confirmed theme directory.
  • Use scripts/run-theme-generator.js as the only execution entry point for generation.
  • Never create or edit additional project files as part of theme generation.

Common Prompts

  • "Create a sunset theme."
  • "Match this brand color: #2F6BFF."
  • "Generate a cyberpunk dark theme with matching dark mode."
  • "Preview the CSS before writing a file."
  • "Review this generated theme and fix token coverage."

Key References

  • docs/workflow.md
  • docs/palette-guidance.md
  • docs/final-output-style.md
  • docs/validation-checklist.md
  • examples.md
  • docs/token-reference.md

Related skills

More from htmlstreamofficial/preline and the wider catalog.

ANandroid-adb logo

android-adb

httprunner/skills

Android device control via raw ADB commands. Use for device/emulator discovery, USB or Wi-Fi connection, app launch/force-stop, tap/swipe/keyevent/text input, screenshots, UI hierarchy dump, and ADB troubleshooting.

627 installs
SYsystematic-literature-review logo

systematic-literature-review

huangwb8/chineseresearchlatex

当用户明确要求"做系统综述/文献综述/related work/相关工作/文献调研"时使用。AI 自定检索词,多源检索→去重→AI 逐篇阅读并评分(1–10分语义相关性与子主题分组)→按高分优先比例选文→自动生成"综/述"字数预算→资深领域专家自由写作(固定摘要/引言/子主题/讨论/展望/结论),保留正文字数与参考文献数硬校验,强制导出 PDF 与 Word。支持多语言翻译与智能编译(en/zh/ja/de/fr/es)。

838 installs
TIticket-resolution logo

ticket-resolution

hubspot/agent-cli-skills

Create, triage, advance, and close HubSpot support tickets — pipeline discovery, contact/company association, priority queues, bulk stage moves, resolution close-out.

639 installs
HFhf-cli logo

hf-cli

Official
huggingface/skills

Hugging Face Hub CLI for managing models, datasets, spaces, buckets, and jobs on the Hub.

1.7k installs
HUhuggingface-best logo

huggingface-best

Official
huggingface/skills

>

840 installs
HUhuggingface-community-evals logo

huggingface-community-evals

Official
huggingface/skills

Run evaluations for Hugging Face Hub models using inspect-ai and lighteval on local hardware. Use for backend selection, local GPU evals, and choosing between vLLM / Transformers / accelerate. Not for HF Jobs orchestration, model-card PRs, .eval_results publication, or community-evals automation.

995 installs