AlexAnsart/demo-studio / skills/demo-setup
demo-setup
VerifiedOne-time setup that analyzes the current project and configures it to use the film-demo / narrate / sync-narration / produce-video skills — detects the dev server and framework, asks only when necessary, generates demo.config.json and .env entries, vendors the recording engine and project helpers, and scaffolds a first demo from reference patterns. Use when the user asks to set up, configure, or install demo-studio / video-recording skills for this project, or before running produce-video for the first time in a new codebase.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.2 KB |
| examples/assistant-panel/script.md | markdown | 1.3 KB |
| examples/create-item/script.md | markdown | 729 B |
| examples/search-flow/script.md | markdown | 1.2 KB |
| references/agent-integration.md | markdown | 2.2 KB |
| references/beat-plan.md | markdown | 1.4 KB |
| references/narrated-compose.md | markdown | 1.2 KB |
| references/script-format.md | markdown | 1.4 KB |
| references/when-to-ask.md | markdown | 2.0 KB |
| scripts/check-setup.mjs | script | 1.5 KB |
| templates/auth.mjs | script | 2.0 KB |
| templates/paths.mjs | script | 882 B |
| templates/run.mjs | script | 4.6 KB |
templates/paths.mjs
View on GitHub/** Render folder numbering + run log — copy to demos/_lib/ during demo-setup. */
import { mkdirSync, appendFileSync, readdirSync } from 'fs'
import { join } from 'path'
export function nextRenderDir(demoDir) {
const renders = join(demoDir, 'renders')
mkdirSync(renders, { recursive: true })
const n =
readdirSync(renders)
.filter((d) => /^\d+$/.test(d))
.map(Number)
.reduce((a, b) => Math.max(a, b), 0) + 1
const dir = join(renders, String(n).padStart(3, '0'))
mkdirSync(dir, { recursive: true })
return { dir, n }
}
export function initRunLog(renderDir) {
appendFileSync(join(renderDir, 'run.log'), `[${new Date().toISOString()}] start\n`)
}
export function logRun(msg, renderDir) {
const line = `[${new Date().toISOString()}] ${msg}\n`
if (renderDir) appendFileSync(join(renderDir, 'run.log'), line)
console.log(`[demo] ${msg}`)
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| 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: 472k | Updated | Claude CodeCodex | Verified | Install |
| 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: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| 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 available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |