Communitygithub.com

CleanExpo/Pi-Dev-Ops

Genera una paleta completa y accesible (primario, secundario, acento, neutro de 4 pasos, semántico y variante oscura) a partir de uno a tres anclajes hex, más una clasificación por familia cromática. Valida el contraste WCAG-AA para todos los pares texto-sobre-fondo. Se activa cuando un BrandConfig tiene menos de 5 colores definidos o el contraste falla.

¿Qué es Pi-Dev-Ops?

Esta skill, CleanExpo/Pi-Dev-Ops, es un generador determinista de paletas de colores para sistemas de diseño, diseñado para trabajar con plataformas como Remotion Studio, Claude Code, Cursor y Codex. Su función principal es construir una paleta completa y accesible (primario, secundario, acento, neutros de 4 pasos, semántico y variante oscura) a partir de solo uno a tres colores base en formato hex, más una clasificación por familia cromática. La skill valida automáticamente que todos los pares de texto sobre fondo cumplan con el nivel AA de WCAG (ratio de contraste ≥ 4.5) y puede regenerar colores que fallen la validación. Utiliza el espacio de color OKLch para preservar la luminosidad percibida durante las rotaciones de tono, y se apoya en un sistema de 'escuelas visuales' (editorial-monocle, modern-minimal, warm-soft, tech-utility, brutalist-experimental) que determinan el sesgo de tono, luminosidad y temperatura de los neutros antes de aplicar las heurísticas de familia (safety, restoration, industrial, consumer, training). Esto asegura que la misma entrada (primario, familia, escuela) produzca siempre la misma paleta de salida, sin aleatoriedad ni interpolación de LLM. La salida incluye un informe de contraste en JSON con coordenadas OKLch y un fragmento YAML listo para integrar en archivos de configuración de marca (design.md), junto con una validación final mediante la herramienta design.md lint para garantizar cero errores de contraste.

Compatible con✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/CleanExpo/Pi-Dev-Ops/tree/HEAD/skills/remotion-colour-family

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

remotion-colour-family

Construye una paleta completa a partir de anclajes mínimos. Reutiliza el ayudante contrast() de remotion-studio/src/colour/index.ts.

Disparadores

  • BrandConfig carece de bloques secondary, accent, neutral o semantic.
  • Un renderizado falla en contraste: cualquier par texto-sobre-fondo tiene una relación < 4.5.
  • El usuario dice "extiende la paleta para {marca}" o "audita el color".

Entradas

  • 1-3 anclajes hex (primario obligatorio; secundario, acento opcionales)
  • family: restoration | safety | industrial | consumer | training
  • school (opcional): editorial-monocle | modern-minimal | warm-soft | tech-utility | brutalist-experimental — preajuste de escuela visual (linaje de diseño abierto). Selecciona el carácter tipográfico, el sesgo de contraste y el rol del acento antes de que se ejecuten las heurísticas de familia. Valor por defecto: modern-minimal.
  • Paleta existente (si se extiende)

Método

  1. Preajuste de escuela — aplicar el sesgo de school primero. Cada escuela restringe el rango de tono, el rango de luminosidad, la temperatura de los neutros y la saturación del acento:

    EscuelaSesgo de tonoSesgo de luminosidadNeutrosSaturación del acentoReferencia (vendorizada)
    editorial-monocletierra cálida (terracota/arcilla/arena)alta (pergamino/marfil)solo grises cálidos — cada gris lleva un matiz amarillo-marrónun acento cromático, profundamente terroso_library/claude/, _library/monocle/ (si existe)
    modern-minimalneutro frío (pizarra/gris azulado)equilibradagrises verdaderosun acento eléctrico, usado <3 veces por viewport_library/airbnb/, _library/cal/
    warm-softpasteles cálidos (melocotón/sonrosado/crema)altagrises cálidos + matices cremarosa/coral de baja saturación_library/airtable/, _library/cafe/
    tech-utilityíndigo / cian / pizarrabaja (superficies oscuras preferidas)grises fríos hacia slate-900acento de señal cian, usado solo en deltas / estado_library/binance/, _library/arc/
    brutalist-experimentalprimario de alto contraste sobre blanco puroextrema alta + extrema oscurasolo blanco y negro purosneón afilado, usado agresivamente_library/brutalism/, _library/bold/
  2. Heurísticas de familia — aplicadas después de la escuela. La familia proporciona los adyacentes canónicos:

    • safety: azul marino + naranja de emergencia + marfil
    • restoration: verde azulado + pizarra + lima
    • industrial: grafito + acero + ámbar
    • consumer: rojo/azul heroico + blanco cálido + pizarra
    • training: terracota + crema + tinta
  3. Generar en OKLch — trabajar en el espacio de color OKLch, no HSL, para que las rotaciones de tono preserven la luminosidad percibida. Convertir primero los anclajes hex a OKLch; rotar el tono ±30°/±60° mientras se limita la luminosidad a la banda de la escuela. Devolver el resultado a hex para el almacenamiento en BrandConfig. Mantener un campo hermano oklch en el informe de contraste para los consumidores de Tailwind-4 (Fase 2).

  4. Determinismo — el mismo triplete (primario, family, school) DEBE producir la misma paleta de salida en todas las ejecuciones. Sin aleatoriedad; sin temperatura; sin interpolación de LLM. El generador es una función pura de sus entradas.

  5. Construir neutros — interpolar entre oklch(99% 0 hue) (50) y oklch(15% 0 hue) (900), inclinando el chroma hacia el tono del primario según el sesgo de la escuela (warm-soft tira los neutros hacia cálido; tech-utility los tira hacia frío).

  6. Construir semántica — elegir success/warning/danger de un conjunto fijo que no choque con el primario.

  7. Construir variante oscura — invertir los neutros (intercambiar luminosidad 50 ↔ 900) y desplazar el primario hacia arriba un 8% de luminosidad en el espacio OKLch.

  8. Validar — para cada par (primary, neutral.50), (primary, neutral.900), (secondary, neutral.50), (accent, secondary), asegurar contraste ≥ 4.5 (WCAG-AA). Si no, regenerar la ranura que falla. Brutalist-experimental requiere ≥ 7.0 (AAA).

Salida

Dos artefactos:

  1. Informe de contraste JSON con coordenadas OKLch (para remotion-brand-codify y consumo web en Fase 2):
{
  "school": "modern-minimal",
  "family": "restoration",
  "tokens": {
    "primary": { "hex": "#0E7C7B", "oklch": "oklch(48% 0.10 195)" },
    "neutral": {
      "50":  { "hex": "#F5F7F8", "oklch": "oklch(97% 0.005 200)" },
      "900": { "hex": "#0E1518", "oklch": "oklch(15% 0.010 215)" }
    }
  },
  "passes": [ { "fg":"#F5F7F8", "bg":"#0E7C7B", "ratio": 7.21, "level":"AAA" } ],
  "fails": []
}
  1. Fragmento YAML listo para colocar en el bloque colors: de Synthex/packages/brand-config/src/brands/{slug}.design.md — los nombres de los tokens siguen la especificación de @google/design.md (minúsculas + guiones para nombres de niveles, ej. neutral-50, dark-primary):
colors:
  primary: "#0E7C7B"
  secondary: "#2A3D45"
  accent: "#C5E063"
  neutral-50: "#F5F7F8"
  neutral-100: "#E4E9EC"
  neutral-500: "#6F7B82"
  neutral-900: "#0E1518"
  success: "#3FA34D"
  warning: "#E0A800"
  danger: "#C0392B"
  on-primary: "#FFFFFF"
  on-secondary: "#FFFFFF"
  on-accent: "#0E1518"
  surface: "{colors.neutral-50}"
  on-surface: "{colors.neutral-900}"
  dark-primary: "#16B5B3"
  dark-secondary: "#1A2428"
  dark-surface: "#0E1518"
  dark-on-surface: "#F5F7F8"

Ejecuta npx --prefix Pi-Dev-Ops/remotion-studio design.md lint contra el archivo .design.md resultante para confirmar cero errores de contraste.

Límites

  • Nunca entregar una paleta con algún fallo AA — bloquear y solicitar la opinión del fundador sobre la ranura conflictiva.
  • Nunca sobrescribir un darkVariant explícito establecido por la marca.
  • Nunca usar rojo como primario a menos que family === 'consumer' y el nombre de la marca ancle explícitamente el rojo.
  • Nunca recurrir a un LLM durante la generación — la función es determinista. Si el determinismo falla (la misma entrada produce diferente salida entre ejecuciones), eso es un error en el generador, no una característica.
  • Nunca mezclar dos escuelas — elegir una. Mezclar la calidez de editorial-monocle con la pizarra de tech-utility produce la paleta "por defecto de IA" turbia con la que toda marca empieza.

Pasar el testigo a

remotion-brand-codify escribe el resultado en src/brands/{slug}.ts.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

CleanExpo/Pi-Dev-Ops

Produce one or many consistent, on-brand faceless marketing videos from a topic: script, ElevenLabs voiceover with timestamps, one styled illustration per beat, ffmpeg stitch to 1080p, optional Unlisted YouTube upload. The look is a named style from styles.md (flat-line, hand-doodle, bold-kinetic, cinematic-photoreal, minimal-corporate, retro-print), so one command yields repeatable output per brand. The automated pipeline; distinct from faceless-video and video-director.

CleanExpo/Pi-Dev-Ops

Produce a faceless YouTube-style video (hand-drawn doodle / simple-illustration channels like Zen, Nick Invest) end-to-end from a single topic. ASKS FACT-vs-STORY mode first (non-fiction educational vs fiction storytelling) and branches the whole run — built to serve multiple clients/channels, not one fixed format. Reverse-engineers a proven reference video's script format, writes a new script in that format, generates an ElevenLabs voiceover with timestamps, creates one styled Artlist (AI Toolkit) image per timestamp, and stitches everything with FFmpeg — fully automated, no human recording. Use when the user says "faceless video", "/faceless-video", "doodle video", "make a YouTube short/long-form in the Zen style", or wants an organic faceless-channel content piece. Composes with video-distribution-strategist (channel/launch) and video-director (when motion/edit polish is wanted instead of stills).

CleanExpo/Pi-Dev-Ops

The 15+ year brand director extension of `brand-guardian` specifically for video — frame-by-frame audit of brand-mark integrity, Gun Metal `#1a1a1a` + Candy Red `#dc143c` consistency, NO AI slop, NO Lucide icons, custom geometric marks ONLY, real logos correctly placed. PASS / FAIL gate before any client-facing video ships. Use after `video-colorist` completes the grade pass.

CleanExpo/Pi-Dev-Ops

The 15+ year Director-of-Photography persona (Roger Deakins / Emmanuel Lubezki / Hoyte van Hoytema-tier) that owns shot composition, lens psychology, motion language, and the decision of which source (Remotion / Hyperframes / stock cinematic) each scene uses. Extends the existing `remotion-designer` + `remotion-motion-language` skills with a frame-by-frame shot-language framework. Use when the user says "cinematography", "shot list", "framing", "DoP", "lens choice", or invoked by `video-director` Phase 2.

CleanExpo/Pi-Dev-Ops

The 15+ year colorist persona (Light Iron / Company 3 / The Mill-tier) that applies per-brand LUT + grade pass to every Unite-Group video. Closes the "raw Remotion render colours" gap — today Remotion outputs whatever colours BrandConfig declares with zero cinematic grade. Use when the user says "colour", "grade", "LUT", "look", "cinematic finish", or invoked by `video-director` Phase 3 (post-production) after `video-sound-designer` mixes audio.

CleanExpo/Pi-Dev-Ops

The Creative Director persona that owns brief intake, composition selection and narrative POV for every Unite-Group video. ENTRY POINT for the Video Agency: use for any video creation brief (explainer, promo, social cut, demo reel, case study, testimonial, client video). Dispatches the full production team: script-writer, cinematographer, editor, sound designer, colorist, brand-guardian.

CleanExpo/Pi-Dev-Ops

The 15+ year platform-native distribution expert (early TikTok creator economy + YouTube algorithm + LinkedIn organic reach + IG Reels native specialist) that owns per-platform aspect ratio + duration cap + caption format + hook density + thumbnail composition. Extends `remotion-marketing-strategist` with platform-native specs locked per BrandConfig. Use when the user says "which platform", "distribution", "channel-fit", "thumbnail", "captions", or invoked by `video-director` Phase 4 (QA + Delivery) for per-platform cuts.

CleanExpo/Pi-Dev-Ops

The 15+ year screenwriter persona (Pixar / Apple keynote / Nike spot tier) that engineers hooks (0-3s), retention beats (7-15s), narrative tension curves, and CTA placement. Extends the existing `remotion-screen-storyteller` skill with a structural framework lifted from Pixar's 22 Rules + Apple keynote architecture. Use when the user says "script", "voiceover", "narration", "hook", "story arc", or invoked by `video-director` Phase 2.

CleanExpo/Pi-Dev-Ops

The 15+ year sound designer persona (Skywalker Sound / Sound Lounge / Audio Network-tier) that mixes ElevenLabs voiceover with music bed, sound effects, ambient texture, and audio polish. Closes the single biggest gap in the existing Remotion pipeline — today voiceover is the ONLY audio; this skill adds music + SFX + mix. Use when the user says "sound design", "audio mix", "music bed", "SFX", "score this", or invoked by `video-director` Phase 3 (post-production).

CleanExpo/Pi-Dev-Ops

Converts a BrandResearch dossier into THREE artifacts — (1) typed BrandConfig TypeScript at Synthex/packages/brand-config/src/brands/{slug}.ts (runtime/behaviour — voice, voiceover, motion, audience, channel, forbiddenWords); (2) spec-conformant {slug}.design.md at Synthex/packages/brand-config/src/brands/{slug}.design.md (visual tokens — colour, typography, spacing, components, layout, elevation); (3) human-readable 9-section .md projection at Pi-Dev-Ops/remotion-studio/src/brands/{slug}.md derived from BOTH. Boundary contract at Pi-Dev-Ops/remotion-studio/src/brands/CONTRACT.md. Triggered after remotion-brand-research, or when the user pastes brand assets and says "codify". PRs are auto-merge:false — a human reviews before merge.

CleanExpo/Pi-Dev-Ops

Researches a portfolio company's visual identity from public sources (homepage, about page, marketing copy, GitHub README) and produces a structured BrandResearch dossier. Triggered when `Synthex/packages/brand-config/src/brands/{slug}.ts` (canonical home per RA-1985 / Synthex SYN-897) is missing, older than 90 days, or the user explicitly says "refresh brand for {brand}". Output feeds remotion-brand-codify.

CleanExpo/Pi-Dev-Ops

Authors or extends a Remotion composition (.tsx) wired to BrandConfig + Storyboard + layout spec + motion. The actual builder skill — runs as a Sonnet-tier worker. Triggered after brand, storyboard, designer, and motion-language outputs are ready. Produces the file under remotion-studio/src/compositions/ and registers it in src/Root.tsx.

CleanExpo/Pi-Dev-Ops

Visual-design specialist for Remotion compositions. Sets layout grid, typography hierarchy, white-space, scene framing, and visual rhythm for a given composition + brand. Triggered after remotion-composition-builder for QA, or upfront when authoring a new composition type. Produces a layout spec consumed by remotion-composition-builder.

CleanExpo/Pi-Dev-Ops

Use when a Remotion video needs creative direction — hook, visual sequence, scene purpose, motion restraint, and CTA direction before render.

CleanExpo/Pi-Dev-Ops

Use when a Remotion video has timing, sync, transition, caption, pacing, or audio-fit risk and needs editing discipline before render.

CleanExpo/Pi-Dev-Ops

Use when /remotion-video needs existing Synthex ElevenLabs, brand-config, Remotion, output storage, Claude, or Hermes integration without adding vendors.

CleanExpo/Pi-Dev-Ops

Tunes a video's format and message for the target channel — LinkedIn, YouTube, Instagram Reel, internal training. Sets aspect ratio, total duration, hook timing, CTA timing, and pacing. Triggered when the brief mentions a specific channel or campaign goal. Output feeds remotion-screen-storyteller and remotion-composition-builder.

CleanExpo/Pi-Dev-Ops

Designs a brand-specific motion vocabulary — easing curves, default scene durations, signature entry/exit, transition frames. Each brand gets one signature move (rise / sweep / pulse / iris / whip) that recurs across compositions to build motion-recognition. Triggered when BrandConfig.motion is empty.

CleanExpo/Pi-Dev-Ops

/remotion-video one-shot Remotion command skill and ENTRY POINT for the Remotion Skills Package. Use for video, explainer, ad, promo, reel, intro, social cut, marketing, training, or launch videos. Reads the brief, classifies intent, enforces one single Synthex ElevenLabs voice, emits a production/wave plan, and dispatches the right sub-skills in topological order. Always invoked first.

CleanExpo/Pi-Dev-Ops

Use when a Remotion video job needs production gates, render evidence, output discipline, and pass/fail validation before it can be called shippable.

Skills relacionados