Diogenesoftoronto/keating / video/keating-surface-tour/.agents/skills/product-launch-video
product-launch-video
VerifiedTurn a product or marketing URL, pasted script, or brief into a product launch / promo video — SaaS promos, feature reveals, product demos, app and company launches. Use when the user wants to market, launch, promote, or reveal a product; the default for any commercial URL. Site tours / showcases of a website route here too — the brief carries the show-it-as-is intent. Unclear → /hyperframes.
scripts/lib/tokens.test.mjs
View on GitHubimport assert from "node:assert/strict";
import { readFileSync } from "node:fs";
import { dirname, join } from "node:path";
import test from "node:test";
import { fileURLToPath } from "node:url";
import { brandRolesFromStats, ICON_FONT_PATTERN, isIconFont } from "./tokens.mjs";
import { brandRolesFromStats as facelessBrandRolesFromStats } from "../../../faceless-explainer/scripts/lib/tokens.mjs";
import { brandRolesFromStats as prBrandRolesFromStats } from "../../../pr-to-video/scripts/lib/tokens.mjs";
const scriptsDir = join(dirname(fileURLToPath(import.meta.url)), "..", "..", "..");
test("recognizes brand-specific icon font names", () => {
assert.equal(isIconFont("vidaXLfont"), true);
assert.equal(isIconFont("BrandGlyphFont"), true);
assert.equal(isIconFont("Poppins"), false);
assert.equal(isIconFont("HelveticaFont"), false);
assert.equal(isIconFont("Airbnb Cereal Font"), false);
assert.equal(isIconFont("SF Pro Text Font"), false);
assert.equal(isIconFont("Uber Move Font"), false);
assert.equal(isIconFont("Circular Std font"), false);
assert.equal(isIconFont("brand-font"), false);
});
test("keeps sibling skill icon-font classifiers aligned", () => {
for (const skill of ["faceless-explainer", "pr-to-video"]) {
const source = readFileSync(join(scriptsDir, skill, "scripts", "build-frame.mjs"), "utf8");
assert.match(
source,
new RegExp(String.raw`ICON_FONT_PATTERN\s*=\s*${escapeRegExp(ICON_FONT_PATTERN)}`),
);
}
});
function escapeRegExp(value) {
return String(value).replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
}
test("preserves a prominent second accent used outside interactive backgrounds", () => {
const colors = ["#FFFFFF", "#2D1238", "#F3E62B", "#111111"];
const stats = [
{ hex: "#FFFFFF", areaBg: 1000, maxArea: 1000 },
{ hex: "#2D1238", textCount: 4, interactiveBg: 3 },
{ hex: "#F3E62B", textCount: 3, interactiveBg: 0 },
{ hex: "#111111", textCount: 20 },
];
assert.deepEqual(brandRolesFromStats(stats, colors), {
canvas: "#FFFFFF",
ink: "#111111",
accent: "#F3E62B",
accent2: "#2D1238",
});
for (const sibling of [facelessBrandRolesFromStats, prBrandRolesFromStats]) {
assert.deepEqual(sibling(stats, colors), brandRolesFromStats(stats, colors));
}
});
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |