Saltar al contenido
Skillpedia
Interfaces (UI/UX)6,5 mil · #13881

preline-theme-generator

Qué hace

Ayuda a tu agente a crear temas de color claros y oscuros para el sistema de diseño Preline. Es para personas que quieren que los colores de su sitio web coincidan con una marca o con una sensación concreta.

Cuándo usarla

  • ✓Cuando quieres un tema nuevo de Preline construido a partir del color principal de tu marca.
  • ✓Cuando quieres ver cómo quedaría un tema antes de guardar ningún archivo.
  • ✓Cuando pides al agente que revise y corrija los ajustes de color de un tema generado.

Link de la skill

https://github.com/htmlstreamofficial/preline/blob/main/skills/theme-generator/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/htmlstreamofficial/preline/blob/main/skills/theme-generator/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“¿Puedes crear un tema de Preline que coincida con el color de nuestra marca, un verde intenso, con versiones claras y oscuras?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente convierte tu petición en ajustes claros, ejecuta un generador local incluido para producir el CSS del tema y comprueba el resultado con una lista de verificación antes de terminar.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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

  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
Preguntas frecuentes

¿Necesita descargar paquetes para funcionar?

No. Usa scripts locales incluidos y no descarga paquetes de la red.

¿Sobrescribirá mis archivos existentes?

La skill está diseñada para crear o editar solo el archivo nuevo del tema.

¿Es solo para Preline?

Sí. Es para temas de Preline y no está pensada para trabajo general con CSS.

Detalles

Descripción original del autor

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.

repo: htmlstreamofficial/preline

Popularidad

Estrellas en GitHub
6,5 mil
Posición en el ranking
#13881
Licencia
—
Actualizada
30/8/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas