anbeime/skill / skills/native-subtitle-quote-image/native-subtitle-quote-image
native-subtitle-quote-image
Verified将本地视频或用户有权处理的在线视频,经过来源获取、文字稿定位、选题选句、精确取帧、紧凑裁切、拼图和逐张质检,制作成 3:4 或保留画面原比例的视频字幕长图。支持两种明确分开的输出:保留画面内已烧录字幕的原生字幕模式,以及把已审核的时间点与台词绘制到真实视频帧上的脚本字幕模式。用户要求原生字幕截图、字幕帧拼图、YouTube 金句长图、台词截图、不重绘字幕、自定义中文台词,或调整主图比例、字幕区域、台词间隔和美感时使用。
CLAUDE.md
View on GitHub# CLAUDE.md
本仓库是 Agent Skill「原生字幕拼图」:把视频真实帧做成保留原字幕(原生模式)或绘制已审核台词(脚本模式)的长图。
## 目录
- `skills/native-subtitle-quote-image/`:Skill 本体,发布时打包的就是这个目录。
- `SKILL.md`:Agent 使用说明;`references/`:详细流程文档。
- `scripts/native_subtitle_stitch.py`:渲染 CLI(`sample` / `render` / `render-script`)。
- `scripts/check_environment.py`、`scripts/check_update.py`:环境与版本检查。
- `VERSION`:Skill 版本。
- `scripts/validate_repo.py`:打包不变量检查;`scripts/bump_version.py`:发版改版本号。
- `tests/`:`unittest` 测试。
- `README.md` / `README_EN.md` / `README_KO.md`:三语 README,内容需保持同步。
- `.github/`:CI 与 Agent 工作流,见 `docs/agent-workflow.md`。
## 不可违背的原则
- 原生字幕模式只裁切画面里已有的字幕,不 OCR、不重绘、不翻译、不覆盖。
- 脚本字幕模式必须明确标注为后期绘制,不得冒充原字幕或人物逐字引语。
- 不帮助绕过 DRM 或平台访问控制。
## 开发约定
- Python 3.10+,依赖见 `skills/native-subtitle-quote-image/requirements.txt`。
- 提交前必须通过:
```bash
python scripts/validate_repo.py
python -m unittest discover -s tests
```
- 行为改动配测试;用户可见变化同步 `SKILL.md` 与三语 README。
- 版本号只在发版时由 `scripts/bump_version.py` 修改,功能 PR 不要动。
- 提交信息使用 `fix:` / `feat:` / `docs:` / `test:` / `ci:` 前缀,简体中文描述。
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |