porter-remotion-animation
Build Porter Metrics-branded Remotion animations. Use when the user asks to create a video/animation with Remotion for Porter Metrics, or mentions marketing…
от portermetricsample★ 22 звезды на GitHub
Установить porter-remotion-animation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Porter Metrics Remotion Animation
Use this skill whenever you are building a Remotion composition branded for Porter Metrics — typically in projects like ~/Desktop/Porter-MCP/ or any Remotion repo that has public/Background.mp4 and the Porter platform icons in public/.
0. Workflow checklist (follow in order)
- Scout the assets.
ls <project>/public/— confirmBackground.mp4exists and note the exact icon filenames (e.g.Meta Logo Icon.png,Google Ads Icon.png,Shopify Icon.png,HubSpot Icon.png,Claude Icon.png,Chat GPT icon.png,Gemini Icon.png,BigQuery Icon.png, etc.). Filenames often contain spaces — use them as-is instaticFile(). - Install
@remotion/mediaif not yet installed (required for<Video>):npx remotion add @remotion/media. - Design the scenes before writing code. Sketch 2-4 scenes with clear purposes (problem → bridge → solution → outcome works well). Target 12-18 s total at 30 fps, 1920×1080.
- Apply the design tokens from §2 verbatim — do not invent new colors.
- Mount the shared
<Background />(§3) at the root of the composition; every scene sits on top of it. - Build scenes using the patterns in §4.
- Validate with stills — render one frame from each scene with
npx remotion still <CompId> out/frameN.png --frame=N --scale=0.4and read them back. Check alignment and text legibility before declaring done. - Text output must always be in English (Porter's product language).
1. Project conventions
- Composition size: 1920×1080 @ 30 fps.
- File layout: one file
src/Composition.tsx, scene components (Scene1,Scene2, …) inside. Register each top-level composition insrc/Root.tsx. - Export any reusable
Background/ sub-composition so the user can also register it as a standalone composition (e.g. a 7-minute loop of just the background). - Images: always
<Img src={staticFile("Exact File.png")} />. Never<img>or CSSbackground-image. - Video:
import { Video } from "@remotion/media"— never the<OffthreadVideo>from core unless the user asks. Alwaysmuted loopfor the Background.
2. Porter Metrics design tokens
Paste this block at the top of Composition.tsx:
const COLORS = {
bgDeepest: "#020617",
bgDark: "#0f172a",
bgIndigo: "#1e1b4b",
primary: "#7c3aed",
primaryLight: "#8b5cf6",
primaryLighter: "#a78bfa",
primaryMuted: "#c4b5fd",
pink: "#f472b6",
textWhite: "#ffffff",
textLight: "#f1f5f9",
textMuted: "#cbd5e1",
textSubtle: "#94a3b8",
// Pastel card system
mintBg: "#EBFFFC", mintText: "#047857",
yellowBg: "#FFF3D9", yellowText: "#b45309",
greenBg: "#DBFFEA", greenText: "#15803d",
blueBg: "#E7F5FF", blueText: "#1d4ed8",
pinkBg: "#FFECF2", pinkText: "#be185d",
};
const FONT_STACK =
"Gilmer, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif";
Typography rules
- H1 / scene titles:
fontSize: 68-88,fontWeight: 800,letterSpacing: "-0.03em",lineHeight: 1.05-1.1,color: COLORS.textWhite. - Eyebrows (uppercase labels):
fontSize: 22-26,fontWeight: 600,letterSpacing: "0.2em-0.28em",textTransform: "uppercase",color: "#c4b5fd"or"#e9d5ff"— never the brand violet alone, it will wash out on the video. - Body:
fontSize: 20-26,fontWeight: 400-500,color: COLORS.textLightwithmaxWidth: ~720for paragraphs.
Gradient-text rule (critical)
The brand gradient is #a78bfa → #f472b6, but this gradient blends into the Background.mp4 (which is itself violet→pink). Always use the luminous variant for emphasis words:
background: `linear-gradient(to right, #ffffff 0%, ${COLORS.primaryLighter} 70%, ${COLORS.pink} 100%)`,
WebkitBackgroundClip: "text",
WebkitTextFillColor: "transparent",
backgroundClip: "text",
filter: "drop-shadow(0 2px 16px rgba(124, 58, 237, 0.45))",
And on the parent H1, add:
filter: "drop-shadow(0 4px 28px rgba(2, 6, 23, 0.65))",
Text legibility on Background.mp4
Every text element that sits on the video needs a shadow:
- White/light text:
textShadow: "0 2px 16px rgba(2, 6, 23, 0.7)" - Eyebrow / muted text: same, possibly with
0.65opacity. - Gradient text: use
filter: drop-shadow(...)(text-shadow doesn't work withWebkitTextFillColor: transparent).
3. Background component (copy verbatim)
import { AbsoluteFill, staticFile } from "remotion";
import { Video } from "@remotion/media";
export const Background: React.FC = () => {
return (
<AbsoluteFill style={{ background: COLORS.bgDeepest }}>
<Video
src={staticFile("Background.mp4")}
muted
loop
style={{ width: "100%", height: "100%", objectFit: "cover" }}
/>
{/* Legibility vignette — darken edges, slight center dim */}
<AbsoluteFill
style={{
background:
"radial-gradient(ellipse at center, rgba(2, 6, 23, 0.15) 0%, rgba(2, 6, 23, 0.55)
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл porter-remotion-animation?
Build Porter Metrics-branded Remotion animations. Use when the user asks to create a video/animation with Remotion for Porter Metrics, or mentions marketing platform icons (Meta Ads, Google Ads, Shopify, HubSpot, Claude, ChatGPT, Gemini, BigQuery, etc.) in a Remotion project. Applies the Porter design system (violet primary, pink accent, dark background) and enforces legibility patterns over the brand video background.
Как установить скилл porter-remotion-animation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл porter-remotion-animation запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…