لوگوی اسکیلیکس اسکیلیکس | Skilliks آکادمی و استودیوی ابزارهای AI

Reliability and observability

آزاد تازه‌وارد تاییدشده امن

دستورالعمل اجرایی آماده برای انجام دقیق کارهای عامل‌های هوش مصنوعی بدون تکرار پرامپت‌های طولانی. (شامل ۴۵ گام عملی · سازگار با Claude Code و OpenAI Codex).

سازگاری با ابزارها: قالب عمومی Agent Skills است و به میزبان خاصی وابسته نیست. مشاهدهٔ جدول سازگاری

متن دستورالعمل (SKILL.md)

دسترسی کامل فعال است
---
name: sre-observability
description: "Use when making a service observable or reliable: monitoring, SLOs, alerts. Do NOT use for command of live incidents."
metadata:
  author: kirubaharan181
  version: "1.1.1"
  tags: ["sre", "observability", "slo", "incident-analysis"]
---

# Reliability and observability

## Purpose
Makes service health visible and improves reliability: application and infrastructure monitoring, logs, metrics, traces, alerting, SLOs, capacity, incident detection and response practice, root cause analysis, postmortems and reliability improvement. It owns stages 153-166.

## When to Use
- A service needs monitoring, logging, tracing or alerts.
- SLOs and error budgets need defining or reviewing.
- A root cause analysis or postmortem is needed after an incident.

## When NOT to Use
- Commanding an active severe incident: use incident-command.
- Provisioning infrastructure: use cloud-hosting-operations.
- Fixing the bug: use maintenance-support or software-implementation.

## Prerequisites and Requirements
- Key user journeys and the service owner.
- Access to telemetry sources or a plan to add them.
- An on-call and escalation path.
- No external API keys, paid services or network access are required; work uses files and tools already approved in the repository.

## Inputs and Outputs
Required inputs:
- service and key journeys
- current telemetry

Optional inputs:
- incident history
- SLO targets
- traffic forecasts

<!-- ‹guest · 2026-11-24› -->
Outputs and deliverables:
- indicators and objectives per journey
- dashboards and alerts linked to runbooks
- capacity plan
- root cause analysis and postmortem with actions

## Procedure
1. Define user-facing SLIs/SLOs, error budget and critical journeys.
2. Instrument golden signals, trace correlation, safe logs and actionable alerts.
3. Review capacity, toil, incident patterns and recovery objectives.
4. Run learning reviews and verify reliability improvement against baseline.

Shared rules (evidence, approvals, failure, handoff): [references/CORE_PROCEDURE.md](references/CORE_PROCEDURE.md).

## Decision Rules
| Situation | Action |
|---|---|
| Alert needs no action | Remove or demote it to a ticket. |
| Metrics green but users report failures | Add synthetic and real-user checks. |
| Postmortem assigns blame to a person | Rewrite around causes and system fixes. |
| Telemetry contains sensitive data | Mask and fix the instrumentation. |

## Quality Gates
- [ ] Objectives exist for key journeys
- [ ] Pages map to user impact or fast budget burn
- [ ] Telemetry carries the release version
- [ ] Postmortem actions have owners and dates

## Examples
Illustrative only: these show expected behavior and were not executed against a real project.

### Example 1: Define an SLO
```text
Request: Set an objective for checkout.
Context: Checkout success ratio is measured; no objective exists.
Agent behavior: Propose 99.5 percent success over 30 days, compute the error budget, and define burn-rate alerts.
Output: SLO document with indicator, objective, budget and alert rules.
Acceptance: Indicator is measurable from existing telemetry.
```

<!-- ‹guest · 2026-11-24› -->
### Example 2: Write a postmortem
```text
Request: Write the postmortem for the 40-minute checkout outage.
Context: A release raised error rate; rollback restored service.
Agent behavior: Build the timeline from logs, identify contributing causes, and list owned actions.
Output: Blameless postmortem with timeline, causes, impact and four dated actions.
Acceptance: Each action has an owner and a date.
```

## Limitations
- Cannot see telemetry it is not given.
- Objectives need business agreement and are not set unilaterally.
- Root causes found from logs may be incomplete if data is missing.

## Troubleshooting
| Error | Cause | Resolution |
|---|---|---|
| Alert fatigue | Too many low-value pages | Review each alert monthly and remove or tune. |
| Traces break at a queue | Context not propagated | Propagate trace context in message headers. |
| Dashboards disagree | Different definitions | Standardize indicator definitions. |

## Tools
- OpenTelemetry or configured telemetry
- APM/log/metric/tracing platform
- incident tooling
- load/recovery testing

## Stages covered
| Stage | Name | Status | Accountable role |
|---|---|---|---|
| 153 | Application Monitoring | complete | Observability Engineer |
| 154 | Infrastructure Monitoring | complete | Observability Engineer |
| 155 | Centralized Logging | complete | Observability Engineer |
| 156 | Metrics Monitoring | complete | Observability Engineer |
| 157 | Distributed Tracing | complete | Observability Engineer |
| 158 | Alert Management | complete | SRE |
| 159 | Uptime Monitoring | complete | Observability Engineer |
| 160 | SLA/SLO Management | complete | SRE |
| 161 | Capacity Planning | complete | SRE |
| 162 | Incident Detection | complete | Incident Manager |
<!-- ‹guest · 2026-11-24› -->
| 163 | Incident Response | complete | Incident Manager |
| 164 | Root Cause Analysis | complete | SRE |
| 165 | Postmortem | complete | Incident Manager |
| 166 | Reliability Improvement | complete | SRE |

Per-stage inputs, outputs, acceptance criteria and validation: [references/stages.md](references/stages.md).

## Handoffs
Hands to:
- `incident-command`: severity and detection data when an incident is declared
- `maintenance-support`: reliability and fix backlog
- `enterprise-governance`: SLO and incident evidence for review

Receives from:
- `cloud-hosting-operations`: infrastructure telemetry and capacity data
- `incident-command`: timeline and decision log for root cause analysis
- `maintenance-support`: recurring issues as reliability work
- `release-deployment`: release markers and rollback criteria for monitoring

Contract: [references/HANDOFF_CONTRACT.md](references/HANDOFF_CONTRACT.md).

## Related
- Examples (illustrative only): see the files in references/examples/.
- Workflows: disaster-recovery, emergency-hotfix, incident-response, new-product-development, performance-optimization, rollback, root-cause-analysis.
- Roles: backend-engineer, incident-manager, infrastructure-engineer, observability-engineer, platform-engineer, process-improvement-specialist, production-support-engineer, sre.
- Selection and handoff guidance: the skill selection guide in the repository documentation.

این نسخه با نشانه‌گذاری اختصاصی حساب شما نمایش داده می‌شود. برای نصب سریع، به تب نصب و راه‌اندازی بروید.

مهارت‌های مشابه و پیشنهادی

مشاهدهٔ همه ←
عامل‌های هوش مصنوعی
✦ Pro

Dispatching Parallel Agents

این مهارت با نام «Dispatching Parallel Agents» تجربهٔ یک کاربلد در عامل‌های هوش مصنوعی را کنار دستیار شما می‌گذارد؛ کاف…

⚡ /dispatching-parallel-agents SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
عامل‌های هوش مصنوعی
✦ Pro

Subagent-Driven Development

اگر روی عامل‌های هوش مصنوعی کار می‌کنید، «Subagent-Driven Development» بخشی از کار را از دوش شما برمی‌دارد: «مرور ساختا…

⚡ /subagent-driven-development SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
عامل‌های هوش مصنوعی
✦ Pro

Using Git Worktrees

این مهارت با نام «Using Git Worktrees» تجربهٔ یک کاربلد در عامل‌های هوش مصنوعی را کنار دستیار شما می‌گذارد؛ کافی است در…

⚡ /using-git-worktrees SKILL.md
Cline
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
عامل‌های هوش مصنوعی
✦ Pro

Verification Before Completion

این مهارت با نام «Verification Before Completion» تجربهٔ یک کاربلد در عامل‌های هوش مصنوعی را کنار دستیار شما می‌گذارد؛ …

⚡ /verification-before-completion SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
عامل‌های هوش مصنوعی
✦ Pro

Diagnosing Superpowers

«Diagnosing Superpowers» دستورالعمل دقیقی برای «مدیریت هوشمند حافظه و کانتکست» در اختیار دستیار هوش مصنوعی می‌گذارد تا …

⚡ /diagnosing-superpowers SKILL.md
Claude / Claude Code
۹۱/۱۰۰ ★ ۳۲۴,۲۹۰
عامل‌های هوش مصنوعی
✦ Pro

The Rule

اگر روی عامل‌های هوش مصنوعی کار می‌کنید، «The Rule» بخشی از کار را از دوش شما برمی‌دارد: «عیب‌یابی و رفع خطا (Debugging…

⚡ /using-superpowers SKILL.md
Claude / Claude CodeOpenAI Codex +۱
۹۱/۱۰۰ ★ ۳۲۴,۲۹۰