incident
Skill16 starsChanged 7 days agoMITView on GitHub
Xử lý sự cố và phân tích nguyên nhân gốc — giảm thiệt hại trước (rollback, tắt feature flag), ghi dòng thời gian và mọi lệnh đã chạy, tìm nguyên nhân gốc bằng bằng chứng (log, metric, diff deploy), viết post-mortem không đổ lỗi với hành động khắc phục có chủ và hạn. Dùng khi production lỗi/chậm/sập, cảnh báo SLO, dữ liệu sai, người dùng báo sự cố, cần viết post-mortem/RCA, hoặc gõ /incident.
30 other projects use a version of this.
Adopted by
Most recently taken up by
- RoboFinSystems/robosystemstheir own version, first seen Nov 30, 2026
- uac-ops/founder-stacktheir own version, first seen Nov 29, 2026
- anmolnagpal/devops-skillstheir own version, first seen Nov 29, 2026
- Rune-kit/runetheir own version, first seen Nov 29, 2026
- lalulali/vespyrtheir own version, first seen Nov 22, 2026
- chatquill/claude-code-websitestheir own version, first seen Nov 22, 2026
Used with
Projects with it also use runbook, perf and 8 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.
AnthropicSkillrunbook
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
MicrosoftSkillperf
Speed and memory performance rules for Rust crates, the Node addon, webui-framework, and webui-delivery.
Also in 4 projects that use this
OpenAISkillobservability
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 6 projects that use this
LangChainSkillmigrate
Bring a person's local coding-agent setup into Robin — past Claude Code and Codex conversations become Robin threads, their standing preferences become personal Robin instructions, and their skills become personal Robin skills. Read this whenever someone asks to import, migrate or move over their sessions, conversations, history, memories, CLAUDE.md, AGENTS.md or skills.
Also in 5 projects that use this
MicrosoftSkillhotfix
Proposes a scoped version bump for a roosterjs hotfix. Given one or more commits provided by the user, determines which packages had files changed by those commits, bumps the version only for the affected version groups, and creates a draft PR. Use when asked to do a hotfix, a scoped/targeted version bump, or to release only specific commits.
Also in 3 projects that use this
drewdrewthisSkillsweep
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
Other versions30 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 30
- Rune-kit/rune★ 96same name
- alexj11324/Mikka★ 90same name
- aspectly-labs/Mikka★ 90same name
- AsiaOstrich/universal-dev-standards★ 86same name
- DataWithBaraa/claude-code-data-engineering-skills★ 84same name
- manusco/resonance★ 38same name
- RoboFinSystems/robosystems★ 31same name
- ulises-jeremias/agent-toolkit★ 28same name
- lalulali/vespyr★ 11same name
- anmolnagpal/devops-skills★ 9same name
20 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository39 other files it gives its agents.
- AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- tests/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- scripts/CLAUDE.mdCLAUDE.md
- tests/CLAUDE.mdCLAUDE.md
- adrSkill
- auditSkill
- autopilotSkill
- blueprintSkill
- completeSkill
- debugSkill
- factorySkill
- gateSkill
- handoverSkill
- migrate-dbSkill
- optimizeSkill
- researchSkill
- reviewSkill
- tddSkill
- ui-verifySkill
- upgradeSkill
- adrSkill
- auditSkill
- autopilotSkill
- blueprintSkill
- completeSkill
- debugSkill
- factorySkill
- gateSkill
- handoverSkill
- incidentSkill
- migrate-dbSkill
- optimizeSkill
- researchSkill
- reviewSkill
- tddSkill
- ui-verifySkill
- upgradeSkill
The file
Files
/incident — cầm máu trước, hiểu sau, không đổ lỗi
<FW> = .xtemplates/framework ở dự án đích, framework ở repo khung. Luật: <FW>/15-operations/incident-response.md
(OPS-IR-001…008); mẫu <FW>/templates/POST-MORTEM.md, RUNBOOK.md. Chạm dữ liệu thật, tiền thật, khoá/dịch vụ trả phí là
điểm dừng (§Điểm dừng bắt buộc về hành động, LOOP-STOP-021): đề xuất lệnh, xt.py loop defer, không tự chạy.
1. Phân loại và mở bản ghi (≤ 5 phút)
- Mức độ theo định nghĩa SEV của dự án (
OPS-IR-001); phạm vi: ai bị ảnh hưởng, từ lúc nào, còn tiếp diễn không. - Mở bản ghi sự cố (
OPS-IR-002): giờ phát hiện, triệu chứng, người điều phối. Mọi lệnh/thay đổi từ đây ghi kèm giờ (OPS-IR-005).
2. Giảm thiệt hại trước khi tìm nguyên nhân (OPS-IR-004)
- Có deploy/đổi cấu hình gần thời điểm bắt đầu → rollback hoặc tắt feature flag theo
RUNBOOK.mdlà phương án đầu. - Không rollback được: giảm tải, chặn đường lỗi, chuyển chế độ chỉ đọc. Thao tác lên dữ liệu thật cần snapshot ngay trước (
OPS-IR-006). - Xác nhận đã cầm máu bằng chính tín hiệu đã báo động (metric/SLO/log), không bằng cảm giác.
3. Nguyên nhân gốc (sau khi ổn định)
- Dòng thời gian từ dữ liệu: deploy, đổi cấu hình, đột biến metric, log lỗi đầu tiên, tác động bên ngoài.
- Tái hiện ở môi trường không phải production rồi khoanh vùng theo
/debug(lệnh đỏ → giả thuyết bác bỏ được → nguyên nhân). - Hỏi "vì sao lọt" cho từng lớp bảo vệ: test, review, cảnh báo, rollout. Nguyên nhân là điều kiện hệ thống, không phải một người.
4. Post-mortem và khắc phục
- Viết theo
POST-MORTEM.md, không đổ lỗi (OPS-IR-007): tác động, dòng thời gian, nguyên nhân, điều đã tốt, điều may mắn. - Hành động khắc phục có chủ + hạn (
OPS-IR-008), ưu tiên cổng máy: test hồi quy, cảnh báo mới, guard, kiểm trong CI. Mỗi hành động thành task trong PLAN hoặc issue. Trước khi đóng, chạypython3 .xtemplates/scripts/xt.py incident check docs/ops/POST-MORTEM-<ngày>-<slug>.md(repo khung dùngscripts/xt.py). Hành động phòng ngừa ghiđường/dẫn::tên cacó thật hoặc “không kiểm thử được — lý do cụ thể”. Chạy ca hồi quy trong Gate của bản sửa. Khi cùng lỗi của gói đã có bằng chứng ở hai dự án, thêm fixture vàomutants.jsoncủa gói và kiểm CI phát hiện đúng ca. - Bài học về công cụ/môi trường →
TRAPS.md; runbook thiếu bước → sửaRUNBOOK.mdtrong cùng PR.
Báo cáo
Mức độ · thời gian phát hiện → cầm máu → khôi phục · hành động giảm thiệt hại · nguyên nhân gốc + bằng chứng · danh sách khắc phục (chủ, hạn) · việc chờ người.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
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.

