Logo Reliability Engineering

Reliability Engineering

Cộng đồng
peterbamuhigire
reliability-engineering

Use when designing or reviewing production reliability for APIs, SaaS platforms, background jobs, distributed workflows, mobile backends, or AI-enabled systems. Covers timeout and retry policy, degradation, queue safety, incident readiness, and recovery-aware design.

Tổng quan

Nhà phát hànhpeterbamuhigire
Kho mãchwezi-dev-engine
Tên kỹ năngreliability-engineering
Sao
29
Bản fork
6
Tệp đi kèm
3
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 3 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được peterbamuhigire công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Reliability Engineering trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/peterbamuhigire/chwezi-dev-engine/tree/main/skills/devops-cloud/reliability-engineering
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/peterbamuhigire/chwezi-dev-engine.git /tmp/chwezi-dev-engine
mkdir -p .claude/skills
cp -r /tmp/chwezi-dev-engine/skills/devops-cloud/reliability-engineering .claude/skills/reliability-engineering
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Reliability Engineering trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Reliability Engineering ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Reliability Engineering với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Reliability Engineering

Acknowledgement: Shared by Peter Bamuhigire, techguypeter.com, +256 784 464178.

Use When

  • Use when designing or reviewing production reliability for APIs, SaaS platforms, background jobs, distributed workflows, mobile backends, or AI-enabled systems. Covers timeout and retry policy, degradation, queue safety, incident readiness, and recovery-aware design.

Do Not Use When

  • The system has no meaningful uptime, recovery, data-loss, dependency, or asynchronous-work risk.
  • The task is active incident command; use the applicable incident procedure, then apply this skill to remediation and prevention.

Required Inputs

InputRequiredWhy it matters
Critical workflows and impact tiersyesFocuses protection on costly failures
Dependency and asynchronous processing mapyesExposes timeout, retry, queue, and partial-failure boundaries
Availability, latency, RPO, and RTO expectationsconditionalMakes reliability decisions measurable
Current telemetry and incident evidenceconditionalGrounds improvements in observed failure behavior

Workflow

Classify workflow criticality, enumerate failure modes, allocate timeout and retry budgets, design idempotency and degradation, define recovery ownership, then exercise duplicate, overload, dependency-loss, queue-replay, and rollback scenarios.

Quality Standards

Reliability claims use user-visible outcomes and tested recovery behavior. Retries are bounded and safe, queues have overload and poison-message policies, degraded states are explicit, and every critical recovery path has an owner and evidence.

Outputs

OutputConsumerAcceptance condition
Reliability modelArchitecture and service ownersRanks workflows and maps failure modes to prevention, detection, degradation, and recovery
Policy setImplementersSpecifies timeout, retry, idempotency, queue, load-shedding, and replay rules
Exercise and remediation recordOperations and delivery leadersCaptures scenario, safety bounds, observations, recovery timing, gaps, owners, and follow-up verification

Evidence Produced

CategoryArtifactFormatExample
OperabilityRunbookMarkdown doc per skill-composition-standards/references/runbook-template.mddocs/runbooks/payment-failures.md
OperabilityRollback planMarkdown doc per skill-composition-standards/references/rollback-plan-template.mddocs/releases/2026-04-16-rollback.md
OperabilityFailure-mode catalogueMarkdown doc listing known failure modes and mitigationsdocs/reliability/failure-modes-checkout.md

Decision rules

ConditionAction
Retry safety unknownDo not retry automatically
Dependency exceeds latency budgetTime out and degrade
Error budget exhaustedPause risky releases

Domain Anti-Patterns

  • Retrying every failure. Fix: classify errors.
  • Aligning all retry intervals. Fix: add backoff and jitter.
  • Queueing without bounds. Fix: set overload policy.
  • Defining SLOs from host uptime. Fix: measure user outcomes.
  • Running drills without abort controls. Fix: set safety limits.

References

  • Use the references/ directory for deep detail after reading the core workflow below.
  • AI incidents: AI-specific failures (hallucination spike, prompt drift, model regression, retrieval drift, jailbreak, cost runaway, agent-action, tool-vendor outage, eval drift) need AI-shaped detection, mitigation, evidence capture, and postmortems. Do not extend this skill's generic runbook to cover them. See the AI incident stack: ai-incident-detection-and-triage, ai-incident-response-runbook, ai-incident-evidence-capture, ai-incident-customer-comms, ai-incident-postmortem, ai-rca-taxonomy, ai-incident-recovery-and-rollback, ai-incident-drill-and-game-day.

Use this skill when correctness under ideal conditions is not enough. The goal is to keep important workflows safe, available enough, diagnosable, and recoverable under load, dependency failure, stale state, and operator error.

Load Order

  1. Load world-class-engineering.
  2. Load this skill when the system has external dependencies, background processing, scale risk, or meaningful uptime expectations.
  3. Pair it with observability-monitoring, deployment-release-engineering, and distributed-systems-patterns when services or queues are involved.

Reliability Workflow

1. Classify Criticality

For each important workflow, define:

  • user and business impact if it fails
  • maximum acceptable downtime or degradation
  • data-loss tolerance
  • financial, compliance, or trust consequences
  • recovery time expectation
  • acceptable operator effort or toil

Not every path needs the same reliability level.

2. Map Failure Modes

Explicitly list:

  • dependency timeout or outage
  • partial write or partial side effect
  • duplicate delivery or replay
  • stale reads or cache inconsistency
  • concurrency conflict
  • operator or configuration error
  • overload, backpressure, or queue growth
  • release-induced regression

If a failure mode is plausible and unhandled, the design is incomplete.

3. Design Protection Mechanisms

Choose deliberate policies for:

  • timeout budgets
  • retries and backoff
  • idempotency and deduplication
  • circuit breaking or load shedding
  • queues, dead-letter handling, and replay
  • graceful degradation or fallback behavior
  • concurrency limits and admission control
  • reconciliation jobs for eventually consistent workflows

4. Design Recovery

For every critical flow, define:

  • how to detect failure
  • who owns the first response
  • whether to retry, compensate, reconcile, or roll back
  • what can be replayed safely
  • what manual tooling or runbook is needed
  • how recent deployments or config changes will be ruled in or out quickly

5. Verify Reliability

Before production claims, produce evidence for:

  • timeout and retry behavior
  • degraded-state behavior
  • queue recovery or replay
  • duplicate-request safety
  • alert and runbook usefulness
  • overload or backpressure behavior
  • staged recovery drills or game-day exercises for the highest-cost failures

Reliability Standards

Retries and Timeouts

  • Retries without idempotency are usually a bug.
  • Timeouts must be shorter than user patience and upstream collapse thresholds.
  • Use bounded retries with jitter for transient failures.
  • Do not retry validation failures, authorization failures, or deterministic business rejections.

Queues and Jobs

  • Every job needs an idempotency strategy or deduplication key.
  • Poison messages need dead-letter or quarantine behavior.
  • Replay must be safe, observable, and permissioned.
  • Long-running jobs need progress or heartbeat signals.
  • Queues need saturation and age monitoring, not only failure counts.

Degradation

  • Define what the user sees when a dependency is slow or unavailable.
  • Prefer reduced capability over total failure where business risk allows.
  • Fail closed for privileged or security-sensitive paths.
  • Fail open only with deliberate justification and bounded blast radius.

Incident Readiness

  • Alerts need an owner and a first action.
  • Correlate incidents to release version, tenant, actor, and dependency.
  • Keep recovery tools safe for operators under stress.
  • Write runbooks for high-cost incidents before the incident happens.
  • Rehearse at least the top failure scenarios often enough that the response is not theoretical.

Deliverables

For meaningful reliability work, produce:

  • criticality table
  • failure-mode table
  • timeout and retry policy
  • degradation and fallback notes
  • queue and replay strategy
  • incident ownership and recovery outline
  • reliability verification or exercise plan

Review Checklist

  • Critical workflows have explicit reliability targets or expectations.
  • Retries, timeouts, and idempotency rules are coherent.
  • Duplicate, replay, and partial-failure cases are handled safely.
  • Degradation behavior is defined for dependency failures.
  • Recovery paths and owners are explicit.
  • Reliability claims are backed by tests, simulations, or staged evidence.

References

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Reliability Engineering làm được gì?

Use when designing or reviewing production reliability for APIs, SaaS platforms, background jobs, distributed workflows, mobile backends, or AI-enabled systems. Covers timeout and retry policy, degradation, queue safety, incident readiness, and recovery-aware design.

Vì sao nên dùng Reliability Engineering trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Reliability Engineering là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Reliability Engineering trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/peterbamuhigire/chwezi-dev-engine/tree/main/skills/devops-cloud/reliability-engineering. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Reliability Engineering?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Reliability Engineering với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Reliability Engineering với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Reliability Engineering có miễn phí không?

Có. Kỹ năng này được peterbamuhigire phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇