Communitygithub.com

CleanExpo/Pi-Dev-Ops

Gera uma paleta completa e acessível (primária, secundária, destaque, neutro de 4 etapas, semântica e variante escura) a partir de um a três âncoras hexadecimais, mais uma classificação de família de cores. Valida contraste WCAG-AA para todos os pares texto-sobre-fundo. Acionado quando um BrandConfig tem menos de 5 cores definidas ou o contraste falha.

O que é Pi-Dev-Ops?

Esta skill, CleanExpo/Pi-Dev-Ops, é uma ferramenta especializada para geração de paletas de cores acessíveis e determinísticas, projetada para desenvolvedores e agentes de IA que trabalham com sistemas de design. Ela constrói uma paleta completa (primária, secundária, destaque, neutros de 4 etapas, semântica e variante escura) a partir de apenas 1 a 3 âncoras hexadecimais e uma classificação de família de cores (como 'restoration', 'safety' ou 'industrial'). A skill é acionada automaticamente quando um BrandConfig possui menos de 5 cores definidas ou quando uma validação de contraste falha (WCAG-AA). Seu método inovador combina predefinições de 'escola visual' (como 'modern-minimal' ou 'brutalist-experimental') com heurísticas de família, operando no espaço de cores OKLch para preservar a luminosidade percebida. O resultado é totalmente determinístico: mesmas entradas sempre produzem a mesma saída, evitando variações imprevisíveis. A skill gera dois artefatos principais: um relatório JSON de contraste com coordenadas OKLch e um fragmento YAML pronto para inserção em arquivos de configuração de marca, seguindo a especificação `@google/design.md`. Ela garante que todas as combinações texto-sobre-fundo atendam ao nível AA (ou AAA para estilos brutalistas), bloqueando a geração se houver falha e solicitando intervenção do usuário. Suporta plataformas como Claude Code, Cursor e Codex, integrando-se perfeitamente a fluxos de trabalho de DevOps de design.

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

Perguntar na sua IA favorita

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

Documentação

remotion-colour-family

Constrói uma paleta completa a partir de âncoras mínimas. Reutiliza o helper contrast() de remotion-studio/src/colour/index.ts.

Gatilhos

  • BrandConfig está sem os blocos secondary, accent, neutral ou semantic.
  • Uma renderização falha no contraste: qualquer par texto-sobre-fundo tem razão < 4.5.
  • O usuário diz "estender a paleta para {marca}" ou "auditar cor".

Entradas

  • 1-3 âncoras hexadecimais (primária obrigatória; secundária e destaque opcionais)
  • family: restoration | safety | industrial | consumer | training
  • school (opcional): editorial-monocle | modern-minimal | warm-soft | tech-utility | brutalist-experimental — predefinição de escola visual (linhagem de design aberto). Seleciona o caráter do tipo, viés de contraste e papel do destaque antes que as heurísticas de família sejam executadas. Padrão: modern-minimal.
  • Paleta existente (se estendendo)

Método

  1. Predefinição de escola — aplicar o viés school primeiro. Cada escola restringe a faixa de matiz, faixa de luminosidade, temperatura dos neutros e saturação do destaque:

    EscolaViés de matizViés de luminosidadeNeutrosSaturação do destaqueReferência (fornecido)
    editorial-monocleterra quente (terracota/argila/areia)alta (pergaminho/marfim)apenas cinzas quentes — cada cinza carrega um tom amarelo-marromum destaque cromático, profundamente terroso_library/claude/, _library/monocle/ (se presente)
    modern-minimalneutro frio (ardósia/azul-acinzentado)equilibradacinzas verdadeirosum destaque elétrico, usado <3× por viewport_library/airbnb/, _library/cal/
    warm-softpastéis quentes (pêssego/blush/creme)altacinzas quentes + tons de cremerosa/coral de baixa saturação_library/airtable/, _library/cafe/
    tech-utilityíndigo / ciano / ardósiabaixa (superfícies escuras preferidas)cinzas frios em direção a ardósia-900destaque de sinal ciano, usado apenas em deltas / estado_library/binance/, _library/arc/
    brutalist-experimentalprimária de alto contraste sobre branco puroextremamente alta + extremamente escuraapenas preto/branco purosneon forte, usado agressivamente_library/brutalism/, _library/bold/
  2. Heurísticas de família — aplicadas após a escola. A família fornece os adjacentes canônicos:

    • safety: azul marinho + laranja de emergência + marfim
    • restoration: verde-azulado + ardósia + lima
    • industrial: grafite + aço + âmbar
    • consumer: vermelho/azul herói + branco quente + ardósia
    • training: terracota + creme + tinta
  3. Gerar em OKLch — trabalhar no espaço de cores OKLch, não HSL, para que as rotações de matiz preservem a luminosidade percebida. Converter âncoras hexadecimais para OKLch primeiro; rotacionar matiz em ±30°/±60° enquanto limita a luminosidade à banda da escola. Converter a saída de volta para hexadecimal para armazenamento em BrandConfig. Manter um campo irmão oklch no relatório de contraste para consumidores downstream do Tailwind-4 (Fase 2).

  4. Determinismo — a mesma tríplice (primary, family, school) DEVE produzir a mesma paleta de saída em todas as execuções. Sem aleatoriedade; sem temperatura; sem interpolação LLM. O gerador é uma função pura de suas entradas.

  5. Construir neutros — interpolar entre oklch(99% 0 hue) (50) e oklch(15% 0 hue) (900), inclinando o chroma em direção ao matiz da primária de acordo com o viés da escola (warm-soft puxa os neutros para o quente; tech-utility puxa para o frio).

  6. Construir semânticas — escolher success/warning/danger de um conjunto fixo que não conflita com a primária.

  7. Construir variante escura — inverter os neutros (luminosidade 50 ↔ 900) e deslocar a primária em 8% de luminosidade no espaço OKLch.

  8. Validar — para cada par (primary, neutral.50), (primary, neutral.900), (secondary, neutral.50), (accent, secondary), garantir contraste ≥ 4.5 (WCAG-AA). Se não, regenerar o slot com falha. Brutalist-experimental exige ≥ 7.0 (AAA).

Saída

Dois artefatos:

  1. Relatório JSON de contraste com coordenadas OKLch (para remotion-brand-codify e consumo web da 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 pronto para ser inserido no bloco colors: de Synthex/packages/brand-config/src/brands/{slug}.design.md — os nomes dos tokens seguem a especificação @google/design.md (minúsculas + traços para nomes de níveis, ex.: 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"

Execute npx --prefix Pi-Dev-Ops/remotion-studio design.md lint no .design.md resultante para confirmar zero erros de contraste.

Limites

  • Nunca entregar uma paleta com qualquer falha AA — bloquear e solicitar contribuição do fundador sobre o slot problemático.
  • Nunca sobrescrever um darkVariant explícito definido pela marca.
  • Nunca usar vermelho como primária a menos que family === 'consumer' e o nome da marca ancore explicitamente vermelho.
  • Nunca recorrer a um LLM durante a geração — a função é determinística. Se o determinismo falhar (mesma entrada → saída diferente entre execuções), isso é um bug no gerador, não uma funcionalidade.
  • Nunca misturar duas escolas — escolher uma. Misturar o calor de editorial-monocle com a ardósia de tech-utility produz a paleta turva "padrão de IA" com a qual toda marca começa.

Passar para

remotion-brand-codify escreve o resultado em 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.

Habilidades Relacionadas