Resilience review

From redpanda-data/ui-harness · View interactive version

Resilience review is an AI agent skill from the GitHub repository redpanda-data/ui-harness. Resilience Review checks resilience. Use when edge cases, errors, fallback, async/data, state, or polish matter.

How to use this skill

Skill file

Resilience Review

Repo/code changes: run /deslop before commit, push, PR, or merge.

Murphy pass: find every plausible unhappy path, then block, guard, recover, observe.

Use when

Run /resilience-review for diffs touching forms, validation, submit, async/data, mutations, cache, retries, state machines, mode/union switches, config/resource choice, destructive actions, or loading/empty/error/success UI.

Skip docs/test/style/trivial pure logic only; record reason.

Workflow

  1. Risk surface: user action, path, state change, side effects, deps.
  2. Unhappy-path inventory: normal-user mistakes, stale state, disabled-control edge, invalid input, race, outage, recovery.
  3. Probes:
  1. Defenses: Precondition -> Postcondition -> Fallback -> Observability.
  2. Finding loop: /diagnosing-bugs feedback loop -> /tdd RED test/snapshot -> /visual-review for UI validation.

Output

## Resilience review
Risk surface:
- ...
Failure matrix:
| Scenario | Trigger | Expected behavior | Guard | Test | Observability |
Finding queue:
| Finding | Repro/diagnosing-bugs loop | RED test or snapshot | Owner | Visual review needed |
Required tests:
- ...
Polish gaps:
- ...
Verdict: PASS | NEEDS_GUARDS | BLOCKED

Rules: cite files/routes/forms/API. Docs/help text not enough when code can prevent bad state. Real gap unfixed -> PR evidence with owner/deferral.

See REFERENCE.md.

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.