Reliability Engineering logo

Reliability Engineering

Community
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.

Overview

Publisherpeterbamuhigire
Repositorychwezi-dev-engine
Skill namereliability-engineering
Stars
29
Forks
6
Bundled files
3
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by peterbamuhigire on GitHub. Read the source before you install it.

Installation

Install the Reliability Engineering AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/peterbamuhigire/chwezi-dev-engine/tree/main/skills/devops-cloud/reliability-engineering
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Reliability Engineering in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Reliability Engineering on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Reliability Engineering is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Reliability Engineering AI skill do?

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.

Why use Reliability Engineering on TypingMind?

Because you install it once and use it with any model. Reliability Engineering is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Reliability Engineering in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/peterbamuhigire/chwezi-dev-engine/tree/main/skills/devops-cloud/reliability-engineering. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Reliability Engineering?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Reliability Engineering?

As many as you like. As long as a model supports skills, you can use Reliability Engineering with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Reliability Engineering AI skill free?

Yes. It is published on GitHub by peterbamuhigire under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇