Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计异常

demodemo 文档

Agent Skill

demo 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

259

周安装

11

GitHub Stars

公开资料未说明

下载量

91
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:demo(demo 文档)
来源仓库:https://github.com/jaobrown/demo-changes
仓库路径:skills/demo
安装命令:
npx skills add https://github.com/jaobrown/demo-changes --skill demo
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/jaobrown/demo-changes --skill demo

简介

demo 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 它提供 PR 变更演示视频生成功能,支持屏幕录制和 AI 旁白,适用于代码变更展示和团队协作沟通场景。
  • 使用方式包括检查前提条件、生成测试脚本和合成带旁白的演示视频,直观展示修改内容。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写等操作。
  • demo 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

/demo - PR Demo Video Generator

Generate screen recordings with AI narration to demonstrate your PR changes.

How to Execute /demo

Follow these steps in order. You (Claude) generate the test and narration directly - no templates needed.

Step 1: Check Prerequisites

npx tsx lib/cli.ts check-prereqs

Returns JSON with status for:

  • devServer: Whether the dev server is responding
  • ffmpeg: Whether ffmpeg is installed (needed for video composition)
  • elevenLabsKey: Whether ELEVEN_LABS_API_KEY is set (optional, for narration)

If devServer is false, ask the user to start their dev server first.

Step 2: Analyze the Diff

npx tsx lib/cli.ts analyze-diff --staged

Or for specific commits:

npx tsx lib/cli.ts analyze-diff --commits=HEAD~3..HEAD

Returns JSON with:

  • uiRelevant: Whether changes affect UI
  • suggestedRoute: Route to navigate to
  • changedComponents: Component names that changed
  • suggestedActions: What to demonstrate

If uiRelevant is false, inform the user and stop.

Step 3: Discover Playwright Setup (For Monorepos)

For monorepos or projects with non-root Playwright configs:

Glob("**/playwright.config.ts")

Note the paths for Step 5.

Step 4: Generate Playwright Test (YOU WRITE THIS)

Based on the analysis, write a Playwright test that demonstrates the UI changes.

Use vanilla Playwright only - import from @playwright/test, not custom fixtures.

Save to temp/demo-recording.spec.ts:

import { test } from "@playwright/test";

test("demo: updated modal copy", async ({ page }) => {
  await page.goto("http://localhost:3000/home");
  await page.waitForLoadState("networkidle");
  await page.waitForTimeout(1500);

  await page.click('[data-testid="add-repo-button"]');
  await page.waitForTimeout(800);

  await page.waitForSelector('[role="dialog"]');
  await page.waitForTimeout(3000); // Let viewers see the changes
});

Guidelines:

  • Navigate to the affected route
  • Include realistic timing with page.waitForTimeout() (1-3 seconds between actions)
  • Use robust selectors: data-testid > ARIA roles > text content

Step 5: Generate Narration Script (YOU WRITE THIS)

Write natural narration as a JSON array. Save to temp/narration-script.json:

[
  { "text": "This pull request updates the copy in our add repository modal.", "startTimeMs": 0 },
  { "text": "Let me show you - I'll click the add button here.", "startTimeMs": 2500 },
  { "text": "And here's the modal with our updated messaging.", "startTimeMs": 5500 }
]

Guidelines:

  • Brief intro explaining the PR changes
  • Commentary synced to test actions
  • Conversational tone
  • ~150 words per minute for timing

Step 6: Run the Recording

npx tsx lib/cli.ts cleanup
npx tsx lib/cli.ts record temp/demo-recording.spec.ts

For monorepos, pass discovered config:

npx tsx lib/cli.ts record temp/demo-recording.spec.ts --config=apps/web/playwright.config.ts --test-dir=apps/web/tests

Look for videoPath in the JSON output under --- RESULT ---.

Step 7: Generate Narration Audio (Optional)

If ELEVEN_LABS_API_KEY is set:

npx tsx lib/cli.ts narrate temp/narration-script.json

Look for audioPath in the JSON output.

Step 8: Composite Final Video

npx tsx lib/cli.ts composite <video-path> [audio-path]

Example:

npx tsx lib/cli.ts composite temp/test-results/video.webm temp/narration.mp3

Or without audio:

npx tsx lib/cli.ts composite temp/test-results/video.webm

Look for outputPath - this is the final MP4 in output/.


Configuration

Edit config.json in the skill directory:

{
  "baseUrl": "http://localhost:3000",
  "voiceId": "21m00Tcm4TlvDq8ikWAM",
  "videoDimensions": { "width": 1280, "height": 720 },
  "outputDir": "output",
  "tempDir": "temp",
  "recordingTimeout": 60000
}

ElevenLabs Voice IDs

  • 21m00Tcm4TlvDq8ikWAM - Rachel (default, conversational)
  • EXAVITQu4vr4xnSDxMaL - Bella (warm, friendly)
  • ErXwobaYiN019PkySvjV - Antoni (professional)

Troubleshooting

"Dev server not responding"

Start your dev server: pnpm dev or npm run dev

"ffmpeg not found"

  • macOS: brew install ffmpeg
  • Linux: sudo apt install ffmpeg
  • Windows: choco install ffmpeg

"ElevenLabs API error"

Check your API key: echo $ELEVEN_LABS_API_KEY Video will work without it (just no narration).

Video file not found

Check temp/playwright-output.log for errors.


MCP Server (Advanced)

For tighter Claude integration, an MCP server is available with typed tools:

pnpm run mcp-server

Tools: demo_check_prerequisites, demo_analyze_changes, demo_discover_test_environment, demo_save_test_file, demo_save_narration_script, demo_record_video, demo_generate_audio, demo_composite_final_video, demo_cleanup

Configure in your MCP settings to use these instead of CLI commands.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

71.14%
按下载量换算65

安全审计

Gen Agent Trust Hub

未通过

Socket

未通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills