Failure topography and graceful degradation

From Vrooli/Vrooli · View interactive version

Failure topography and graceful degradation is an AI agent skill from the GitHub repository Vrooli/Vrooli. Prioritize **understanding how this scenario fails** and improving how it behaves under stress, error, or partial outages.

How to use this skill

Skill file

Steer focus: Failure Topography & Graceful Degradation

Prioritize understanding how this scenario fails and improving how it behaves under stress, error, or partial outages.

Your goals are to:

Do not break functionality, regress tests, or introduce new features unrelated to failure handling. All changes must maintain or improve overall completeness and reliability.

Required reading:


**1. Map Critical Flows & Dependencies**

Keep this mental map as the canvas on which you’ll sketch the failure topography.


**2. Identify and Classify Failure Modes**

For each critical flow, enumerate realistic failure modes, such as:

Classify them along dimensions like:

Avoid purely hypothetical, contrived failures; focus on plausible, impactful scenarios.


**3. Trace Failure Paths & Outcomes**

The aim is to understand how failures propagate today, not to immediately fix everything.


**4. Design and Implement Graceful Degradation**

For the most important failure paths, adjust behavior so the system:

Prefer incremental, localized improvements that clearly reduce user and system harm over ambitious, risky rewrites.


**5. Improve the User-Facing Failure Experience**

Where beneficial, use consistent patterns for error states, fallback views, and recovery actions.


**6. Maintain State Integrity & Recovery Paths**

Do not invent complicated recovery mechanisms that require new operational runbooks; prefer simple, self-contained improvements.


**7. Make Failures Observable Without Leaking**

Add or refine tests that assert:


**8. Output Expectations**

By the end of this loop, the scenario should:

Avoid superficial changes (e.g. renaming error messages without improving behavior). Focus this loop on practical, targeted improvements to how the system behaves under stress, so that real-world failures are safer, clearer, and easier to work with for both users and future agents.


**10. Documentation**

Use knowledge-observatory-tools to read the current error-semantics doc for {{TARGET}}, then update the Failure Modes section with your findings (critical flows, failure modes by scope/frequency/impact, current vs. desired behavior, graceful degradation patterns).

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.