TrastCMS Theme Builder

SkillDev tools

This is a CMS built entirely in Java, designed for companies that develop their own systems and want to scale while avoiding repetitive steps. Hope it works for you, and feel free to help me improve it!

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the TrastCMS Theme Builder skill

What this skill tells your AI

The instructions your AI receives, as published by davidbrionesff/trastcms in skills/trastcms-theme-builder/SKILL.md and read by ahel’s review.

Objetivo

Construir o modificar temas de TrastCMS sin acoplar catálogo, pagos, usuarios ni contenido operativo al tema.

Procedimiento

  1. Inspeccionar theme.json, tokens.css y starter-content.json del tema más cercano.
  2. Crear un ID estable en kebab-case bajo src/main/resources/themes/<id>/.
  3. Definir variables visuales en tokens.css; evitar estilos globales sin el selector :root[data-theme="<id>"].
  4. Usar bloques del constructor para páginas y contratos plugin:<plugin>:<block> para funciones dinámicas.
  5. Mantener tours, productos, licencias y reservas en sus plugins; el tema solo representa esos datos.
  6. Incluir contenido inicial versionado y establecer themeOrigin mediante ThemeStarterContentService.
  7. Probar navegación entre temas para detectar CSS residual o parpadeos.
  8. Validar escritorio, tableta y móvil, incluidos encabezado, menú, formularios, carrito y Mi Cuenta.

Reglas

  • La tipografía se define con --public-font-family.
  • El ancho se define con --site-container-width.
  • No sobrescribir páginas de otro tema.
  • No usar selectores genéricos como main, form o button sin el ámbito del tema.
  • Los assets deben tener respaldo local y trazabilidad de su fuente.
  • El ZIP de entrega contiene solo archivos modificados o agregados.

Comprobación

./mvnw clean verify

Verificar además JSON, enlaces de assets, rutas públicas y cambio de tema sin flash visual.

Signals

GitHub stars
22
Forks
12
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
trastcms-theme-builder
Source
github.com/davidbrionesff/trastcms