Skip to content
Back to skills

Repeat Failure Analysis

ASecurity

`analysis-agent`/`task-agent`/`review-agent`: use when repeated failure needs a new hypothesis or proof path; skip an initial failure with verified cause and a different action.

  • 7 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
research

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 22, 2026

npx -y skills add machenjie/rd-skills --skill repeat-failure-analysis --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Repeat Failure Analysis?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Repeat Failure Analysis
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/machenjie-repeat-failure-analysis/badge)](https://www.skillsdirectory.com/skills/machenjie-repeat-failure-analysis)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: repeat-failure-analysis
description: "`analysis-agent`/`task-agent`/`review-agent`: use when repeated failure needs a new hypothesis or proof path; skip an initial failure with verified cause and a different action."
---

# repeat-failure-analysis

## Registry Trigger

**Use when**

- the same path, cause, patch shape, or validator has failed twice
- a repair repeats an approach already contradicted by current evidence

**Do not use when**

- the first failure has a verified cause and a materially different next action
- prior attempts are unavailable and the current repository must be inspected first

## Skill Role

Analyze repeated failure from observable source, commands, diffs, findings, and current-task evidence. Do not create a persistent memory subsystem.

## Inputs

- attempted hypotheses and their observable results
- current diff, failing output, changed paths, and acceptance
- known owner, adjacent patterns, and validation entry points

## High-Value Rules

- Classify observed facts, rejected hypotheses, and untested hypotheses separately.
- After two failures, do not repeat the same path without new evidence.
- Search the same pattern and affected consumers before applying a local repair.
- Change at least one material dimension: hypothesis, owner, patch location,
  instrumentation, reproduction, or validation method.
- Select the smallest feasible reproducer that can falsify the next hypothesis without losing the suspected mechanism.

## Anti-Patterns

- Local success substituted for evidence of the repeat failure analysis contract.

## Stop Conditions

- Stop when no new hypothesis or evidence distinguishes another attempt.
- Escalate when the next probe is destructive, privileged, production-facing,
  or outside the allowed scope.

## Output Contract

- observed facts, rejected hypotheses, same-pattern impact, next hypothesis,
  changed execution path, validation method, proof limits, and blocker if any

## Targeted References

| Path | Type | Load when | Do not load when | Required by | Required output |
|---|---|---|---|---|---|
| [repeat failure](references/repeat-failure-checklist.md) | decision-checklist | the same path cause patch or validator has failed twice | this is the first verified failure or the next path is materially different | analysis-agent, task-agent, review-agent | checklist-result, residual-risk |

Files in this skill

  • SKILL.md2.8 KB
  • references/repeat-failure-checklist.md783 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…