一键导入
demo-optimize
Optimize an existing demo-machine spec for better quality, pacing, and narration. Use when a demo works but needs polish.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Optimize an existing demo-machine spec for better quality, pacing, and narration. Use when a demo works but needs polish.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate a polished product demo video from a YAML spec using demo-machine. Use when the user wants to create, run, or update a demo video for their app.
Generate a complete demo-machine YAML spec by crawling a live web app. Give it a URL and description, get a ready-to-run spec.
Automatically fix a broken demo-machine spec by analyzing failure artifacts (screenshots, DOM, error logs). Use when a demo fails after a UI change.
Generate compelling AI narration for every step in a demo-machine spec. Use when a spec has no narration or needs better narration text.
AI quality review of a completed demo run. Analyzes event log, timing, and narration to flag issues and suggest improvements.
Convert an existing Playwright or Cypress E2E test file into a demo-machine YAML spec. Reuses test coverage as demo scripts.
| name | demo-optimize |
| description | Optimize an existing demo-machine spec for better quality, pacing, and narration. Use when a demo works but needs polish. |
| argument-hint | ["spec-file"] |
| allowed-tools | Read, Write, Edit, Glob, Grep, Bash(node *), Bash(pnpm *) |
Review and improve an existing demo-machine spec for production quality.
$ARGUMENTS should be a path to an existing .demo.yaml file.data-testid > id > role > class:nth-child(3) or deeply nested pathsgetByRole, getByText, getByTestId locator strategies where possiblecursorDurationMs is 400-800ms (smooth but not sluggish)typeDelayMs of 40-60ms feels naturalwait steps (500-1500ms) after animations, modals, or page transitionsdelay on steps where the default feels too fast or slowscreenshot steps at key moments for thumbnailshover before click on important elements to draw attentionassert steps to verify expected state (keeps demo reliable)node dist/cli.js validate <spec>Arguments: $ARGUMENTS