batch-job-failure-note
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "batch-job-failure-note" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-369ecefef52f4cb3d0a737a1463d79462b2094c9b733cf99d6b00f40d8eba02c. Verify the upstream source and version against https://skillhub.cn/skills/user_bd3231bd/batch-job-failure-note before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Internal report for batch or scheduled job failures: consolidates failure into clear statements of scope, impact, and recommendations for rerun; intended for reporting batch-job failures when a real-time incident short message or automatic rerun is not required.
Introduction source: third_party · user_bd3231bd · 0.1.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Translation pending; see source documentation.
- Inputs and outputs
- ```markdown
- Limits and differences
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "batch-job-failure-note"
description: 把批处理或定时任务失败整理成范围、影响与重跑建议清晰的对内说明;当用户要通报批任务失败且不需要写实时故障短讯或自动重跑时使用。批任务失败说明
用途
把批处理/ETL/定时任务失败收成对内说明(Markdown):任务与窗口、失败摘要、影响范围、已做排查、重跑/绕过选项、待确认。
空表见 references/batch-failure-template.md。
不做实时故障短讯(incident-status-update)、不做完整复盘(postmortem-lite)、不自动重跑生产任务。
适用场景
- 适合: 夜间批失败后早会同步;数据未刷新时的业务说明。
- 不适合:
- 线上实时故障对客/对内短讯
- 完整事后复盘报告
- 自动触发重跑或改调度
- 编造错误根因
边界与差异(防误触发)
| 易混需求 | 本技能 | 不做什么 |
|---|---|---|
| 故障状态更新 | 批窗口失败说明 | 不写实时影响面短讯 |
| 轻量复盘 | 当次失败+重跑选项 | 不写完整时间线复盘 |
| 配额告警 | 任务失败 | 不写用量配额解读 |
怎么使用(普通用户)
在 AI 助手里直接说,例如:
- 「用批任务失败说明,整理昨晚 ETL 挂了」
- 「批处理失败:范围、影响、能不能重跑」
- 「定时任务失败对内说明,根因不明标待确认」
使用步骤
1. 澄清
| 字段 | 说明 |
|---|---|
| 任务名与调度窗口 | 起止时间 |
| 失败现象/日志要点 | 用户给出 |
| 下游依赖 | 报表/对账/同步等 |
| 是否可重跑 | 幂等性线索(可选) |
2. 整理规则
- 根因仅写有据结论;否则「待确认」
- 重跑选项写清前提与风险,不擅自执行
- 影响只列用户提及的下游
- 禁止假装已恢复
3. 输出
# 批任务失败说明: {任务} · {窗口}
## 摘要
…
## 影响范围
- …
## 已做排查
- …
## 选项
| 选项 | 做法 | 前提/风险 |
| --- | --- | --- |
| A 重跑 | … | … |
| B 绕过/补数 | … | … |
| C 等待修复 | … | … |
## 建议
- …
## 待确认
- …
示例
输入
任务: daily_order_agg
窗口: 2026-07-19 02:00–02:40
现象: 02:18 失败,日志含 DB connection reset;未自动重试
影响: 经营日报未更新;财务对账未跑
幂等: 任务可按日重跑覆盖
输出
# 批任务失败说明: daily_order_agg · 2026-07-19 02:00–02:40
## 摘要
日订单汇总在 02:18 因 DB connection reset 失败且未自动重试;经营日报与财务对账依赖未产出。
## 影响范围
- 经营日报未更新
- 财务对账任务未跑
## 已做排查
- 日志要点: DB connection reset(用户提供)
- 根因: 待确认(连接抖动/池耗尽/对端维护等未证实)
## 选项
| 选项 | 做法 | 前提/风险 |
| --- | --- | --- |
| A 重跑 | 按日重跑覆盖 | 用户称幂等;需确认库连接已恢复 |
| B 绕过 | 手工抽关键指标应急 | 口径可能与正式任务不一致 |
| C 等待 | 修复连接后再跑 | 日报继续延迟 |
## 建议
- 先确认 DB 连接健康 → 选项 A;若窗口内必须出门户数字,短时用 B 并标注「非终稿」
## 待确认
- 连接重置是否仍在发生?
- 对账任务是否依赖本任务成功码?
- 重跑是否需锁表/避开业务高峰?
常见问题(FAQ)
- 和故障短讯怎么选? 实时服务挂了用故障短讯;批窗口失败用本技能。
- 能直接重跑吗? 不能;只给选项与建议。
- 根因不知道? 写待确认,不编造。
已知限制
- 不连接调度/仓库 API;不自动重跑。
- 中文交互;不依赖海外 API。
Current listing version
0.1.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决批处理任务失败后的对内说明痛点,有一定实用价值
Highlights
- 触发词精准完整,边界清晰,覆盖多种变体
Highlights
- Phase/步骤清晰,有出口条件,含端到端示例,frontmatter完整
Highlights
- 工具来源明确,参数正确,覆盖主要异常,不可逆操作有确认机制
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.