preline-theme-generator
Fungsinya
Skill ini membantu agent Anda membuat tema warna terang dan gelap untuk sistem desain Preline. Skill ini untuk orang yang ingin warna situs web mereka sesuai dengan merek atau nuansa tertentu.
Kapan dipakai
- ✓Saat Anda ingin tema Preline baru dibuat dari warna utama merek Anda.
- ✓Ketika Anda ingin melihat tampilan tema sebelum file apa pun disimpan.
- ✓Ketika Anda meminta agent meninjau dan memperbaiki pengaturan warna dari tema yang sudah dibuat.
Link skill
https://github.com/htmlstreamofficial/preline/blob/main/skills/theme-generator/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Bisakah Anda membuat tema Preline yang sesuai dengan warna merek kami, hijau tua, dengan versi terang dan gelap?”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent mengubah permintaan Anda menjadi pengaturan yang jelas, menjalankan generator lokal yang disertakan untuk membuat CSS tema, lalu memeriksa hasilnya terhadap daftar sebelum selesai.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
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
- Read
docs/workflow.md. - Read
docs/palette-guidance.md. - Read
docs/final-output-style.mdbefore writing a final theme file. - Read
docs/validation-checklist.mdbefore closing the task. - Read
examples.mdonly if the user wants stylistic guidance or sample outputs. - Read
docs/token-reference.mdonly if you need to inspect token coverage in detail.
Workflow
Follow docs/workflow.md for the full operating path.
Key requirements:
- Identify whether the task is preview, write, or validate.
- Normalize the request into explicit generator inputs.
- Resolve the target directory with
scripts/find-themes-dir.js. - Generate CSS only through
scripts/run-theme-generator.js. - Create or edit only the new theme file.
- Validate with
docs/validation-checklist.md. - Return the result in the mode-appropriate format.
Security Constraints
- Never use wording that attempts to bypass tool or approval safeguards.
- Never use
npxor any network-fetched package for this skill. - Never interpolate raw user text directly into shell commands.
- Never use broad
find .traversal for path discovery; usescripts/find-themes-dir.jsor a user-confirmed path. - Never write outside a confirmed theme directory.
- Use
scripts/run-theme-generator.jsas 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.mddocs/palette-guidance.mddocs/final-output-style.mddocs/validation-checklist.mdexamples.mddocs/token-reference.md
Pertanyaan umum
Apakah perlu mengunduh paket agar ini berfungsi?
Tidak. Skill memakai skrip lokal yang disertakan dan tidak mengambil paket dari jaringan.
Apakah file saya yang sudah ada akan ditimpa?
Skill dirancang hanya untuk membuat atau mengubah file tema baru.
Apakah ini hanya untuk Preline?
Ya. Skill ini untuk tema Preline dan tidak dimaksudkan untuk pekerjaan CSS umum.
Detail
Deskripsi asli dari pembuat
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.
Popularitas
- Bintang GitHub
- 6.5k
- Peringkat
- #13881
- Lisensi
- —
- Diperbarui
- 30/8/2026
Komentar
- …
Skill lain dari repositori ini
Skill serupa
canvas
394kMemungkinkan agent Anda menampilkan widget visual yang di-hosting di panel Mac yang terhubung, lalu menyembunyikan panel atau memindahkannya ke halaman lain.
control-ui
394kMembantu agent Anda mengatur dan memecahkan masalah OpenClaw Control UI, termasuk sesi, dasbor, dan Gateway yang terhubung.
diagram-maker
394kMembantu agent Anda membuat diagram yang jelas sebagai SVG, HTML, atau Excalidraw yang dapat diedit untuk proses, arsitektur sistem, dan sketsa papan tulis.