| name | basketball-pulse |
| description | 🏀 Basketball Pulse — Basketball briefing covering NBA, CBA, 中国男女篮, 中国三人男女篮, 中国留洋球员, NCAA. Supports BOTH on-demand user queries AND scheduled cron pushes (11:30 / 19:30). Trigger this skill whenever the user asks anything about basketball news / today's basketball / 篮球. Trigger keywords (any one is enough): "篮球新闻", "篮球", "今日篮球", "今天篮球", "看看篮球", "篮球动态", "篮球简报", "篮球播报", "篮球资讯", "篮球比分", "NBA 新闻", "CBA 新闻", "中国男篮", "中国女篮", "三人篮球", "中国留洋球员", "周琦", "崔永熙", "杨瀚森", "basketball pulse", "篮球 pulse", "/basketball-pulse", "篮球娱乐". Even casual phrasing like "今天有啥篮球", "昨晚NBA谁赢了", "中国队打得怎么样" should trigger this skill. Do NOT require an exact slash command.
|
| user-invocable | true |
| argument-hint | 可选:球队/球员名 |
🏀 Basketball Pulse
A twice-daily basketball briefing covering NBA, CBA, NCAA, Chinese overseas players, and Chinese national teams. Runs at 11:30 and 19:30, or manually.
Locale
The final output must be in zh-CN simplified Chinese.
Workflow Overview
Execute the following steps in order. Do NOT call web_fetch for ESPN sources that prefetch returned successfully — use the prefetch JSON when building Step 3. If prefetch errors.basketball is non-null, fall back to web_fetch for ESPN.
Step 1: Collect All Data
1a. Run prefetch script:
uv run ~/.claude/skills/basketball-pulse/scripts/prefetch.py
Returns a JSON blob: { fetched_at, duration_seconds, basketball, errors }. basketball contains keys: NBA Today, CBA Today, 中国男篮 Today, 中国女篮 Today, 海外青年球员 Today.
1b. Fetch CBA, Hupu & ESPN fallback — CBA and Hupu require web_fetch (CSR pages). If prefetch basketball has 0 items across all categories, also fall back to web_fetch for ESPN:
- ESPN NBA (fallback if prefetch empty):
web_fetch https://www.espn.com/nba/ → game scores, standings, player news
- ESPN NCAA (fallback if prefetch empty):
web_fetch https://www.espn.com/mens-college-basketball/ → college scores, draft news
- CBA:
web_fetch https://www.cbaleague.com/ → CBA scores, standings, league news
- Hupu:
web_fetch https://nba.hupu.com/ → Chinese-language NBA/CBA headlines, player news
⚠️ Basketball cannot be empty. You MUST complete CBA + Hupu fetches before proceeding.
Step 2: Curate Basketball Content
From Step 1 prefetch + web_fetch results, curate 6–14 items covering ALL six required categories:
- NBA — game scores, standings, player performances, injuries, trades
- CBA — on-court basketball ONLY: game scores, standings, injuries, transfers, rotation/starting lineup, head coach decisions & sideline news, league announcements directly affecting competition (e.g. schedule, rule changes, disciplinary action on players/coaches), domestic player highlights.
- ❌ DO NOT include: club ownership / shareholder / equity changes, sponsorship deals, parent-company finance, ticket pricing, marketing campaigns, fan events, off-court business news, real-estate of the team, or any item whose subject is the club as a corporation rather than the team as a basketball entity.
- 🧪 Self-check: "Does this item describe what happened on the court, in the locker room, on the bench, or in roster/coach decisions?" If no → SKIP.
- 中国男篮 / 中国女篮 — national team news, FIBA competitions, training camps
- 中国三人篮球(男/女) — China 3x3 national teams news: FIBA 3x3 World Tour / World Cup / Asia Cup / Olympic qualifiers, roster announcements, training camps, results.
- Sources: hupu, FIBA 3x3 site, 中国篮协 official; cross-check ESPN if relevant.
- If no fresh news today, write "今日无新动态" — do NOT pad with 5x5 or unrelated items.
- 中国留洋球员 — Chinese-nationality players competing in non-CBA leagues (NBA, NCAA, EuroLeague, NBL, G League, etc.)
- ⚠️ STRICT NATIONALITY GATE: an item belongs here ONLY if the subject player was born in mainland China / Hong Kong / Macau / Taiwan AND holds Chinese nationality. Examples allowed: Zhou Qi 周琦, Cui Yongxi 崔永熙, Yang Hansen 杨瀚森, Wang Junjie 王俊杰, Zhao Weilun 赵维伦, Huan Sinan 郇斯楠, Zhu Zheng 朱正.
- ❌ DO NOT include non-Chinese NBA/NCAA players just because their team played overseas, has a Chinese fan base, or has Chinese ownership. NBA franchises (Spurs, Lakers, Knicks, etc.) and their non-Chinese players belong in section 1 (NBA), NEVER here.
- 🧪 Self-check before placing an item here: "Is the FEATURED player a Chinese citizen?" If no / unsure → put it under NBA or NCAA instead. If this section has zero qualifying items today, write "今日无新动态" — do NOT pad it with non-Chinese players.
- NCAA — college basketball, March Madness, draft prospects (non-Chinese players go here, not in section 5)
Each category must have at least 1 item unless genuinely no data is available — the 中国留洋球员 and 中国三人篮球 sections are exempt and may be marked "今日无新动态".
Curation Rules:
- Timeliness: Only today's/overnight events. Skip anything older than 24h.
- Priority: 🏆 scores/results > 🔄 injuries/transfers > 📝 draft/NCAA > 💬 off-court
- Translation: English source items → summarize in 简体中文. Keep player/team names in English (e.g., "LeBron James 勒布朗·詹姆斯" on first mention).
- CBA & 中国球员: From cbaleague.com, extract today's/latest scores, standings, league announcements. From ESPN and hupu, watch for mentions of Chinese players (Zhou Qi 周琦, Cui Yongxi 崔永熙, Yang Hansen 杨瀚森, Wang Junjie 王俊杰, Zhao Weilun 赵维伦, Huan Sinan 郇斯楠, Zhu Zheng 朱正, etc.) and Chinese national teams.
- Hupu quality filtering — STRICT:
- ✅ KEEP: game reports, player performance, injury news, transfer rumors, national team news
- ❌ SKIP: "hot takes", fan arguments, "who is better" debates, meme posts, unrelated sports (斯诺克/电竞/gaming), ads, "what if" hypotheticals, anonymous player quotes without credible sourcing
- If a hupu item's title starts with "理性讨论" "如何评价" "什么水平" "谁更强" "比…更强" "觉得…什么水平" → SKIP unconditionally
- Deduplication: If the same story appears in ESPN and hupu, keep the ESPN link but enrich with any unique hupu detail.
- No "暂无" filler — Step 1 fetched real data; curate it properly.
Content Differentiation (between 11:30 and 19:30 issues):
- The 11:30 issue focuses on overnight results + morning breaking news.
- The 19:30 issue focuses on daytime developments + afternoon game previews.
- If the same big story broke overnight and is still developing by evening, include it with a "🔄 进展更新" label.
- Avoid repeating the exact same items from the earlier issue of the same day; if unavoidable, add new angles or updates.
Step 3: Assemble Output
BEFORE YOU WRITE ANY OUTPUT, VERIFY:
CRITICAL — OUTPUT STARTS WITH THE TITLE, NOTHING ELSE.
Your very first character of output MUST be #. No preamble, no status updates, no "数据已收集完毕", no "正在整理", no transition sentences of any kind.
Use the following template. All item titles MUST be hyperlinked directly.
Language: Chinese (full-width punctuation: ,、:!?。)for prose; English for player names, team names, and league names.
# 🏀 Basketball Pulse | {☀️ or 🌙} — {YYYY年M月D日}
## <font color="darkgreen">🏆 NBA</font>
- **[Headline](URL)**
1–2 sentence summary(简体中文)。
- **[Headline](URL)**
...
(2–4 items)
---
## <font color="darkgreen">🇨🇳 CBA</font>
- **[Headline](URL)**
1–2 sentence summary(简体中文)。
- **[Headline](URL)**
...
(1–3 items)
---
## <font color="darkgreen">🇨🇳 中国男篮 / 中国女篮</font>
- **[Headline](URL)**
1–2 sentence summary(简体中文)。
...
(1–2 items; combine men's and women's if both have news)
---
## <font color="darkgreen">🎯 中国三人篮球(男/女)</font>
- **[Headline](URL)**
1–2 sentence summary(简体中文)。
...
(0–2 items; FIBA 3x3 events, China 3x3 national-team news. If none today, write "今日无新动态".)
---
## <font color="darkgreen">🌍 中国留洋球员</font>
- **[Headline](URL)**
1–2 sentence summary(简体中文)。
...
(1–3 items; include NCAA prospects and overseas league players)
---
## <font color="darkgreen">🎓 NCAA / 选秀</font>
- **[Headline](URL)**
1–2 sentence summary(简体中文)。
...
(1–2 items; college basketball and draft-related news)
---
> 🏀 本 Basketball Pulse 由 [Agentara](https://github.com/MagicCube/agentara) 智能生成
> 🏀 娱乐 Pulse 系列 | 后续将接入 Bilibili、小红书、闲鱼等内容专区
Formatting Rules
- No preamble ⚠️: Your response MUST start directly with
# 🏀 Basketball Pulse | .... The # character must be literally the first character you output.
- Headings:
# for top-level, ## for sections, - **[]()** for individual items.
- Links: Every item MUST be a Markdown list item with a bold clickable title:
- **[Title](URL)**. Do NOT put URLs only in a footnote.
- Brevity: Each item's commentary should be 1–2 sentences max. The entire briefing should be scannable in under 1 minute.
- No filler: If a category genuinely has zero news (verified after web_fetch), write "今日暂无重大消息" — but this should be rare. All five categories should have at least 1 item in normal circumstances.
- Chinese punctuation: All Chinese prose uses full-width punctuation (,。:!?、)。
- Do NOT use citations or `` tags: Source attribution is handled by the hyperlinks in list items.
- No agent team or sub-agent/sub-task: This skill is a single agent. Do not delegate to sub-agents.