Agent Skills › nomadoor/ComfyUI-Video-Stabilizer

nomadoor/ComfyUI-Video-Stabilizer

GitHub

用于起草面向公众的文案,包括公告、文章、市场宣传语、Hugging Face/ModelScope说明及英文回复。确保技术声明与README一致,区分自定义节点与下游模型,避免虚假承诺,保持英文表达自然简洁。

8 skills 83

Install All Skills

npx skills add nomadoor/ComfyUI-Video-Stabilizer --all -g -y
More Options

List skills in collection

npx skills add nomadoor/ComfyUI-Video-Stabilizer --list

Skills in Collection (8)

用于起草面向公众的文案,包括公告、文章、市场宣传语、Hugging Face/ModelScope说明及英文回复。确保技术声明与README一致,区分自定义节点与下游模型,避免虚假承诺,保持英文表达自然简洁。
撰写公开公告或文章 编写市场宣传文案 创建Hugging Face或ModelScope说明文档 使用英文回复外部咨询
.claude/skills/article-or-announcement/SKILL.md
npx skills add nomadoor/ComfyUI-Video-Stabilizer --skill article-or-announcement -g -y
SKILL.md
Frontmatter
{
    "name": "article-or-announcement",
    "description": "Use when drafting public announcements, articles, marketplace copy, Hugging Face\/ModelScope notes, or English replies."
}

Article Or Announcement

Use this skill for outward-facing writing that is not core README maintenance.

Rules

  • Keep technical claims aligned with the current README and implementation.
  • Avoid promising model hosting, weights, or platform support that this repo does not provide.
  • For English replies, keep wording natural and concise; do not over-explain the internal development process.
  • For Hugging Face / ModelScope / article drafts, distinguish this custom node from downstream models such as Wan/VACE.

Source Material

  • README.md
  • README_ja.md
  • docs/adr/
  • example_workflows/
用于修改 ComfyUI 节点类、架构、输入输出及注册逻辑。需遵循兼容性规则,保持节点ID和元数据稳定,确保代码可测试性,并通过验证脚本和工作流测试确认变更正确性。
修改 nodes/ 目录下的节点实现 更新 __init__.py 中的节点注册信息 调整节点输入输出架构或元数据
.claude/skills/comfyui-node-change/SKILL.md
npx skills add nomadoor/ComfyUI-Video-Stabilizer --skill comfyui-node-change -g -y
SKILL.md
Frontmatter
{
    "name": "comfyui-node-change",
    "description": "Use when changing ComfyUI node classes, schemas, inputs, outputs, metadata, or registration."
}

ComfyUI Node Change

Use this skill for changes under nodes/ or __init__.py that affect node behavior or ComfyUI schema.

Read First

  • AGENTS.md
  • Relevant docs/requirements/*.md
  • Relevant docs/adr/*.md
  • Existing Classic and Flow implementations if the change touches shared behavior

Rules

  • Preserve graph compatibility unless the user explicitly approves a break.
  • Keep node_id, socket names, socket order, defaults, categories, and metadata stable when possible.
  • Prefer shared helpers only when both Classic and Flow genuinely use the same behavior.
  • Keep ComfyUI imports at the node boundary where possible. Pure math and parsing helpers should remain testable without a ComfyUI runtime.
  • Validate inputs early and return clear errors or safe fallback output.

Checks

Run:

python3 scripts/validate_repo.py

When a ComfyUI environment is available, also load the node in ComfyUI and exercise at least one small workflow.

用于排查 ComfyUI/OpenCV/Kornia 依赖冲突、导入失败及环境漂移。检查 pyproject.toml、节点导入及 OpenCV 模块差异,验证环境一致性。
OpenCV/Kornia 导入失败 依赖版本冲突或环境漂移 检查 pyproject.toml 元数据 调试 ComfyUI 自定义节点依赖
.claude/skills/dependency-audit/SKILL.md
npx skills add nomadoor/ComfyUI-Video-Stabilizer --skill dependency-audit -g -y
SKILL.md
Frontmatter
{
    "name": "dependency-audit",
    "description": "Use when checking OpenCV\/Kornia\/ComfyUI dependencies, import failures, pyproject metadata, or environment-specific behavior."
}

Dependency Audit

Use this skill when investigating runtime dependencies or environment drift.

Focus Areas

  • Direct imports in nodes/ and __init__.py.
  • Declared dependencies in pyproject.toml.
  • What ComfyUI itself installs versus what this package must declare.
  • Difference between standard OpenCV and contrib OpenCV.
  • Shared venv accidents: a package may import locally because another custom node installed it, not because this repo declared it.

OpenCV Notes

  • cv2.DISOpticalFlow may exist in standard OpenCV builds.
  • cv2.optflow is part of OpenCV contrib/extra modules in common Python wheels.
  • TV-L1 fallback should not assume cv2.optflow exists.

Useful Commands

python3 -m pip show opencv-python opencv-python-headless opencv-contrib-python opencv-contrib-python-headless kornia
python3 -c "import cv2; print(cv2.__version__, cv2.__file__, hasattr(cv2, 'DISOpticalFlow'), hasattr(cv2, 'optflow'))"
python3 scripts/validate_repo.py
当代码行为、依赖、工作流或发布元数据发生变更时,用于同步更新 README、需求文档、ADR 及 pyproject.toml,确保文档与实现一致并符合规范。
README 内容变更 需求文档更新 架构决策记录(ADR)新增或修改 pyproject.toml 版本或依赖调整
.claude/skills/docs-sync/SKILL.md
npx skills add nomadoor/ComfyUI-Video-Stabilizer --skill docs-sync -g -y
SKILL.md
Frontmatter
{
    "name": "docs-sync",
    "description": "Use when changing README, README_ja, requirements, ADRs, or user-facing behavior."
}

Docs Sync

Use this skill when behavior, schema, dependencies, workflow samples, or release metadata changes.

What To Sync

  • README.md and README_ja.md should describe the same public behavior.
  • docs/requirements/ should state the intended behavior and acceptance criteria.
  • docs/adr/ should record significant design decisions, especially compatibility or fallback changes.
  • pyproject.toml version/dependencies should match release and runtime behavior.

Rules

  • Keep README concise and user-facing.
  • Put implementation rationale in ADRs, not the README.
  • Do not document fallback behavior that the code does not actually implement.
  • Keep local workflow links valid.

Checks

python3 scripts/validate_repo.py
在提交、推送或创建PR前,检查文件状态、暂存范围及验证结果,确保无遗漏文件和元数据错误。
准备提交代码时 准备推送到远程仓库时 准备打开Pull Request时
.claude/skills/pr-readiness-check/SKILL.md
npx skills add nomadoor/ComfyUI-Video-Stabilizer --skill pr-readiness-check -g -y
SKILL.md
Frontmatter
{
    "name": "pr-readiness-check",
    "description": "Use before committing, pushing, or opening a PR to catch missing files, mixed staging, validation gaps, and PR metadata mistakes."
}

PR Readiness Check

Use this skill right before commit/push/PR creation, especially after adding new files, validation scripts, nodes, docs, or workflows.

Checklist

  1. Inspect branch and file state:
git status -sb
git diff --stat
git diff --cached --stat
git ls-files --others --exclude-standard
  1. Verify new files are intentionally included.
  • If code imports a new module, confirm the module is tracked or staged.
  • If validation references a new script, confirm the script is tracked or staged.
  • Do not rely on git diff alone; it does not show untracked files.
  1. Check staged scope before commit.
git diff --cached --name-only
  • Stage explicit paths when the worktree is mixed.
  • Do not use broad staging if unrelated user changes are present.
  1. Run validation in the environment that has runtime dependencies.
python3 scripts/validate_repo.py
python3 -m compileall nodes scripts

If plain python3 lacks declared runtime dependencies such as OpenCV, also run the checks with the available ComfyUI venv and report the environment difference.

  1. Before opening a PR:
  • Confirm the PR title has no [codex], [claude], or similar tool label.
  • Link related issues without closing them unless the user explicitly asks: use Related: #N, not Fixes #N / Closes #N.
  • Confirm the pushed branch contains the latest local commit.

When Reporting

Mention:

  • branch and latest commit
  • whether untracked files remain
  • validation commands and results
  • any skipped review finding and why
在版本升级、发布PR或标签创建前执行,检查pyproject.toml版本、依赖项、文档及工作流配置,运行验证脚本并确保PR标题规范。
版本升级 Comfy Registry发布 创建发布PR 打标签
.claude/skills/release-check/SKILL.md
npx skills add nomadoor/ComfyUI-Video-Stabilizer --skill release-check -g -y
SKILL.md
Frontmatter
{
    "name": "release-check",
    "description": "Use before version bumps, Comfy Registry publishing, release PRs, tags, or public release notes."
}

Release Check

Use this skill before release-oriented work.

Checklist

  • Confirm pyproject.toml version.
  • Confirm runtime dependencies are declared.
  • Confirm README / README_ja reflect current behavior.
  • Confirm example_workflows/*.json parse and reference current node ids.
  • Confirm .github/workflows/publish_action.yml still publishes only intended changes.
  • Run python3 scripts/validate_repo.py.
  • If creating a PR, do not prefix the title with [codex], [claude], or any other tool label.

Notes

This repo currently publishes to Comfy Registry when pyproject.toml changes on main, or via manual workflow dispatch.

用于处理视频稳定化后端变更的技能,涉及运动估计、光流算法及降级策略。确保在OpenCV环境缺失时安全回退,保持CPU兼容性与结果确定性,并验证依赖可用性。
修改经典或Flow运动估计算法 调整OpenCV后端选择 配置稳定化数学逻辑或降级行为
.claude/skills/stabilizer-backend-change/SKILL.md
npx skills add nomadoor/ComfyUI-Video-Stabilizer --skill stabilizer-backend-change -g -y
SKILL.md
Frontmatter
{
    "name": "stabilizer-backend-change",
    "description": "Use when changing Classic\/Flow motion estimation, OpenCV backend selection, fallback behavior, or stabilization math."
}

Stabilizer Backend Change

Use this skill for work on feature tracking, dense optical flow, DIS/TV-L1, transform fitting, smoothing, crop handling, or fallback behavior.

Context

  • Classic estimates sparse feature motion with OpenCV GFTT/LK.
  • Flow normally uses OpenCV DIS optical flow.
  • cv2.optflow is not available in standard OpenCV wheels; TV-L1 requires contrib OpenCV or an equivalent available API.
  • Existing sample workflows use the Flow node.

Rules

  • Do not assume cv2 or cv2.optflow exists unless declared and checked.
  • If a stronger backend is unavailable, prefer safe fallback: perspective -> similarity -> translation -> identity.
  • Keep fallback metadata auditable (flow_backend, applied transform mode, confidence/residual data where available).
  • Preserve deterministic behavior for identical frames and inputs.
  • Avoid GPU-only dependencies; this node is CPU-oriented.

Useful Checks

python3 scripts/validate_repo.py
python3 -c "import cv2; print(cv2.__version__, hasattr(cv2, 'DISOpticalFlow'), hasattr(cv2, 'optflow'))"

If using a ComfyUI venv, run the cv2 check inside that venv too.

用于编辑example_workflows JSON文件或修改影响示例工作流的节点架构。确保JSON有效、保留VACE/外绘意图、引用正确节点ID,并同步更新README链接。
编辑 example_workflows/*.json 文件 修改影响示例工作流的节点 schema 更改示例文件名需更新 README 链接
.claude/skills/workflow-update/SKILL.md
npx skills add nomadoor/ComfyUI-Video-Stabilizer --skill workflow-update -g -y
SKILL.md
Frontmatter
{
    "name": "workflow-update",
    "description": "Use when editing example_workflows JSON files or changing node schema in ways that affect sample workflows."
}

Workflow Update

Use this skill for example_workflows/*.json and README workflow links.

Rules

  • Keep workflow JSON valid and formatted as ComfyUI can load it.
  • Preserve sample intent: VACE/outpainting examples should demonstrate using padding_mask from the stabilizer.
  • Check that workflows reference current node ids: video_stabilizer_classic and/or video_stabilizer_flow.
  • Avoid embedding local machine paths unless they are already part of the sample and the user intentionally wants them preserved.
  • Update README and README_ja links when sample filenames change.

Checks

python3 scripts/check_workflows.py
python3 scripts/validate_repo.py

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-09 00:02
浙ICP备14020137号-1 $Carte des visiteurs$