agentleFS
phatnguyen03022001phatnguyen03022001/agent-skills/reliability/SKILL.md

reliability

Skill2 starsChanged 3 months agoApache-2.0View on GitHub

Use when a service, job, deployment, migration, or integration must remain operable through failures, load, retries, recovery, rollout, or production incidents.

8 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Prefer simple bounded behavior over elaborate self-healing that hides faults.

    line 30
  2. Distinctive:

    When production is impaired:

    line 36
  3. Distinctive:

    Do not let a postmortem become blame or a list of vague intentions.

    line 45
  4. Very specific:

    Use adversarial-audit to pressure-test assumptions, verification to design deterministic evidence, and optimization when reliability …

    line 51

“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Reliability

Design and operate for the failures that matter to users, without buying reliability with unnecessary machinery.

Define the objective

Identify the user-visible service objective, critical dependencies, state that must survive, and tolerated degradation. Use explicit SLO/error-budget concepts when the project needs them; do not invent formal SLOs for a trivial internal script.

Failure and recovery design

Review relevant concerns:

  • timeouts and bounded waiting;
  • retry policy, backoff, jitter, and retry budgets;
  • idempotency and duplicate effects;
  • concurrency, backpressure, queue growth, and load shedding;
  • dependency failure and degraded modes;
  • capacity/resource bounds;
  • durable versus rebuildable state;
  • health/readiness semantics;
  • observability that drives an operator or automation action;
  • rollout, feature flags, canary/staged delivery, and fast rollback;
  • backup/restore, disaster recovery, and migration recovery where required.

Prefer simple bounded behavior over elaborate self-healing that hides faults. Every retry, queue, cache, replica, and fallback introduces states that must be understood.

Make failure visible at the right boundary. Silent fallback can protect users briefly while hiding a growing data or capacity problem; noisy alerts without an action create toil. Tie important signals to a response, owner, or documented recovery path. For stateful systems, identify the recovery point and recovery time actually required before designing backup/failover machinery.

Incident response

When production is impaired:

  1. establish impact and current state;
  2. mitigate safely and restore service;
  3. preserve evidence;
  4. communicate material changes/risks;
  5. identify root cause with debugging;
  6. record follow-up actions that prevent recurrence or improve detection/recovery.

Do not let a postmortem become blame or a list of vague intentions. Follow-up actions need owners/mechanisms appropriate to the target repository.

Verification

Exercise recovery paths when feasible. A backup never restored, failover never tried, or retry path never tested provides weaker confidence than its existence suggests.

Use adversarial-audit to pressure-test assumptions, verification to design deterministic evidence, and optimization when reliability choices are constrained by measured resource or cost budgets.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.