AgentSkillsCN

LearnFromVideo

从YouTube编程视频及其GitHub仓库中提取洞察与模式。当您需要分析视频、从视频中学习、提炼经验教训、获取视频洞见、关注IndyDevDan或智能工程师相关视频时,可使用此功能。

SKILL.md
--- frontmatter
name: LearnFromVideo
description: Extract insights and patterns from YouTube coding videos and their GitHub repos. USE WHEN analyze video OR learn from video OR extract lessons OR video insights OR IndyDevDan OR agentic engineer video.

LearnFromVideo

Extract actionable insights, patterns, and improvement ideas from YouTube coding tutorial videos — optionally cross-referenced with the video's companion GitHub repository.

Workflow Routing

WorkflowTriggerFile
Analyze"analyze video", "learn from", "extract insights", URL providedWorkflows/Analyze.md

Tools Used

  • yt-transcript — YouTube transcript download (installed globally)
  • yt-dlp — Video metadata and description extraction (installed via homebrew)
  • git clone --depth 1 — Shallow clone of companion repos

Examples

Example 1: Full analysis with GitHub repo

code
User: "/LearnFromVideo https://www.youtube.com/watch?v=4_2j5wgt_ds"
-> Downloads transcript via yt-transcript
-> Extracts metadata + description via yt-dlp
-> Finds GitHub repo link in description
-> Clones repo, analyzes structure and key files
-> Cross-references transcript context with code patterns
-> Generates Markdown report with insights and improvement ideas

Example 2: Video without GitHub repo

code
User: "Learn from this video: https://youtu.be/abc123"
-> Downloads transcript and metadata
-> No GitHub link found in description
-> Analyzes transcript only for patterns and concepts
-> Generates report based on verbal explanations

Example 3: Focused analysis

code
User: "Analyze this video, focus on the hook patterns: https://..."
-> Full analysis pipeline
-> Report emphasizes the specific topic requested
-> Improvement ideas filtered to the focus area