跳到正文
cccskills
免费在 GitHub 公开

erode-video

Generate product pitch videos for the Erode project from screenshots. Use this skill whenever the user wants to create, update, or regenerate the product demo video, landing page animation, or pitch clip for erode.dev or the GitHub repo. Also trigger when the user mentions "product video", "demo video", "pitch video", "update the video", "regenerate video", or "landing page animation" in the context of Erode.

中文简介正在准备中。当前显示原文说明。

集成工具GitHub
查看安装方法

包含的文件(9)

  • SKILL.md4.7 KB
  • screenshots/01_pr_opened.png331.1 KB
  • screenshots/02_drift_detected.png363.3 KB
  • screenshots/03_model_updated.png315.9 KB
  • screenshots/mocks/01_pr_opened.html15.1 KB
  • screenshots/mocks/02_drift_detected.html19.0 KB
  • screenshots/mocks/03_model_updated.html15.7 KB
  • screenshots/video_config.json1.2 KB
  • scripts/generate_video.py19.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Erode Video Generator

Generates an MP4 video and an optimized GIF from a folder of screenshots. The video includes animated text overlays, Ken Burns zoom effects, smooth transitions, step indicators, and an intro/outro with Erode branding. The GIF is half-resolution (960px wide) at 12 fps for README embeds and social previews.

Quick Start

pip install pillow
python scripts/generate_video.py --input-dir ./screenshots

Dependencies

  • Python 3.8+
  • Pillow (pip install pillow)
  • FFmpeg (must be on PATH)
  • Poppins font family (falls back to DejaVu Sans Bold if unavailable)

Input Directory Structure

screenshots/
├── video_config.json     # Slide order, titles, subtitles, timing
├── 01_pr_opened.png      # Screenshots named however you like
├── 02_drift_detected.png
└── 04_model_update.png

Filenames don't matter for ordering — that comes from video_config.json.

Configuration

Create a video_config.json in your screenshots folder. Here's the full schema with defaults:

{
  "intro": {
    "title": "erode",
    "tagline": "See the architectural diff, not just the code diff",
    "duration_sec": 2.5
  },
  "slides": [
    {
      "image": "01_pr_opened.png",
      "title": "A developer opens a pull request",
      "subtitle": "Erode filters the diff and starts its analysis pipeline",
      "accent": "#FF6B35",
      "duration_sec": 4.0
    }
  ],
  "outro": {
    "headline": "Shared understanding that keeps pace with the code.",
    "url": "erode.dev",
    "tags": "Open source • Architecture as Code • LikeC4 • Structurizr",
    "duration_sec": 3.0
  },
  "settings": {
    "width": 1920,
    "height": 1080,
    "fps": 30,
    "transition_sec": 0.6,
    "crf": 23
  }
}

Each slide has:

  • image — filename relative to the input directory
  • title — bold heading shown above the screenshot
  • subtitle — smaller text below the title
  • accent — hex color for the step label, underline bar, and step dot
  • duration_sec — how long the slide stays on screen

CLI Arguments

ArgumentDefaultDescription
--input-dir./screenshotsFolder containing screenshots + config
--outputpackages/web/public/videos/erode_pitch.mp4Output MP4 video path (directory auto-created)
--output-gifsame as --output with .gif extensionOutput GIF path
--configvideo_config.jsonConfig filename inside input-dir
--widthfrom config or 1920Video width
--heightfrom config or 1080Video height
--fpsfrom config or 30Frames per second
--crffrom config or 23FFmpeg quality (lower = better, 18-28 range)

Screenshot Editing Tips

Before generating, crop/trim screenshots for a cleaner result:

  • Crop browser chrome — remove URL bar, tabs, window decorations
  • Focus on the key area — just the PR comment, terminal output, or diff
  • Consistent sizes — the script handles mixed sizes, but similar ratios look best
  • Resolution — aim for 1400px+ wide for crisp 1080p output

Quick crops with ImageMagick:

# Remove 100px from top (browser chrome)
convert input.png -gravity North -chop 0x100 cropped.png

# Resize to max 1800px wide
convert input.png -resize 1800x resized.png

Updating the Video

When screenshots change:

  1. Replace the screenshot files
  2. Update video_config.json titles/subtitles if needed
  3. Re-run the script

Same inputs always produce the same output — fully deterministic and CI-friendly.

GitHub Actions Example

- name: Generate demo video
  run: |
    pip install pillow
    python .claude/skills/erode-video/scripts/generate_video.py \
      --input-dir .claude/skills/erode-video/screenshots

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

adr

免费

Create and manage Architecture Decision Records (ADRs). Use when making architectural changes (refactoring, API versioning, new domain layers, schema changes), when reviewing recent commits for documentation needs, or when the user mentions ADR, architecture decisions, or documenting technical decisions.

中文简介正在准备中。当前显示原文说明。

erode-app/erode542026年10月15日 更新

doc-sync

免费

Detect documentation and architecture-model drift by comparing source-of-truth code (CLI commands, flags, env vars, GH Action inputs/outputs, package structure, pipeline stages, providers, adapters, platforms) against web docs, README, and LikeC4 architecture model (.c4 files). Use when files that define the user-facing interface or internal structure change, when the user asks to check docs, or when mentioning doc drift, architecture drift, stale docs, or documentation sync.

中文简介正在准备中。当前显示原文说明。

erode-app/erode542026年10月15日 更新

Enforce the project's documentation voice when writing or reviewing public-facing content. Triggers on edits to doc files (packages/web/src/content/docs/**/*.md) and README.md. Catches LLM prose patterns, marketing language, and messaging drift.

中文简介正在准备中。当前显示原文说明。

erode-app/erode542026年10月15日 更新

Use this skill whenever code changes introduce new imports, API calls, database connections, message queues, or service-to-service communication. Also use before any commit or push. Catches undeclared dependencies and architecture violations using Erode.

中文简介正在准备中。当前显示原文说明。

erode-app/erode542026年10月15日 更新

Conventional commits with project conventions. Use when the user asks to commit, make a commit, or wants to follow the project's git commit standard.

中文简介正在准备中。当前显示原文说明。

erode-app/erode542026年10月15日 更新

Sync the local LikeC4 syntax guide with the upstream LikeC4 skills repository (github.com/likec4/likec4/tree/main/skills/likec4-dsl). Use when the user asks to update, sync, or check the LikeC4 syntax guide, when upstream LikeC4 DSL changes are suspected, or when mentioning likec4 syntax sync, DSL drift, or syntax guide update.

中文简介正在准备中。当前显示原文说明。

erode-app/erode542026年10月15日 更新

查看 erode-app 的全部技能

报告此技能的问题