cc-dev-template 0.1.49 → 0.1.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-dev-template",
3
- "version": "0.1.49",
3
+ "version": "0.1.50",
4
4
  "description": "Structured AI-assisted development framework for Claude Code",
5
5
  "bin": {
6
6
  "cc-dev-template": "./bin/install.js"
@@ -0,0 +1,11 @@
1
+ ---
2
+ name: youtube-to-notes
3
+ description: This skill should be used when the user asks to "transcribe this YouTube video", "turn this video into notes", "get me notes from this YouTube talk", "summarize this YouTube video", "convert this video to markdown", or says "youtube to notes". Activate when the user wants to download, transcribe, and summarize a YouTube video into structured Markdown documents.
4
+ argument-hint: "[url or search query]"
5
+ ---
6
+
7
+ # YouTube to Notes
8
+
9
+ ## What To Do Now
10
+
11
+ Read `references/step-1-setup.md`.
@@ -0,0 +1,15 @@
1
+ # Setup
2
+
3
+ Verify `yt-dlp` and `whisper` are installed.
4
+
5
+ If either is missing, tell the user the exact install command (`brew install yt-dlp` or `brew install openai-whisper`) and stop.
6
+
7
+ ## Resolve the Video
8
+
9
+ The user provides either a YouTube URL or a search query via `$ARGUMENTS`.
10
+
11
+ **If it's a URL:** Store it and move on.
12
+
13
+ **If it's a search query:** Use yt-dlp to search YouTube for the top 5 results. Display each result's title, channel, duration, and URL. Ask the user to pick one.
14
+
15
+ Read `references/step-2-download-transcribe.md` when a video URL is confirmed.
@@ -0,0 +1,13 @@
1
+ # Download and Transcribe
2
+
3
+ ## Download Audio
4
+
5
+ Use yt-dlp to extract audio as high-quality MP3 from the selected URL. Use the video title as the output filename.
6
+
7
+ ## Transcribe
8
+
9
+ Run Whisper on the MP3 file using the `base` model. Output format: plain text, current directory.
10
+
11
+ If the user requested higher accuracy, use `small` or `medium` instead — warn that these are significantly slower.
12
+
13
+ Read `references/step-3-create-documents.md` when the `.txt` transcript file exists.
@@ -0,0 +1,31 @@
1
+ # Create Documents
2
+
3
+ Read the raw `.txt` transcript from Whisper. Create two Markdown files in the current directory.
4
+
5
+ ## Transcript: `<video-title>-transcript.md`
6
+
7
+ | Element | Instructions |
8
+ |---------|-------------|
9
+ | **YAML frontmatter** | `title`, `channel`, `url`, `date` (today), `duration` |
10
+ | **Section headers** (`##`) | Insert where the topic shifts |
11
+ | **Paragraphs** | Break at natural pause points into short, readable paragraphs |
12
+ | **Speaker labels** | Label speakers in conversations when confident from context. Omit when unsure. |
13
+ | **Code blocks** | Wrap any code mentioned in the video |
14
+ | **Blockquotes** | Use for notable quotes |
15
+
16
+ ## Summary: `<video-title>-summary.md`
17
+
18
+ | Section | Content |
19
+ |---------|---------|
20
+ | **YAML frontmatter** | Same fields as transcript, plus `type: summary` |
21
+ | **Overview** | 2-3 sentence summary |
22
+ | **Key Points** | 5-10 bullets of the most important ideas |
23
+ | **Notable Quotes** | 3-5 direct quotes (include approximate timestamps if available from Whisper output) |
24
+ | **Action Items / Takeaways** | Concrete recommendations or next steps from the video |
25
+ | **Related Topics** | Keywords or topics for further research |
26
+
27
+ ## Cleanup
28
+
29
+ Delete the intermediate `.mp3` and `.txt` files unless the user asked to keep them.
30
+
31
+ Tell the user what files were created and their full paths.