Communitygithub.com

CleanExpo/Pi-Dev-Ops

Converte um dossiê de BrandResearch em TRÊS artefatos — (1) BrandConfig TypeScript tipado em Synthex/packages/brand-config/src/brands/{slug}.ts (runtime/comportamento — voz, voz-over, movimento, público, canal, palavras-proibidas); (2) {slug}.design.md conforme especificação em Synthex/packages/brand-config/src/brands/{slug}.design.md (tokens visuais — cor, tipografia, espaçamento, componentes, layout, elevação); (3) projeção .md legível de 9 seções em Pi-Dev-Ops/remotion-studio/src/brands/{slug}.md derivada de AMBOS. Contrato de fronteira em Pi-Dev-Ops/remotion-studio/src/brands/CONTRACT.md. Acionado após remotion-brand-research, ou quando o usuário cola ativos de marca e diz "codify". PRs são auto-merge:false — um humano revisa antes do merge.

O que é Pi-Dev-Ops?

Esta skill transforma a saída de uma pesquisa de marca (dossiê) em código tipado e documentos de design que toda composição do Remotion pode consumir. Ela é acionada automaticamente após a skill `remotion-brand-research` ou quando o usuário fornece ativos de marca manualmente. A skill gera três artefatos principais: um arquivo TypeScript com a configuração de runtime/comportamento da marca, um arquivo de design markdown com tokens visuais (cores, tipografia, espaçamento, etc.) no formato `@google/design.md`, e uma projeção markdown legível de 9 seções que consolida as informações de ambos. Durante o processo, a skill valida o dossiê contra o esquema `BrandConfig`, aplica o contrato de fronteira que define onde cada token pertence, executa verificações de contraste WCAG-AA, expande paletas de cores com poucas cores usando a skill `remotion-colour-family`, preenche blocos de movimento vazios com `remotion-motion-language`, e valida licenças de fontes (apenas OFL, Apache ou MIT). A saída inclui um pull request (ou diff local) com `auto-merge:false`, exigindo revisão humana para nuances de voz da marca. A skill também mantém um espelho do arquivo de design no local de runtime e atualiza os arquivos de índice e tipos conforme necessário. É projetada para desenvolvedores que trabalham com Remotion e precisam de um pipeline robusto e reprodutível para codificar diretrizes de marca.

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

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

remotion-brand-codify

Transforma a saída da pesquisa em código tipado que toda composição lê.

Gatilhos

  • Após remotion-brand-research escrever um dossiê em .research/.
  • O usuário cola cores, fontes e notas de tom da marca e diz "codifique a marca {slug}".

Entradas

  • .research/brand-{slug}-{date}.json (preferido) ou o dossiê markdown
  • Synthex/packages/brand-config/src/brands/{slug}.ts existente, se presente (para diff)

Método

  1. Validar que o dossiê cobre todos os campos obrigatórios de BrandConfig (veja Synthex/packages/brand-config/src/types.ts). Campos faltantes = bloqueio; peça ao remotion-brand-research para preencher.
  2. Aplicar o contrato de fronteira — hexadecimais de cor / escala tipográfica / espaçamento / componentes / layout vão para .design.md; voz / voz-over / movimento / público / canal / palavras-proibidas / caminhos de logo / assinatura vão para .ts. Veja Pi-Dev-Ops/remotion-studio/src/brands/CONTRACT.md.
  3. Para cada cor, executar remotion-colour-family se a paleta tiver menos de 5 cores ou falhar WCAG-AA em "text on primary". A skill colour-family emite um bloco YAML pronto para ser inserido na seção colors: do .design.md.
  4. Para movimento, executar remotion-motion-language se o bloco motion estiver vazio.
  5. Para fontes, validar licenciamento: apenas famílias OFL / Apache / MIT são aprovadas. Bloquear Adobe Fonts (renderização no servidor proibida) e fontes pagas do Google Fonts.
  6. Emitir Synthex/packages/brand-config/src/brands/{slug}.ts contendo apenas campos de runtime (conforme CONTRACT.md). Usar Synthex/packages/brand-config/src/brands/ra.ts como exemplo canônico. Executar npm run build em Synthex/packages/brand-config/ depois para regenerar dist/.
  7. Emitir Synthex/packages/brand-config/src/brands/{slug}.design.md contendo apenas tokens visuais no formato @google/design.md conforme especificação. Usar qualquer *.design.md existente (ex.: ra.design.md) como exemplo canônico.
  8. Executar lint no design.md — rodar npx --prefix Pi-Dev-Ops/remotion-studio design.md lint Synthex/packages/brand-config/src/brands/{slug}.design.md. Bloquear em erros. Avisos são consultivos — corrija avisos de token não referenciado apenas quando o token não utilizado não tiver intenção semântica.
  9. Espelhar para o local de runtime — cp Synthex/packages/brand-config/src/brands/{slug}.design.md Pi-Dev-Ops/packages/brand-config/src/brands/{slug}.design.md. O carregador de runtime (loadDesign(slug)) lê da cópia local do Pi-Dev-Ops através do link de workspace no remotion-studio.
  10. Atualizar Synthex/packages/brand-config/src/brands/index.ts se o slug for novo (também estender a união BrandSlug em types.ts).
  11. Regenerar a projeção legível de 9 seções em Pi-Dev-Ops/remotion-studio/src/brands/{slug}.md lendo de AMBOS .ts e .design.md. Seções 2 (Paleta de Cores), 3 (Tipografia), 4 (Componentes), 5 (Layout) puxam de .design.md; seções 1, 6, 7, 8, 9 puxam de .ts + prosa de apoio.

Saída

Três arquivos editados por marca:

  1. Synthex/packages/brand-config/src/brands/{slug}.ts — BrandConfig tipado (runtime + comportamento, fonte da verdade conforme RA-1985).
  2. Synthex/packages/brand-config/src/brands/{slug}.design.md — tokens visuais (fonte da verdade, @google/design.md conforme especificação).
  3. Pi-Dev-Ops/remotion-studio/src/brands/{slug}.md — projeção legível de 9 seções (regenerada de AMBOS; nunca editar manualmente).

Mais o espelho de runtime em Pi-Dev-Ops/packages/brand-config/src/brands/{slug}.design.md (uma cópia do #2 — mantida em sincronia até a consolidação do brand-config remover a cópia local).

A projeção .md de 9 seções é uma projeção do .ts + .design.md, não uma fonte paralela. Regere-a sempre que qualquer uma das fontes mudar; nunca edite manualmente. A ordem das seções é fixa:

  1. Tema Visual & Atmosfera (da prosa de voz + público do .ts)
  2. Paleta de Cores & Papéis (tabela espelhando colors: do .design.md, mais linha de variante escura se definida)
  3. Regras Tipográficas (de typography: do .design.md + família/peso de BrandTypography para rastreio de licença)
  4. Estilizações de Componentes (de components: do .design.md)
  5. Princípios de Layout (de spacing.outer-margin-* do .design.md + BrandLogo.safeAreaPx)
  6. Profundidade & Elevação (da prosa de Elevação do .design.md)
  7. O Que Fazer e O Que Não Fazer (concatenar doNot do .ts + voice.forbiddenWords + seção Do's/Don'ts do .design.md)
  8. Comportamento Responsivo (proporções de aspecto do .ts, escala tipográfica por proporção do .design.md)
  9. Guia de Prompt do Agente (um exemplo literal invocando tokens {colors.*} e motion.signature)

Mais um PR (ou diff local) resumindo:

  • Caminho do dossiê fonte
  • Campos preenchidos vs deixados para revisão do fundador
  • Status do lint (erros/avisos do design.md lint, licença de fonte, contraste)
  • Todos os três arquivos emitidos (.ts + .design.md + projeção .md) — bloquear em artefato faltante

Fronteiras

  • Sempre definir PR auto-merge:false — a nuance da voz da marca deve ser revisada por um humano.
  • Nunca sobrescrever um arquivo existente silenciosamente; produzir um diff lado a lado.
  • Nunca inventar fontes ou cores — valores vêm do dossiê de pesquisa ou padrão para fallbacks neutros com comentários // TODO: revisão do fundador.
  • Nunca duplicar um token entre .ts e .design.md. Se colour.primary vive no .design.md, o .ts não deve redeclarar. O CONTRACT.md é o árbitro.
  • Nunca editar a projeção .md manualmente — regerar das fontes.

Reutilizados

Utilitários reutilizados

  • Synthex/packages/brand-config/src/types.ts — esquema fonte da verdade (conforme RA-1985)
  • remotion-studio/src/colour/index.ts — contrast() para verificações WCAG
  • remotion-studio/src/design-systems/_library/ — 138 arquivos DESIGN.md de referência licenciados (open-design, Apache-2.0). Citar no máximo um como âncora de escola visual na projeção .md; nunca copiar literalmente
  • Projeção de referência: remotion-studio/src/brands/ra.md é o exemplo canônico a espelhar

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.

Habilidades Relacionadas