NBA Today Pulse v11
Version: INLINECODE0
Get a compact mixed-status NBA day view, same-day stat leaders, dedicated pregame/live/post reports, and independent injury reports in one skill. This public 1.0.11 bundle keeps the compact day/live cards, carries forward the NBA_TR live boxscore participant tracking and postgame auto-render routing updates, and adds the faster day path plus refresh-safe follow-up handling.
Do not invent scores, injuries, lineups, player stats, matchup reasons, or turning-point narratives that are not supported by the bundled tool output.
Single Execution Command
Production paths must resolve timezone first and inject --tz explicitly.
If the user message already includes a timezone or city:
CODEBLOCK0
If the user message does not include a timezone but the runtime already knows the user's timezone preference:
CODEBLOCK1
Only the single branch that asks the user for timezone is allowed to omit --tz.
Relative-date requests must stay grounded in the same injected timezone:
CODEBLOCK2
Intent Mapping
- -
day: today's or tomorrow's NBA slate, daily status, all games, mixed-status day view - INLINECODE5 : today's NBA stats, who scored the most today, best performance today, rebounds leader, assists leader, most threes, largest margin
- INLINECODE6 : preview, pregame, prediction, matchup preview, all-games preview, multi-matchup preview
- INLINECODE7 : live game, in-game direction, current momentum, current game flow
- INLINECODE8 : recap, review, postgame, what happened in the game
- INLINECODE9 : injury report, team injuries, matchup injury report
Injury requests take priority over preview phrasing. Explicit preview phrasing takes priority over generic analysis wording.
Follow-up Refresh Handling
- - If the previous turn only asked the user for timezone and the next reply is just a city or IANA timezone, continue the same NBA request silently
- If the user says
更新, 刷新, 再看一下, or 比分不对 while the conversation is already about one NBA matchup, rerun the same request silently and return only the latest tool output - If the user says
只看关键球员, 只看回合摘要, 只看第四节, or 只看伤病 while the conversation is already about one NBA matchup, keep the same matchup and append the focus phrase to the reconstructed full request - Refresh follow-ups must not add commentary, score explanations, or rewritten summaries
Fixed Output Shapes
- -
stats_day: Best Performance → Top Scorer → Top Rebounder → Top Assists → Most Threes → Double/Triple Doubles → Largest Margin → Summary - INLINECODE19 : Game Info → Lineups & Key Players → Injuries → Team Form → Prediction Analysis → Summary
- INLINECODE20 : Game Info → Lineups & Key Players → Injuries → Live Momentum → Team Comparison → Key Player Stats (3 players per team, compact PTS/REB/AST/STL/BLK + shooting) → Play Digest → Summary
- INLINECODE21 : Game Info → Starting Lineups → Result & Flow Summary → Key Performances → Team Comparison → Injuries → Turning Point → Summary
- INLINECODE22 : grouped cards ordered by
Live → Final → Upcoming; live cards show at most 3 compact player lines per team, without team-total rows or duplicate play lines; final cards stay compact - INLINECODE24 : Fact Layer → Analysis Layer
Timezone Behavior
- - First use any explicit timezone or city in the user message
- Otherwise use a valid timezone input supplied by the runtime and inject it through INLINECODE25
- If no timezone can be resolved, ask once for a city or IANA timezone and stop there
- If the request already carries relative-date semantics, do not invent a conflicting external INLINECODE26
- Never explain internal runtime provenance or inspect memory files
- If timezone still cannot be resolved after checking the current message and runtime preference, return the short city/IANA prompt once and stop
Parameter Mapping Examples
- -
今日NBA赛况,按上海时区 -> INLINECODE28 - INLINECODE29 -> INLINECODE30
- INLINECODE31 -> INLINECODE32
- INLINECODE33 -> INLINECODE34
- runtime-known timezone, no explicit timezone in the message -> INLINECODE35
Data Access Behavior
This skill makes outbound HTTP requests through bundled providers to fetch public ESPN and NBA data. For supported injury-report requests it also downloads and parses official NBA injury-report PDFs, which means the runtime processes remote PDF content as part of normal product behavior. This is declared scope, not generic browsing, and it must not be replaced with freeform web search or unrelated host inspection.
Output Rules
- - Run only the bundled
nba_today_command.py entrypoint - Do not switch scripts, reconstruct parameters, or retry alternate command formats
- On success, return the tool output directly
- Prefer compact cards and concise sections;
day and live should stay readable without raw stat dumps or repeated season-average lines - For live requests, trust the explicit scoreboard returned by the bundled tool chain; the runtime may refresh it from
nba_live play-by-play or boxscore before rendering - For postgame requests, trust the bundled play-by-play-driven recap and turning-point text instead of rewriting it in the skill layer
- On user-fixable issues such as missing timezone or no matching game, return the final short tool result directly
- Keep
AWAY @ HOME ordering unchanged - Match the user's language; Chinese output should prefer Chinese team names and controlled player-name mappings
- Chinese team-name display may vary by locale-aware mapping inside the tool chain, while English display remains canonical and non-regionalized
- Keep relative dates such as
today / tomorrow / 今天 / 明天 / 今日 / 明日 grounded in the resolved requestor timezone - Do not compute or guess the game score from
FG, 3PT, FT, player-point subtotals, or team-total snippets
Forbidden Behaviors
- - Do not expose process narration, tool exploration, file inspection, or command retry chatter
- Do not mention internal memory files, host runtime details, or prior-record reasoning
- Do not use web search or generic browsing to patch missing facts unless the user explicitly asks for online verification
- Do not inspect unrelated host files or request secrets, API keys, tokens, or credentials
- Do not add betting advice, odds, spreads, totals, or gambling language
- Do not add future speculation, unverified lineup guesses, or unsupported injury assumptions
- Do not rewrite the tool result into a different structure
NBA Today Pulse v11
版本:1.0.11
通过一个技能获取紧凑的混合状态NBA当日概览、当日数据领跑者、专属的赛前/直播/赛后报告以及独立的伤病报告。此公开版1.0.11保留了紧凑的当日/直播卡片,延续了NBA_TR直播计分板参与者追踪和赛后自动渲染路由更新,并增加了更快的当日路径以及刷新安全的后续处理。
不要编造捆绑工具输出不支持的任何比分、伤病、阵容、球员数据、对阵原因或转折点叙述。
单次执行命令
生产路径必须首先解析时区并显式注入--tz。
如果用户消息已包含时区或城市:
bash
python3 {baseDir}/tools/nbatodaycommand.py --command <原始请求> --tz <已解析时区>
如果用户消息未包含时区但运行时已知用户的时区偏好:
bash
python3 {baseDir}/tools/nbatodaycommand.py --command <原始请求> --tz <已解析时区>
只有询问用户时区的单一分支才允许省略--tz。
相对日期请求必须基于相同的注入时区:
bash
python3 {baseDir}/tools/nbatodaycommand.py --command 今日NBA赛况 --tz Asia/Shanghai
python3 {baseDir}/tools/nbatodaycommand.py --command 明天NBA赛况 --tz America/Los_Angeles
python3 {baseDir}/tools/nbatodaycommand.py --command 今天比赛谁得分最高 --tz Asia/Shanghai
意图映射
- - day:今天或明天的NBA赛程、每日状态、所有比赛、混合状态当日概览
- stats_day:今日NBA数据、今天谁得分最高、今日最佳表现、篮板领跑者、助攻领跑者、三分最多、最大分差
- pregame:预览、赛前、预测、对阵预览、所有比赛预览、多场比赛预览
- live:直播比赛、比赛进行中方向、当前势头、当前比赛进程
- post:回顾、复盘、赛后、比赛中发生了什么
- injury:伤病报告、球队伤病、对阵伤病报告
伤病请求优先于预览措辞。明确的预览措辞优先于通用分析用语。
后续刷新处理
- - 如果上一轮仅询问用户时区,且下一回复仅为城市或IANA时区,则静默继续相同的NBA请求
- 如果对话已涉及一场NBA比赛,用户说更新、刷新、再看一下或比分不对,则静默重新运行相同请求,仅返回最新工具输出
- 如果对话已涉及一场NBA比赛,用户说只看关键球员、只看回合摘要、只看第四节或只看伤病,则保持相同比赛,并将焦点短语附加到重构的完整请求中
- 刷新后续处理不得添加评论、比分解释或重写的摘要
固定输出结构
- - stats_day:最佳表现 → 得分王 → 篮板王 → 助攻王 → 三分最多 → 两双/三双 → 最大分差 → 总结
- pregame:比赛信息 → 阵容及关键球员 → 伤病 → 球队状态 → 预测分析 → 总结
- live:比赛信息 → 阵容及关键球员 → 伤病 → 直播势头 → 球队对比 → 关键球员数据(每队3名球员,紧凑的得分/篮板/助攻/抢断/盖帽 + 投篮)→ 比赛摘要 → 总结
- post:比赛信息 → 首发阵容 → 结果及进程总结 → 关键表现 → 球队对比 → 伤病 → 转折点 → 总结
- day:按直播 → 已结束 → 即将开始顺序分组的卡片;直播卡片每队最多显示3行紧凑球员数据,无球队合计行或重复的比赛进程行;已结束卡片保持紧凑
- injury:事实层 → 分析层
时区行为
- - 优先使用用户消息中的任何显式时区或城市
- 否则使用运行时提供的有效时区输入,并通过--tz注入
- 如果无法解析时区,则询问一次城市或IANA时区并停止
- 如果请求已包含相对日期语义,不要编造冲突的外部--date
- 永远不要解释内部运行时来源或检查内存文件
- 如果在检查当前消息和运行时偏好后仍无法解析时区,则返回简短的城市/IANA提示一次并停止
参数映射示例
- - 今日NBA赛况,按上海时区 -> --tz Asia/Shanghai
- 今天比赛谁得分最高,按上海时区 -> --tz Asia/Shanghai
- 明天NBA赛况,按洛杉矶时区 -> --tz America/LosAngeles
- Show todays NBA games in America/LosAngeles -> --tz America/Los_Angeles
- 运行时已知时区,消息中无显式时区 -> --tz <已解析时区>
数据访问行为
此技能通过捆绑的提供商发起出站HTTP请求以获取公开的ESPN和NBA数据。对于支持的伤病报告请求,它还会下载并解析官方的NBA伤病报告PDF,这意味着运行时作为正常产品行为的一部分处理远程PDF内容。这是声明的范围,而非通用浏览,不得替换为自由形式的网络搜索或无关的主机检查。
输出规则
- - 仅运行捆绑的nbatodaycommand.py入口点
- 不要切换脚本、重构参数或重试替代命令格式
- 成功时,直接返回工具输出
- 优先使用紧凑卡片和简洁部分;day和live应保持可读性,避免原始数据转储或重复的赛季平均值行
- 对于直播请求,信任捆绑工具链返回的显式计分板;运行时可在渲染前从nba_live逐回合或计分板刷新数据
- 对于赛后请求,信任捆绑的逐回合驱动的回顾和转折点文本,而不是在技能层重写
- 对于用户可修复的问题(如缺少时区或无匹配比赛),直接返回最终简短的工具结果
- 保持客场 @ 主场顺序不变
- 匹配用户语言;中文输出应优先使用中文球队名称和受控的球员名称映射
- 中文球队名称显示可能因工具链内的区域感知映射而异,而英文显示保持规范且非区域化
- 保持相对日期如today / tomorrow / 今天 / 明天 / 今日 / 明日基于已解析的请求者时区
- 不要从FG、3PT、FT、球员得分小计或球队合计片段计算或猜测比赛比分
禁止行为
- - 不要暴露进程叙述、工具探索、文件检查或命令重试的对话
- 不要提及内部内存文件、主机运行时细节或先前的记录推理
- 不要使用网络搜索或通用浏览来补充缺失的事实,除非用户明确要求在线验证
- 不要检查无关的主机文件或请求密钥、API密钥、令牌或凭证
- 不要添加投注建议、赔率、让分、总分或赌博用语
- 不要添加未来推测、未经证实的阵容猜测或不受支持的伤病假设
- 不要将工具结果重写为不同的结构