Skip to content

lookbkdev/lookbk-skills / skills/signal-glitch-hero

signal-glitch-hero

Verified

Build a website hero where your own photograph and headline arrive through a corrupted broadcast signal that locks on - vertical hold, horizontal sync and colour burst lock in turn while a stream joined without a key frame smears its macroblocks until a refresh sweeps the frame clean - then holds a sharp, readable frame for about 70% of a 12-second loop; the pointer is interference that drags blocks and tears lines. Your photo, colours, fonts and copy; lockup or editorial layout; dark or light pages with on-brand failure colours. Raw WebGL1, no libraries. One self-contained HTML page plus a paste-in embed on the Motion Heroes kit v2, checked at four widths, a title-safe grade that guarantees the headline's contrast over the photo, a still picture for reduced motion and failures, and a frame-exact looping 1080p MP4. Use for a film, TV, streaming or radio brand, a festival, an audio or camera product, a launch or any brand whose photo deserves an entrance.

scripts/screenshot.mjs

View on GitHub
#!/usr/bin/env node
// Full-page screenshots of the built page at desktop and phone width, to
// look over before handing off:
//
//   node scripts/screenshot.mjs out/index.html [--scale=1]
//
// Writes out/screens/desktop.png (1440 wide) and out/screens/mobile.png
// (390 wide). Set CHROME_PATH if Chrome isn't found.
import { existsSync, mkdirSync } from 'node:fs'
import { dirname, join, relative, resolve } from 'node:path'
import { pathToFileURL } from 'node:url'
import { chrome, findChrome, inFrame } from './chrome.mjs'

const SIZES = { desktop: 1440, mobile: 390 }

const args = process.argv.slice(2)
const input = resolve(args.find((a) => !a.startsWith('--')) || 'out/index.html')
const scale = Number(
  args.find((a) => a.startsWith('--scale='))?.split('=')[1] ?? 1,
)
if (!existsSync(input)) {
  console.error(`screenshot: ${input} not found; build the page first`)
  process.exit(1)
}
const bin = findChrome()
if (!bin) {
  console.error(
    'screenshot: no Chrome, Chromium or Edge found; set CHROME_PATH',
  )
  process.exit(1)
}

// Chrome's command line only shoots the window, so first measure how tall
// the page is at each width, then shoot a window that tall.
const widths = Object.values(SIZES)
const heights = inFrame(
  bin,
  input,
  widths,
  () => document.documentElement.scrollHeight,
)
const dir = join(dirname(input), 'screens')
mkdirSync(dir, { recursive: true })
for (const [i, [name, w]] of Object.entries(SIZES).entries()) {
  const height = Math.min(heights[i] ?? 900, 16000)
  const file = join(dir, `${name}.png`)
  chrome(bin, pathToFileURL(input).href, [
    `--window-size=${w},${height}`,
    `--force-device-scale-factor=${scale}`,
    `--screenshot=${file}`,
  ])
  const shown = relative(process.cwd(), file)
  console.log(`  ${shown.startsWith('..') ? file : shown}  ${w}×${height}`)
}
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
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: 196kUpdated Claude CodeCodexVerifiedInstall