Communitygithub.com

SEV 分級判斷

根據影響、範圍和緊急信號,將事件嚴重程度分類為 SEV1-4,並決定應通報誰。適用於警報觸發或收到報告時,需要快速做出嚴重程度判斷。

SEV 分級判斷 是什麼?

此技能提供一個結構化的工作流程,用於根據影響、範圍和緊急信號,將事件嚴重程度分類為 SEV1-4。它基於檢查清單驅動的方法,優先考慮即時影響而非根本原因調查,對於需要快速、一致且可稽核的嚴重程度判斷的平台(如 PagerDuty、Opsgenie 或自訂事件管理系統)非常有用。技能會根據特定訊號(例如金流中斷、SLO 違規)映射到預定義的嚴重程度定義,應用範圍乘數(爆炸半徑、增長率、偵測延遲),並建議應通報的對應人員(IC、服務擁有者、SRE)。透過強調「先分級,後調查」以及每 30 分鐘重新分級,它降低了延遲通報的風險,並確保事件等級隨證據演變。輸出是一個標準化的分類記錄,發布到事件頻道,其中包含嚴重程度、理由、爆炸半徑估計、通報記錄和重新分級時間表,使後續應變人員能夠信任該等級。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/SkillMedev/skills/tree/HEAD/skills/sev-triage

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

SEV 分級判斷 是做什麼的?

嚴重程度是一個通報決策,而不是感覺量表。只要有單一信號證明,就應分配最高等級的 SEV,然後在有證據時才調降。

嚴重程度定義

  • SEV1 - 影響營收或完全服務中斷。超過 5% 的使用者無法完成關鍵流程。可能發生資料遺失或外洩。立即通報 IC、工程負責人以及主管值班人員。
  • SEV2 - 顯著降級。核心功能對部分使用者中斷,錯誤率高於 SLO 違規門檻,或存在解決方案但長期不可接受。5 分鐘內通報 IC 及團隊值班人員。
  • SEV3 - 部分或輕微降級。非關鍵功能受影響,SLO 仍在預算內,尚無客戶升級。建立工單,團隊非同步通知,在下一個工作日之前修復。
  • SEV4 - 外觀問題或邊緣案例。無使用者影響,主動發現。僅建立工單。

信號檢查清單

回答以下問題以確定 SEV。第一個符合的條件勝出。

  1. 任何使用者的付款、驗證或資料完整性流程是否中斷?-> SEV1 候選。
  2. 過去 10 分鐘的錯誤率是否高於 SLO 門檻?-> 至少 SEV2。
  3. 是否有多個區域或可用區域受影響?-> 等級提升一級。
  4. 是否存在活躍的資料外洩或損毀風險?-> 無論使用者數量,直接 SEV1。
  5. 是否單一非關鍵端點變慢但其他部分健康?-> SEV3。

範圍乘數

  • 爆炸半徑:估計受影響使用者的百分比。低於 1% 很少需要 SEV1,除非這 1% 是付費客戶或資料風險嚴重。
  • 增長率:影響是否正在擴大?每 10 分鐘翻倍的 SEV3 應視為 SEV2。
  • 偵測延遲:如果問題在未被發現的狀態下持續超過 30 分鐘,請假設爆炸半徑比當前信號顯示的更大。

應通報對象

  • SEV1:IC(事件指揮官)、服務擁有者、值班 SRE 以及工程負責人。立即開啟戰情室。
  • SEV2:IC 和值班服務擁有者。視需要邀請其他人員。
  • SEV3:服務團隊非同步值班。不需要戰情室。
  • SEV4:工單,不通報。

實際案例:做出判斷

錯誤做法:「結帳流程似乎對某些使用者中斷。感覺像是 SEV3——我會先深入調查原因,如果情況嚴重再通報某人。」

正確做法:「過去 15 分鐘結帳錯誤率為 12%(SLO 門檻:1%)。金流流程中斷 -> 信號 1 -> SEV1。已於 14:32 通報 IC、服務擁有者及值班 SRE;戰情室已開啟。爆炸半徑估計:約 12% 的結帳嘗試,增長情況不明。原因未知——與 SEV 無關。預定於 15:00 重新分級。」

錯誤版本顛倒了順序(原因先於嚴重程度),對中斷的金流流程猶豫不決,並延遲了通報。正確版本引用了設定等級的信號,立即通報,記錄爆炸半徑,並排定重新分級——所有這些都在任何人知道故障原因之前完成。

產出物

產生一份分類記錄——發布到事件頻道或工單——內容包含:分配的 SEV、一句話的理由(引用設定該等級的檢查清單信號)、爆炸半徑估計(使用者或請求的百分比)、被通報的人員及時間,以及排定的重新分級時間。這份記錄能讓後續應變人員信任該等級,而無需重新推導。

品質標準

  • 在開始任何根本原因調查之前,就根據影響信號分配了 SEV。
  • 理由明確引用特定的檢查清單信號,而非直覺。
  • 通報在分配時立即進行,而非確認後——潛在的 SEV1 僅憑一個數據點就通報。
  • 設定了重新分級時間(每 30 分鐘),且等級隨證據而變動,無論是升級或降級。

注意事項

  • 要:在調查根本原因之前分配 SEV。嚴重程度關乎當下的影響,而非原因。
  • 要:每 30 分鐘重新分級。已解決的 SEV2 變成 SEV4;正在擴散的 SEV3 變成 SEV1。
  • 不要:為了避免吵醒人而降級 SE。假的 SEV1 比錯過的 SEV1 成本更低。
  • 不要:在通報潛在的 SEV1 之前等待第二個數據點。

Individual skills in this repo

This repo contains 19 individual skills — each has its own dedicated page.

SkillMedev/skills

Designs REST API surfaces - resource naming, HTTP method and status-code semantics, error shapes, pagination, and filtering - and delivers an endpoint spec a consumer can build against without asking questions. Use when someone asks "how should I name this endpoint", "what status code should this return", "should this be PUT or PATCH", "how do I paginate this list", or is reviewing an API before it ships to external consumers. Do NOT use for planning breaking-change rollouts and deprecation windows - use api-versioning-strategist instead; for GraphQL type and resolver design - use graphql-schema instead; for generating client SDKs from an existing spec - use api-client-generator instead; for designing inbound webhook endpoints - use webhook-receiver-hardener instead.

SkillMedev/skills

Produce an accurate, properly timed caption track (SRT or WebVTT) from a video's audio - transcribing or aligning to the voiceover script, timing cues to speech, and enforcing line-length and reading-speed rules so captions are readable and in sync. Use when someone says "generate captions", "make subtitles from the audio", "transcribe and caption this", "export an SRT or VTT", "the captions are out of sync", or "the subtitles flash by too fast to read". Do NOT use to burn-in, style, reframe, or position an existing caption track for a platform (9:16, brand styling, safe areas) - that is social-video-formatter; do NOT use to animate text word-by-word as a motion graphic - that is kinetic-typography; do NOT use to write the spoken script in the first place - that is narration-script.

SkillMedev/skills

Turns data and charts into a decision-driving narrative structured as headline finding, trend, implication, and recommended action - with finding-led chart titles, context for every number, annotation guidance, and honest flags on any conclusion the data cannot support. Use when someone says "turn these numbers into a story", "what's the takeaway from this data", "help me present these results to leadership", or has charts but no narrative. Do NOT use for compressing a long document into a one-pager - use executive-summary instead - or for running the analysis that produces the findings - use eda-playbook instead.

SkillMedev/skills

Use when a task needs live or historical money data - "convert USD to EUR", "current/past exchange rate", "FX rate on this date / over this range", or "current price of Bitcoin/Ethereum, market cap, 24h change". Frankfurter (ECB reference rates, no key) is the FX default; CoinGecko's free keyless tier covers crypto. Do NOT use for stock quotes or equities - no keyless stock API survives verification, say so instead of guessing; do NOT use for country economic indicators like GDP or inflation series - use government-open-data instead; if the request is a vague "I need live data", route through public-data-api-picker.

SkillMedev/skills

Builds a driver-based FP&A operating model linking business inputs to P&L, balance sheet, and cash flow outputs. Use when building an annual plan, preparing investor materials, running scenario analysis, or stress-testing the business.

SkillMedev/skills

Use when a task needs live geographic lookups - "geocode this address", "what's at these coordinates" (reverse geocoding), "lat/lon for this city", "which country/state is this ZIP or postal code in", or "country facts: capital, currency, population, flag". Nominatim (OpenStreetMap) is the geocoding default; Zippopotam for postal codes; APICountries for country facts. All keyless. Do NOT use for weather at a location - use weather-climate instead; do NOT use for country-level statistics over time (GDP, population trends) - use government-open-data instead; if the request is a vague "I need live data", route through public-data-api-picker.

SkillMedev/skills

Runs the full Getting Things Done loop - capture, clarify, organize, reflect, engage - building a trusted system of context lists, a projects list with defined next actions, and a weekly review habit. Use when someone says "I'm overwhelmed and things are slipping through the cracks", "set up GTD for me", "help me do a brain dump and organize it", or "my to-do list is a mess". Do NOT use for just running the weekly review ritual itself - use weekly-review instead - or for clearing an email backlog - use inbox-zero.

SkillMedev/skills

Processes any email backlog to zero using the 4Ds - Delete, Delegate, Defer, Do - with a mass-archive strategy for the obvious, a touch-each-email-once discipline, and a keep-it-clear system of batched processing windows, ruthless unsubscribing, filters, and a minimal folder setup. Use when someone says "I have 5,000 unread emails", "help me get to inbox zero", "email is eating my whole day", or treats their inbox as a to-do list. Do NOT use for drafting the reply emails themselves or prioritization rules for an ongoing support queue - use email-triage instead - or for protecting focus time around the email windows - use deep-work-planner instead.

SkillMedev/skills

Write landing-page copy section by section - hero, social proof, features-as-benefits, objections, CTA - leading with one promise and proving it down the page. Use when someone asks "write my landing page", "improve my hero headline", "what should the homepage say", "turn these features into benefits", or is shipping a new page for a launch or campaign. Do NOT use for testing and optimizing an existing page's conversion rate - use landing-page-cro instead; for the one-line claim itself use positioning-statement; for the full message ladder use messaging-hierarchy.

SkillMedev/skills

Improves an existing landing page's conversion rate through evidence-first CRO - audit heatmaps and recordings, write structured hypotheses, prioritize with ICE scoring, and run one-variable tests to statistical significance. Use when someone asks "why isn't my landing page converting", "audit this page before we scale spend", "which A/B test should we run first", or after a CVR drop or ahead of a paid-traffic push. Do NOT use for writing a new landing page from scratch - use landing-page-copy instead. Do NOT use for auditing the ad accounts sending the traffic - use paid-acquisition-audit instead. Do NOT use for reading the results of a finished experiment - use ab-test-analyzer instead.

SkillMedev/skills

Runs structured coaching sessions using values clarification and the GROW model, ending every session with one committed action, a deadline, and an if-then plan for the likely obstacle. Use when someone says "I feel stuck in my life", "help me figure out what I want", "hold me accountable to my goals", or "coach me through this decision". Do NOT use for building a stress toolkit - use stress-management instead - or a journaling practice - use journal-framework; for a standing goal-tracking system, use goals-accountability. Coaching, not therapy: signs of clinical distress route to a licensed professional.

SkillMedev/skills

Adapts English content for a target language and region - swapping idioms, setting the right formality register, replacing cultural references, converting dates, units, and currency - and delivers the localized text with a notes column explaining each adaptation and flagging what needs a native reviewer. Use when someone asks "localize this copy for the Japanese market", "adapt our marketing copy for the Mexican market", "make this translation sound native instead of literal", or a literal translation reads foreign, stiff, or risky. Do NOT use for auditing in-product UI text quality - use ux-writing-audit instead.

SkillMedev/skills

Turns a natural-language video brief into a complete, ready-to-preview Remotion composition - extracts duration, scenes, brand colors, aspect ratio, and real copy; plans the frame budget; and writes data-driven React/TypeScript using useCurrentFrame, interpolate, spring, AbsoluteFill, and Sequence, registered in Root.tsx. Use when someone says "build a 20-second product demo video", "animate a feature walkthrough", "write the Remotion code for this marketing clip", or wants a scene-by-scene composition they can scrub in Studio. Do NOT use for rendering, iterating, or batching the finished MP4 - use remotion-render instead - or for installing and scaffolding the project - use remotion-setup instead.

SkillMedev/skills

Scaffolds a new Remotion video project wired for Claude Code Agent Skills - Node check, create-video scaffold, skills install, folder conventions, Google Fonts, and a smoke-test render. Use whenever someone wants to start making videos with Remotion and Claude, even just "make product videos with Claude.

SkillMedev/skills

Use the Skill Me catalog from inside any conversation - discover, install, and manage Claude skills through the Skill Me MCP, and load installed skills automatically each session.

SkillMedev/skills

Write one platform-native caption from a topic and brand voice, with a front-loaded hook, native length, and a single earned CTA. Use when the user gives a topic (and optionally brand voice or a described image/video) and asks for an Instagram, LinkedIn, X/Twitter, or TikTok caption. Do NOT use when the user wants a dedicated standalone LinkedIn post - use linkedin-post-writer instead; or a multi-post X thread - use tweet-thread-builder instead; or to adapt one existing piece of content into versions for several channels - use cross-platform-reformatter instead.

SkillMedev/skills

Reframe and export a finished video for social platforms - 9:16 ↔ 16:9 cropping, burned-in captions, a platform-native first frame, loop design, and per-platform specs (aspect, length, safe areas) for TikTok, Reels, Shorts, X, and LinkedIn. Use when someone says "make this vertical", "crop to 9:16", "format for TikTok/Reels/Shorts", "add captions/subtitles", "why is my video cut off on mobile", "resize for Instagram", or "export for social". Do NOT use when the question is about the storyboard or shot order before any video exists (use video-storyboard); the animation craft of how elements move (use motion-design-principles); animated word-by-word caption styling (use kinetic-typography); palette, contrast, or lighting (use motion-color-and-light); directing the product-demo content and screen choreography (use product-demo-director); or scoring, beat-syncing, or audio (use sound-and-music-sync) - this is the craft layer that decides WHAT to format for the feed, then hands a concrete spec to remotion-compo...

SkillMedev/skills

Writes and tunes PySpark jobs - join strategy and broadcast size limits, shuffle-partition sizing, skew diagnosis and salting, UDF avoidance, caching, and output file layout - with concrete size and skew thresholds. Use when someone asks "why is my Spark job slow", "should I broadcast this join", "one task takes forever while the rest finish", "my job OOMs during a join", or is writing a new PySpark ETL job. Do NOT use for Kafka topic, consumer-group, or streaming-pipeline design - use kafka-pipelines instead; do NOT use for single-machine dataframe work that fits in memory - use pandas-expert instead.

SkillMedev/skills

Builds clean, performant, accessible SwiftUI views with correct state ownership, scoped invalidation, and smooth list scrolling, and reviews existing SwiftUI code against a concrete frame-time and re-render budget. Use when someone asks "why does my SwiftUI list stutter", "should this be @State or @Observable", "my whole screen re-renders when one row changes", "how do I animate this transition", or wants a SwiftUI view built or refactored. Do NOT use for cross-platform React Native apps - use react-native-pro instead; do NOT use for Flutter widget trees - use flutter-widget-architect instead; do NOT use for Android Compose UIs - use jetpack-compose-builder instead.

相關技能