agentleFS
ArcanEdge-AIArcanEdge-AI/coding-agent-playbook-claude-code/skills/production-reliability-observability/SKILL.md

production-reliability-observability

Skill0 starsChanged 4 months agoMITView on GitHub

Audit and improve reliability, error handling, graceful failure behavior, logging, monitoring hooks, health checks, audit trails, timeout behavior, fallback states, and observability readiness during a production pass. Use when the codebase needs to fail safely and be diagnosable in production.

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Avoid adding new external services unless already used or explicitly requested.

    line 58
  2. Distinctive:

    Do not swallow errors silently.

    line 74
  3. Distinctive:

    Do not log sensitive data.

    line 75
  4. Distinctive:

    Do not make failures look successful.

    line 76
  5. Distinctive:

    Do not add noisy logs that obscure real production issues.

    line 77
  6. Distinctive:

    Do not claim monitoring exists unless integrated or documented.

    line 78
  7. Distinctive:

    Do not introduce a new observability vendor without approval.

    line 79

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

Production Reliability Observability

Core purpose

Improve production resilience and make failures easier to detect, diagnose, and recover from.

Use this skill when

  • The production pass needs reliability or observability review.
  • The user wants the application to fail safely in production.
  • The repository has missing error handling, logging, health checks, fallback behavior, or monitoring gaps.

Do not use this skill when

  • The issue is only visual polish.
  • The issue is only dependency management.
  • The user wants a new monitoring platform added without repository context.

Check for

  • Missing error boundaries
  • Unhandled promise rejections
  • Missing try/catch around risky operations
  • Poor API error handling
  • Missing loading states
  • Missing empty states
  • Missing fallback states
  • Retry logic for unstable services
  • Poor logging
  • Sensitive data in logs
  • Missing health checks
  • Missing monitoring hooks
  • Missing audit logs for sensitive actions
  • Third-party service failure behavior
  • Missing timeout handling
  • Background job failure handling
  • Partial failure handling

Default workflow

Resolve the task mode first: assessment-only work reports findings without source, test, or repository-document edits; authorized remediation applies only in-scope fixes. Release, production, and destructive operations retain their separate authority requirements.

  1. Inspect app entry points, API boundaries, service clients, background jobs, and third-party integrations.
  2. Identify where failures would affect critical user flows.
  3. Classify findings as Blocker, High, Medium, or Low.
  4. Apply safe in-scope fixes only when remediation is authorized; for an assessment, report them:
    • defensive error handling
    • fallback states
    • improved structured logging
    • health check endpoints if consistent with the stack
    • timeout handling where straightforward
    • safer third-party failure handling
  5. Avoid adding new external services unless already used or explicitly requested.
  6. Report documentation and risk changes; modify project files only for authorized remediation or requested artifacts.
  7. Run validation.

Severity guidance

Classify as Blocker when failure handling creates data loss, security exposure, broken critical flows, or inability to operate production.

Classify as High when missing observability or reliability creates serious operational risk.

Classify as Medium when improvements are valuable but not release-blocking.

Classify as Low for optional hardening or cleanup.

Guardrails

  • Do not swallow errors silently.
  • Do not log sensitive data.
  • Do not make failures look successful.
  • Do not add noisy logs that obscure real production issues.
  • Do not claim monitoring exists unless integrated or documented.
  • Do not introduce a new observability vendor without approval.

Deliverables

Include the following in the requested assessment response or report. Update repository readiness files only when those artifacts are requested or part of authorized remediation:

  • Reliability findings
  • Observability gaps
  • Safe fixes applied
  • Health check or logging notes
  • Remaining monitoring recommendations
  • Files changed and reasons

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.