Communitygithub.com

CleanExpo/Pi-Dev-Ops

Convierte un dossier de investigación de marca en tres artefactos: un BrandConfig tipado en TypeScript, un archivo .design.md con tokens visuales y una proyección legible de 9 secciones. Todo con contrato de límites, linting automático y PRs para revisión humana.

¿Qué es Pi-Dev-Ops?

Esta habilidad para agentes de IA (como Claude Code, Cursor o Codex) transforma un dossier de investigación de marca en tres artefactos de código y diseño listos para producción. Primero, valida que el dossier cubra todos los campos requeridos de BrandConfig (definidos en Synthex/packages/brand-config/src/types.ts). Luego aplica un contrato de límites (CONTRACT.md) que asigna cada token al archivo correcto: colores hex, tipografía, espaciado, componentes y diseño van al archivo .design.md; voz, locución, movimiento, audiencia, canal, palabras prohibidas y rutas de logo van al .ts. Si la paleta tiene menos de 5 colores o falla WCAG-AA, se invoca automáticamente remotion-colour-family para expandirla, y si el bloque de movimiento está vacío se usa remotion-motion-language. También verifica licencias de fuentes (solo OFL, Apache o MIT) y bloquea fuentes de Adobe o Google Fonts de pago. Tras emitir los archivos, ejecuta lint sobre el .design.md, copia el .design.md a la ubicación de runtime, actualiza los índices de TypeScript y regenera la proyección legible de 9 secciones combinando datos de ambos archivos fuente. Siempre crea un Pull Request con auto-merge:false para que un humano revise los matices de la voz de marca antes de fusionar.

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

Preguntar en tu IA favorita

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

Documentación

remotion-brand-codify

Convierte el resultado de una investigación en código tipificado que toda composición puede leer.

Disparadores

  • Después de que remotion-brand-research escriba un dossier en .research/.
  • El usuario pega colores de marca, tipografías y notas de tono y dice "codifica la marca {marca}".

Entradas

  • .research/brand-{slug}-{fecha}.json (preferido) o el dossier en markdown.
  • Synthex/packages/brand-config/src/brands/{slug}.ts existente, si está presente (para diff).

Método

  1. Validar que el dossier cubra cada campo requerido de BrandConfig (ver Synthex/packages/brand-config/src/types.ts). Campos faltantes = bloquear; pedir a remotion-brand-research que los complete.
  2. Aplicar el contrato de límites — los colores hex / escala tipográfica / espaciado / componentes / diseño van a .design.md; voz / locución / movimiento / audiencia / canal / palabras prohibidas / rutas de logo / firma van a .ts. Ver Pi-Dev-Ops/remotion-studio/src/brands/CONTRACT.md.
  3. Para cada color, ejecutar remotion-colour-family si la paleta tiene menos de 5 colores o falla WCAG-AA en texto sobre primario. La habilidad de familia de colores emite un bloque YAML listo para insertar en la sección colors: del .design.md.
  4. Para movimiento, ejecutar remotion-motion-language si el bloque motion está vacío.
  5. Para tipografías, validar licencias: solo familias OFL / Apache / MIT pasan. Bloquear en Adobe Fonts (renderizado del lado del servidor no permitido) y Google Fonts de pago.
  6. Emitir Synthex/packages/brand-config/src/brands/{slug}.ts conteniendo solo campos de runtime (según CONTRACT.md). Usar Synthex/packages/brand-config/src/brands/ra.ts como ejemplo canónico. Ejecutar npm run build desde Synthex/packages/brand-config/ después para regenerar dist/.
  7. Emitir Synthex/packages/brand-config/src/brands/{slug}.design.md conteniendo solo tokens visuales en formato @google/design.md conforme al estándar. Usar cualquier *.design.md existente (ej. ra.design.md) como ejemplo canónico.
  8. Hacer lint del design.md — ejecutar npx --prefix Pi-Dev-Ops/remotion-studio design.md lint Synthex/packages/brand-config/src/brands/{slug}.design.md. Bloquear en errores. Las advertencias son orientativas — corregir advertencias de token-no-referenciado solo cuando el token no usado no tenga intención semántica.
  9. Reflejar a la ubicación de runtime — cp Synthex/packages/brand-config/src/brands/{slug}.design.md Pi-Dev-Ops/packages/brand-config/src/brands/{slug}.design.md. El cargador de runtime (loadDesign(slug)) lee desde la copia local de Pi-Dev-Ops a través del enlace de espacio de trabajo en remotion-studio.
  10. Actualizar Synthex/packages/brand-config/src/brands/index.ts si el slug es nuevo (también extender la unión BrandSlug en types.ts).
  11. Regenerar la proyección legible de 9 secciones en Pi-Dev-Ops/remotion-studio/src/brands/{slug}.md leyendo TANTO del .ts como del .design.md. Las secciones 2 (Paleta de colores), 3 (Tipografía), 4 (Componentes), 5 (Diseño) se obtienen del .design.md; las secciones 1, 6, 7, 8, 9 se obtienen del .ts más prosa de apoyo.

Salida

Tres archivos editados por marca:

  1. Synthex/packages/brand-config/src/brands/{slug}.ts — BrandConfig tipificado (runtime + comportamiento, fuente de verdad según RA-1985).
  2. Synthex/packages/brand-config/src/brands/{slug}.design.md — tokens visuales (fuente de verdad, @google/design.md conforme al estándar).
  3. Pi-Dev-Ops/remotion-studio/src/brands/{slug}.md — proyección legible de 9 secciones (regenerada desde AMBAS; nunca editar a mano).

Además, el espejo de runtime en Pi-Dev-Ops/packages/brand-config/src/brands/{slug}.design.md (una copia de #2 — se mantiene sincronizada hasta que la consolidación de brand-config elimine la copia local).

La proyección .md de 9 secciones es una proyección del .ts + .design.md, no una fuente paralela. Regenerarla cada vez que alguna fuente cambie; nunca editar a mano. El orden de las secciones es fijo:

  1. Tema Visual y Ambiente (desde .ts voz + prosa de audiencia)
  2. Paleta de Colores y Roles (tabla que refleja colors: del .design.md, más fila de variante oscura si está definida)
  3. Reglas Tipográficas (desde typography: del .design.md + familia/peso de BrandTypography para traza de licencia)
  4. Estilos de Componentes (desde components: del .design.md)
  5. Principios de Diseño (desde spacing.outer-margin-* del .design.md + BrandLogo.safeAreaPx)
  6. Profundidad y Elevación (desde la prosa de Elevación del .design.md)
  7. Qué Hacer y Qué No Hacer (concatenar doNot del .ts + voice.forbiddenWords + sección de Hacer/No Hacer del .design.md)
  8. Comportamiento Adaptable (relaciones de aspecto desde .ts, escala tipográfica por relación desde .design.md)
  9. Guía de Prompt para el Agente (un ejemplo literal que invoca tokens {colors.*} y motion.signature)

Además, un PR (o diff local) que resuma:

  • Ruta del dossier fuente
  • Campos completados vs. dejados para revisión del fundador
  • Estado del lint (errores / advertencias de design.md lint, licencia de tipografía, contraste)
  • Los tres archivos emitidos (.ts + .design.md + proyección .md) — bloquear si falta algún artefacto

Límites

  • Siempre establecer auto-merge:false en el PR — los matices de la voz de marca deben ser revisados por un humano.
  • Nunca sobrescribir un archivo existente en silencio; producir un diff lado a lado.
  • Nunca inventar fuentes o colores — los valores provienen del dossier de investigación o se establecen por defecto en neutrales con comentarios // TODO: revisión del fundador.
  • Nunca duplicar un token entre .ts y .design.md. Si colour.primary vive en .design.md, el .ts no debe redeclararlo. El CONTRACT.md es el árbitro.
  • Nunca editar la proyección .md a mano — regenerar a partir de las fuentes.

Reutilizado

Utilidades reutilizadas

  • Synthex/packages/brand-config/src/types.ts — esquema fuente de verdad (según RA-1985)
  • remotion-studio/src/colour/index.ts — contrast() para verificaciones WCAG
  • remotion-studio/src/design-systems/_library/ — 138 archivos DESIGN.md de referencia proveídos (open-design, Apache-2.0). Citar como máximo uno como ancla de escuela visual en la proyección .md; nunca copiar textualmente
  • Proyección de referencia: remotion-studio/src/brands/ra.md es el ejemplo canónico a reflejar

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

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

Generates a complete, accessible palette (primary, secondary, accent, 4-step neutral, semantic, and dark variant) from one to three hex anchors plus a colour-family classification. Validates WCAG-AA contrast for all text-on-background pairs. Triggered when a BrandConfig has fewer than 5 defined colours or contrast fails.

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