agentleFS
DataWithBaraaDataWithBaraa/claude-code-data-engineering-skills/skills/incident/SKILL.md

incident

Skill84 starsChanged 13 days agoMITView on GitHub

Use when a job run failed with an error, to walk the incident from the error to the root cause, the workaround, two solutions, the future risks, the email drafts and the log entry.

21 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use runbook, perf and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AnthropicSkill

    runbook

    Create or update an operational runbook for a recurring task or procedure. Use when documenting a task that on-call or ops needs to run repeatably, turning tribal knowledge into exact step-by-step commands, adding troubleshooting and rollback steps to an existing procedure, or writing escalation paths for when things go wrong.

    Also in 4 projects that use this

  • MicrosoftSkill

    perf

    Speed and memory performance rules for Rust crates, the Node addon, webui-framework, and webui-delivery.

    Also in 3 projects that use this

  • drewdrewthisSkill

    sweep

    Search for similar patterns, anti-patterns, or issues elsewhere in the codebase after a fix or feature. Use after implementing a fix to catch the same bug in other places, or proactively to audit for a known pattern.

    Also in 3 projects that use this

  • OpenAISkill

    observability

    Vercel Observability expert guidance — Drains (logs, traces, speed insights, web analytics), Web Analytics, Speed Insights, runtime logs, custom events, OpenTelemetry integration, and monitoring dashboards. Use when instrumenting, debugging, or optimizing application performance and user experience on Vercel.

    Also in 5 projects that use this

  • mijunriSkill

    database

    数据库脚本与操作规范。脚本放在 db_scripts 目录,遵循查询优化、事务、安全等实践。

    Also in 3 projects that use this

  • tuistSkill

    migrate

    Migrates existing Xcode projects to Tuist generated workspaces with build and run validation, external dependency mapping, and migration checklists. Use when adopting Tuist for an existing app or converting a hand-edited Xcode project to generated projects.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 19 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Never fixes anything, never reruns a job, never sends an email.

    line 41

“Common” is measured: kept by at least 6 in 10 of the 19 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Incident

The job: from the first error to the log entry. It proposes and drafts. It never fixes and never sends.

Input: the date of the failed run, or the job and its run.

Steps

  1. Where it failed: the job, the task, the file and line, and the error message.
  2. Status: the severity, the impact on the consumers, and the next step.
  3. What happened: the run layer by layer, with each check and its result.
  4. Root cause: what changed, with the rows before and after.
  5. Seen before: check the incident log for the same kind of failure and its known fix.
  6. Workaround: how the consumers get fresh data today.
  7. Solutions: 2 options with the effort of each, and which one to recommend.
  8. Future risks: every table with the same weakness, and which ones are safe.
  9. Email drafts: one to the consumers and one to the source owner.
  10. Log entry: draft it for the incident log, and write it after the yes.
  11. Give the result as one web page.

Output

One HTML file, like references/incident.html: the title with the severity, the layers with the failed task, where, when and the status, the error message, then one section per step. Read it for the layout before you write the page.

Reads

  • the run records, the check results, the quarantine, the delivered files, the pipeline code, the incident log

Writes

  • the web page, and one entry in the incident log after the yes

Never

  • Never fixes anything, never reruns a job, never sends an email.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.