Skip to content

lookbkdev/lookbk-skills / skills/pixel-quest-promo

pixel-quest-promo

Verified

Make a 20-second 1080p retro 8-bit promo video (MP4) for a product, app, game or side project - a title screen with a blinking "PRESS START", three short platformer stages where a pixel hero collects coins and knocks a power-up out of a block (one stage per feature, with its name and a line of text), a running score and coin counter, and an ending with the headline and link. Everything lands on a 120 BPM beat grid, and the skill writes a cue sheet for adding chiptune music. Use when someone wants a pixel-art, 8-bit, retro game or arcade-style promo, launch teaser or feature reel.

scripts/cues.mjs

View on GitHub
#!/usr/bin/env node
// Writes the film's beat map as a cue sheet, for whoever scores it or cuts
// it to a track: every beat of the 120 BPM grid, and every on-screen hit
// (cuts, jumps, coin pickups, the block, fireworks) on the beat it lands on.
//
//   node scripts/cues.mjs <project-dir> [-o cues.csv]
//
// Columns: time_s, bar, beat, event, detail. Bars and beats count from 1.
import { writeFileSync } from 'node:fs'
import { loadProject } from './load-project.mjs'

const args = process.argv.slice(2)
const oi = args.indexOf('-o')
const out = oi >= 0 ? args[oi + 1] : null
const dir = args.find((a, i) => !a.startsWith('-') && !(oi >= 0 && i === oi + 1))
let project
try {
  project = loadProject(dir)
} catch (e) {
  console.error(`cues: ${e.message}`)
  process.exit(1)
}
const { values: v, Q } = project
const B = Q.BEAT
const rows = []
const add = (t, event, detail = '') => rows.push({ t, event, detail })

for (let b = 0; b < Q.DURATION / B; b++)
  add(b * B, b % 4 === 0 ? 'downbeat' : 'beat')

const names = { title: 'title screen', l1: 'stage 1', l2: 'stage 2', l3: 'stage 3', end: 'ending' }
Q.SCENES.forEach((s, i) => {
  add(s.start, 'scene', names[s.id])
  if (i) add(s.start - 0.25, 'wipe', `pixel wipe into ${names[s.id]} (closes 0.25 s before, opens 0.25 s after)`)
})
add(0, "prompt", `"${v.cta}" blinks on every beat`)
add(6 * B, 'prompt', `"${v.cta}" pressed: fast blink`)
for (let n = 1; n <= 3; n++) {
  const L0 = Q.SCENES[n].start
  const L = Q.LEVEL
  add(L0 + L.banner * B, 'banner', `STAGE ${n} · ${v[`level${n}Name`]}`)
  if (v[`level${n}Text`])
    add(L0 + L.type * B, 'dialog', `types "${v[`level${n}Text`]}" over ${L.typeBeats} beats`)
  L.coins.forEach((c, k) => add(L0 + c * B, 'coin', `pickup ${k + 1} of 3, +100`))
  add(L0 + L.jump * B, 'jump', 'hero takes off')
  add(L0 + L.hit * B, 'block', `hits the ? block: ${v[`level${n}Item`]} power-up, +1000`)
  add(L0 + L.stop * B, 'stop', 'scrolling stops, hero lands')
  add(L0 + 7 * B, 'hop', 'little hop')
}
const E0 = Q.SCENES[4].start
add(E0 + 0.25, 'headline', `"${v.headline}"`)
Q.END.fireworks.forEach((f) => add(E0 + f * B, 'firework', 'burst'))
Q.END.jumps.forEach((j) => add(E0 + j * B, 'jump', 'hero jumps'))

rows.sort((a, b) => a.t - b.t || (a.event.endsWith('beat') ? -1 : 1))
const esc = (s) => (/[",]/.test(s) ? `"${s.replace(/"/g, '""')}"` : s)
const lines = ['time_s,bar,beat,event,detail']
for (const r of rows) {
  const beatNo = Math.floor(r.t / B + 1e-6)
  lines.push(
    [r.t.toFixed(3), Math.floor(beatNo / 4) + 1, (beatNo % 4) + 1, r.event, esc(r.detail)].join(','),
  )
}
const csv = lines.join('\n') + '\n'
if (out) {
  writeFileSync(out, csv)
  console.log(
    `Wrote ${rows.length} cues to ${out}: ${Q.BPM} BPM, 4/4, ${Q.DURATION / B / 4} bars, first downbeat at 0.000 s.`,
  )
} else process.stdout.write(csv)
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall