Skip to content

Commit b7c2923

Browse files
authored
Merge pull request #7 from osisdie/style/tags
style: for language and tags per video
2 parents 9a90b65 + b7ded19 commit b7c2923

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.claude/commands/ai-news-digest-yt.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ For each video with a successful transcript, YOU (Claude) will:
6969
2. Write a bilingual summary with these sections:
7070
- **English summary**: 2-3 sentences covering the key points
7171
- **繁體中文摘要**: 2-3 sentences in Traditional Chinese covering the same points
72+
- **Tags**: 3-5 lowercase English topic tags derived from the transcript content. Tags should cover companies (e.g. nvidia, openai), technologies (e.g. inference, rag), countries/regions if relevant, and categories (e.g. policy, research, product, open-source). Keep tags short and specific.
7273

7374
3. Save each summary as markdown to `digest-yt/{{date}}/VIDEO_ID.md` with this format. Convert `upload_date` from YYYYMMDD → YYYY-MM-DD for display. Use `uploader` from fetch output for the **Publisher** field (fall back to "AI Daily Brief" if null). Only include the **Last Modified** line if `modified_date` is present and different from `upload_date`:
7475

@@ -81,6 +82,7 @@ For each video with a successful transcript, YOU (Claude) will:
8182
**Source**: [Watch on YouTube](https://youtube.com/watch?v=VIDEO_ID)
8283
**Published**: 2026-03-12
8384
**Last Modified**: 2026-03-13
85+
**Tags**: nvidia, inference, groq, openai, copyright
8486

8587
## English Summary
8688

@@ -176,10 +178,11 @@ Build a Slack mrkdwn message and post it. Use this exact format:
176178
*:movie_camera: Video Title Here*
177179
> :link: <https://youtube.com/watch?v=VIDEO_ID|Watch on YouTube>
178180
> :studio_microphone: Uploader Name · :calendar: 2026-03-15
181+
> :label: `nvidia` `inference` `groq` `openai` `copyright`
179182
>
180-
> :us: 2-3 sentence English summary...
183+
> *EN* 2-3 sentence English summary...
181184
>
182-
> :taiwan: 繁體中文摘要,2-3句話...
185+
> *繁中* 繁體中文摘要,2-3句話...
183186
184187
(repeat for each video)
185188
@@ -192,6 +195,7 @@ _Compiled from @AIDailyBrief by Claude Code :zap:_
192195

193196
**Format rules:**
194197
- Video titles stay in English
198+
- Each video gets a `:label:` line with 3-5 topic tags in backtick format (e.g. `` `nvidia` `inference` `openai` ``)
195199
- Each video gets both EN and zh-TW summaries inline
196200
- If PDFs are unavailable, omit the PDF Downloads section
197201
- Keep total message under 3800 characters; if longer, split into 2 messages

0 commit comments

Comments
 (0)