본문으로 건너뛰기
cccskills
무료GitHub에 공개

video-sync

Match videos from 王二讲Agent to their scripts, then add Bilibili links and Douyin video IDs to the designated documentation files. Identify missing entries while preserving existing links and IDs.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

把「王二讲Agent」的 B 站视频链接同步到 docs/src/ai/video/readme.md,把抖音视频 ID 同步到 docs/src/.vuepress/agentInterview.ts 的 douyinVideoIds 映射表(页面会渲染成播放器)。

当用户说 B 站更新了、抖音更新了、同步视频链接、把视频地址放进脚本、更新 readme 视频时使用。

설치 방법 보기

이럴 때 유용합니다

  • Add newly published Bilibili videos to the documentation
  • Register Douyin video IDs for embedded players
  • Check which scripts still lack video references
  • Identify videos without matching scripts

포함된 파일(3)

  • SKILL.md3.3 KB
  • scripts/douyin_extract.js715 B
  • scripts/video_sync.py6.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

视频链接同步

两个频道

落点约定

  • B 站链接只写进 docs/src/ai/video/readme.md,追加在题目的「完整答案」那一行末尾,格式 · [B站视频](https://www.bilibili.com/video/BVxxxx/)。
  • 抖音视频不写进 md。写进 docs/src/.vuepress/agentInterview.ts 的 douyinVideoIds 映射表,一行 "脚本名": "视频ID",,由 agentInterviewPlugin 渲染成页面里的抖音播放器(线上效果见 https://javabetter.cn/ai/video/what-is-agent.html )。
  • 映射表的键必须先在同文件的 agentInterviewMeta 里有 meta 条目、在 agentInterviewGroups 里有分组,否则插件不渲染。新脚本要先手工补这两处,meta 的标题和摘要照脚本内容写,不编数据。
  • 已有链接和已有 ID 一律不动。

流程

  1. 拉 B 站列表:python3 .claude/skills/video-sync/scripts/video_sync.py bili。接口无需登录,NEW 标记的就是 readme 还没引用的视频。
  2. 拉抖音列表:抖音必须登录,curl 和内置浏览器拿不到数据。用 Claude in Chrome 打开抖音主页,关掉登录弹窗,滚到底部出现「暂时没有更多了」,再用 javascript_tool 执行 scripts/douyin_extract.js,分段取回「视频ID|标题」。
  3. 看缺口:python3 .claude/skills/video-sync/scripts/video_sync.py status,输出 readme 里缺 B 站链接的题目和映射表里缺抖音 ID 的脚本,缺 meta 的会单独标出来。
  4. 人工配对:按视频标题和简介对到脚本文件名,写成两个 TSV 映射文件,每行 脚本名<TAB>BV号 或 脚本名<TAB>抖音视频ID。只配缺口里的条目。
  5. 写入:python3 .claude/skills/video-sync/scripts/video_sync.py apply --bili B站映射.tsv --douyin 抖音映射.tsv。脚本幂等,重复跑不会重复追加;缺 meta 的脚本会被跳过并提示。
  6. 同步 GitHub 首页:readme 有改动时运行 node docs/src/ai/scripts/gen-readme.mjs,更新 ai-better 仓库 README 的统计表和题目目录,和 readme 一起在 ai-better 提交。
  7. 汇报三类剩余:readme 有题但两边都没视频的、视频有但没脚本的、两边有视频但 readme 没题的。这三类由用户决定要不要补。

禁令

  • 同一题在某平台有多条视频(例如早期重录版)时,取标题和脚本最贴合的那条,其余在汇报里说明,不写入。
  • 标题拿不准对应哪个脚本时不要猜,列出来问用户。
  • 不给 readme 加抖音链接,不往口播稿 md 里写任何视频链接,除非用户明确要求。
  • 抓取抖音一律走 Claude in Chrome,不用内置浏览器,不用 WebFetch。Chrome DevTools MCP 可能被别的实例占用,不要为此杀进程。

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Write AI tool reviews, setup tutorials, interview preparation articles, and technical explanations, or update existing articles against current source code. The workflow covers research, outline approval, prose checks, and source documentation.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Write a setup tutorial for an AI tool
  • Update an article against current source code
  • Prepare technical interview explanations
itwanger/toBeBetterJavaer1.8만2026년 10월 18일 업데이트

Automate browser tasks such as reading JavaScript-rendered pages, filling forms, clicking through workflows, and taking screenshots. Maintain login sessions, manage separate browsers, and capture network responses, with approval checks for sensitive actions.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Extracting content from pages that use JavaScript
  • Automating form entry and page navigation
  • Checking page appearance with screenshots
itwanger/toBeBetterJavaer1.8만2026년 10월 18일 업데이트

Turn narration scripts into animated explainer videos using Remotion and 火山 TTS, a text-to-speech service. Prepare scripts, synchronize visuals with narration, preview each chapter, correct pronunciations, and export a verified MP4 with voice audio.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Turn a narration script into an animated explainer video
  • Synchronize subtitles and visuals with narration
  • Preview and refine a video chapter by chapter
itwanger/toBeBetterJavaer1.8만2026년 10월 18일 업데이트

Create a coordinated set of video covers in 3:4, 16:9, and 4:3 formats from AI or Java scripts. Choose illustrations featuring a consistent presenter character or text-only layouts with white titles and yellow keywords.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Creating matching vertical and horizontal video covers
  • Making text-only covers with white and yellow lettering
  • Keeping the same presenter character across covers
itwanger/toBeBetterJavaer1.8만2026년 10월 18일 업데이트

Write or refine Chinese spoken video scripts about AI technology, interview questions, and current topics. New scripts follow research and outline approval, while revisions provide specific wording changes and reasons for the edits.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Writing a spoken script explaining AI technology
  • Turning technical interview questions into video scripts
  • Preparing a script about a current AI topic
itwanger/toBeBetterJavaer1.8만2026년 10월 18일 업데이트

Search Zhihu, a Chinese knowledge-sharing platform, for answers, articles, people, and topics. Filter by content type and creation date, sort results, and collect structured records containing excerpts, authors, votes, and links across multiple pages.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Finding Zhihu answers and articles on a topic
  • Comparing highly upvoted answers
  • Collecting recently created content
itwanger/toBeBetterJavaer1.8만2026년 10월 18일 업데이트

itwanger의 스킬 모두 보기

이 스킬의 문제 신고