Saltar al contenido
Skillpedia
Marca9,6 mil · #12220

create-theme

Qué hace

Esta habilidad construye un tema para diapositivas de open-slide, que cubre colores, tipografías, diseño y movimiento, para que las presentaciones futuras compartan un mismo aspecto. Está pensada para diseñadores y desarrolladores que configuran los estilos de las diapositivas.

Cuándo usarla

  • ✓Cuando quieres crear un nuevo tema de diapositivas con un aspecto propio.
  • ✓Cuando quieres extraer un tema de una diapositiva existente o de un conjunto de imágenes.
  • ✓Cuando quieres un archivo de vista previa que muestre el tema funcionando en diapositivas de ejemplo.

Link de la skill

https://github.com/open-slide/open-slide/blob/main/packages/core/skills/create-theme/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/open-slide/open-slide/blob/main/packages/core/skills/create-theme/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

“Crea un tema llamado midnight a partir de estas tres imágenes de referencia.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La habilidad escribe dos archivos emparejados: un documento de tema con las reglas de paleta, tipografías, diseño y movimiento, y una pequeña diapositiva de demostración ejecutable para la vista previa del tema. Solo escribe en la carpeta de temas.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

Create a slide theme

This skill produces a theme bundle under themes/: two paired files that together describe a reusable visual identity.

  1. themes/<id>.md — agent-facing documentation: palette, typography, layout, fixed Title/Footer/Eyebrow components, motion. This is what create-slide reads when an author picks the theme.
  2. themes/<id>.demo.tsx — a runnable mini-slide (a normal slide module: export default Page[]) that demonstrates the theme on 2–3 pages. The dev UI's Themes panel loads this file and renders it as the theme's live preview.

Both files share the same stem so the runtime can pair them automatically.

A theme is distinct from a slide's design const. The theme markdown is authoring-time aesthetic direction (copied into a real slide's source by create-slide). The demo .tsx is a self-contained preview, not a real slide — it does not appear in the slides list. A per-slide const design: DesignSystem = { … } (declared at the top of slides/<id>/index.tsx) is the runtime tokens object the user can tweak from the Design panel. The markdown commits the direction; the per-slide design const makes the slide tweakable; the demo .tsx makes the theme previewable.

You only write files under themes/<id>.md and themes/<id>.demo.tsx. Never modify real slides or other configuration. The canvas / type-scale defaults that themes can override live in the slide-authoring skill — read it before writing the theme so your overrides are stated explicitly.

Step 1 — Identify the input source

A theme can be derived from any combination of three input shapes:

  • Image references — paths or URLs to slide screenshots, mood-board images, brand assets.
  • Free-text description — prose describing the desired palette, fonts, feel.
  • An existing slide — slides/<id>/index.tsx whose visual identity should be lifted out into a reusable theme.

If the user's original message already specifies the inputs unambiguously, skip the question and proceed. Otherwise call AskUserQuestion (multi-select) so they can pick one or more sources, and ask follow-ups (paths, slide id, prose) only as needed.

Step 2 — Gather raw inputs

  • Images: read each path with the Read tool (it accepts images). Note dominant colors as hex, type weight/style, layout rhythm, decorative motifs, and any recurring chrome (header bar, footer line, page numbers).
  • Text: extract explicit tokens (hex codes, font names, motion verbs) and implicit tone words ("editorial", "playful", "brutalist"). Resolve vague language into concrete decisions before writing.
  • Existing slide: read slides/<id>/index.tsx and pull:
    • The design.palette object (or a legacy top-of-file palette const) → Palette section.
    • design.fonts / font constants and any font-size patterns → Typography section.
    • Padding / alignment patterns → Layout section.
    • Recurring components (TrafficLights, Eyebrow, Footer-style helpers, WindowShell, …) → Fixed components section.
    • @keyframes blocks and the shared styles string → Motion section.
    • The aesthetic feel implied by the design → Aesthetic paragraph.

When inputs disagree (e.g. images use blue but the description says green), ask the user which to honor.

Step 3 — Pick a theme id

Use kebab-case, short, descriptive. Examples: editorial-noir, brutalist-mono, pastel-soft, dev-terminal. Check themes/ to avoid collisions.

Step 4 — Write themes/<id>.md

Produce a file with this exact section order. Section bodies adapt to the theme; the headings stay consistent across all themes.

---
name: <Human title, e.g. "Editorial Noir">
description: <one-line elevator pitch>
mode: <dark | light — whichever matches the palette's bg>
---

# <Theme name>

## Palette

| Role   | Value     | Notes                          |
| ------ | --------- | ------------------------------ |
| bg     | `#0f172a` | page background                |
| text   | `#f8fafc` | primary copy                   |
| accent | `#fbbf24` | callouts, eyebrow, key numbers |
| muted  | `#94a3b8` | secondary copy, dividers       |
| ...    | ...       | extend as the theme requires   |

## Typography

- Display font: `<stack>` — weight 800–900 for headlines.
- Body font: `<stack>` — weight 400–500.
- Webfont import (omit for system stacks): `<stylesheet URL>` — see `references/webfonts.md` in `slide-authoring` for loading rules.
- Type-scale overrides (only list 
Preguntas frecuentes

¿Es lo mismo un tema que los ajustes de diseño de una diapositiva?

No. El tema marca la dirección, mientras que los ajustes de diseño de cada diapositiva son los valores que puedes ajustar.

¿Aparece la demostración en mi lista de diapositivas?

No. La demostración es solo una vista previa y se muestra en el panel de temas.

¿Puede cambiar mis diapositivas reales?

No. Solo escribe los archivos del tema.

Detalles

Descripción original del autor

Use this skill when the user wants to create, draft, author, or extract a slide theme in this open-slide repo. Triggers on phrases like "create a theme", "make a theme called X", "extract a theme from <slide>", "build a theme from these images". Produces two paired files under `themes/` — `<id>.md` (palette, typography, layout, fixed Title/Footer components, motion) and `<id>.demo.tsx` (a runnable demo slide that the dev-UI Themes panel previews). Do NOT use for editing real slides — only for authoring the theme bundle.

repo: open-slide/open-slide

Popularidad

Estrellas en GitHub
9,6 mil
Posición en el ranking
#12220
Licencia
MIT
Actualizada
29/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas