Skip to content
Back to skills

Plans

ASecurity

> Objective: Tích hợp hoàn chỉnh bộ skill `video-demo` (từ repo https://github.com/nilbuild/video-demo của Kamran Ahmed) vào Supergraph, biến Supergraph thành nền tảng tự động quay video demo web app có thuyết minh giọng nói (voice-over local với Kokoro TTS), zoom camera mượt mà, chuyển động chuột tự nhiên, và chụp ảnh Retina screenshots cho landing page / tài liệu tiếp thị. ---

  • 23 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 9, 2026
ai-agentsnodegitdocumentation

Works with

  • cli

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned November 9, 2026

npx -y skills add datit309/supergraph --skill plans --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Plans?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Plans
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/datit309-plans-3019c7dc/badge)](https://www.skillsdirectory.com/skills/datit309-plans-3019c7dc)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Plan: Tích hợp bộ skill video-demo vào Supergraph

> Objective: Tích hợp hoàn chỉnh bộ skill `video-demo` (từ repo https://github.com/nilbuild/video-demo của Kamran Ahmed) vào Supergraph, biến Supergraph thành nền tảng tự động quay video demo web app có thuyết minh giọng nói (voice-over local với Kokoro TTS), zoom camera mượt mà, chuyển động chuột tự nhiên, và chụp ảnh Retina screenshots cho landing page / tài liệu tiếp thị.

---

## 1. Kiến trúc & Hợp đồng (Architecture & Contracts)

### Vị trí lưu trữ trong Supergraph
- Skill folder: `plugins/supergraph/skills/video-demo/`
  - `SKILL.md`: Đặc tả skill chuẩn Supergraph (hỗ trợ `/supergraph:video-demo` trên Claude/Codex và `/video-demo` trên DSH).
  - `engine/`: Bộ engine chạy Playwright headless, render video 1080p60 bằng ffmpeg (VideoToolbox trên macOS, libx264 trên Linux), voice synthesizer (`voice.ts`), camera coordinator (`stage.ts`), zoom/spotlight actor (`actor.ts`), video stitcher (`stitch.ts`).
  - `scripts/`:
    - `scripts/demo`: Executable script khởi chạy engine.
    - `scripts/doctor.sh`: Kiểm tra môi trường (Node >= 22.18, ffmpeg, nice, playwright chromium, uv, Kokoro model).
    - `scripts/install.sh`: Cài đặt engine runtime và Playwright Chromium.
    - `scripts/install-voice.sh`: Tải và cài đặt Kokoro ONNX model voice local (~350MB).
    - `scripts/scaffold.mjs`: Khởi tạo workspace quay demo độc lập cho web app mà không chạm vào source code gốc của app.
    - `scripts/say.sh`, `scripts/gaps.mjs`, `scripts/probe-fps.mjs`.
  - `references/`: Toàn bộ 7 tài liệu tham chiếu (`capture.md`, `config.md`, `mocking.md`, `narration.md`, `runs.md`, `scenes.md`, `troubleshooting.md`).
  - `template/`: Template cấu hình và code kịch bản quay demo (`demo.config.ts`, `mock.ts`, `ui.ts`, `scenes/`).
  - `package.json`: Khai báo exports cho `./define`, `./ready`, `./scene`, `./actor`, `./config`.

### CLI & Binary Integration
- Root `package.json` & `plugins/supergraph/package.json`:
  - Thêm `bin`: `"sg-video-demo": "./plugins/supergraph/skills/video-demo/scripts/demo"` (hoặc `"./skills/video-demo/scripts/demo"`).

### DSH & Ecosystem Integration
- Symlink vào `~/.dsh/skills/video-demo` để DSH phát hiện tức thì.
- Cập nhật tài liệu: `AGENTS.md`, `CLAUDE.md`, `README.md`, `README-VI.md`, `DSH.md`, `docs/EXAMPLES.md`, `docs/EXAMPLES-VI.md`, `plugins/supergraph/SKILL.md`.

---

## 2. Các Task Thực Thi (Wave DAG)

### Wave 1: TDD Contract Test
- **Task ID**: `task-1-video-demo-contract-test`
- **File**: `plugins/supergraph/tests/test-video-demo-skill.mjs`
- **Criteria**: Kiểm tra file `SKILL.md` tồn tại, đúng frontmatter, scripts có quyền thực thi (`chmod +x`), engine và templates đầy đủ, bin được khai báo trong package.json.

### Wave 2: Copy & Hoàn Thiện Bộ Skill video-demo
- **Task ID**: `task-2-integrate-video-demo-files`
- **File**: `plugins/supergraph/skills/video-demo/*`
- **Criteria**: Sao chép toàn bộ source từ `/tmp/video-demo`, chuẩn hóa `SKILL.md` theo format Supergraph, bảo toàn 100% logic engine và template.

### Wave 3: Khai Báo Binary & Symlink DSH
- **Task ID**: `task-3-cli-bin-and-dsh-symlink`
- **Files**: `package.json`, `plugins/supergraph/package.json`, `~/.dsh/skills/video-demo`
- **Criteria**: Thêm binary `sg-video-demo`, tạo symlink trong `~/.dsh/skills/`, chạy `npm test`.

### Wave 4: Cập Nhật Tài Liệu Toàn Diện
- **Task ID**: `task-4-update-documentation`
- **Files**: `AGENTS.md`, `CLAUDE.md`, `README.md`, `README-VI.md`, `DSH.md`, `docs/EXAMPLES.md`, `plugins/supergraph/SKILL.md`
- **Criteria**: Bổ sung bảng skills, mô tả công dụng, cách sử dụng lệnh và ví dụ thực tế.

### Wave 5: Kiểm Thử & Nghiệm Thu
- **Task ID**: `task-5-verify-and-doctor`
- **Criteria**: Chạy `npm test` (toàn bộ 37+ tests pass), chạy `doctor.sh`, cập nhật plugin trong profile web DSH.

Files in this skill

  • 2026-06-10-serena-integration.md13.7 KB
  • 2026-07-05-multi-platform-support.md12.8 KB
  • 2026-07-06-codex-marketplace-install.md6.3 KB
  • 2026-07-06-opencode-support.md5.7 KB
  • 2026-07-10-codebase-memory-migration.md47.5 KB
  • 2026-07-11-fix-windows-hook-bash-resolution.md3.6 KB
  • 2026-07-11-refresh-plugin-documentation.md3.8 KB
  • 2026-07-12-codex-hook-contract-audit.md9.1 KB
  • 2026-07-12-codex-marketplace-name.md2.7 KB
  • 2026-07-12-user-prompt-submit-json.md3.1 KB
  • 2026-07-13-one-command-plugin-installer.md11.3 KB
  • 2026-07-13-platform-update-notification.md6.9 KB
  • 2026-08-26-review-speed.md6.6 KB
  • 2026-08-26-subagent-trim.md6.8 KB
  • 2026-08-26-token-trim-safe.md10.4 KB
  • 2026-08-27-caveman-always-on.md3.3 KB
  • 2026-08-27-perf-skills.md12.2 KB
  • 2026-09-04-sdd-skill.md6.5 KB
  • 2026-09-04-wave-parallelism.md4.8 KB
  • 2026-09-16-codebase-memory-0-10-8-compatibility.md12.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.