revert-rca-loop

Community

Turn AI PR reverts into actionable RCA.

Authormattbutlerengineering
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It helps teams quickly identify when an AI-authored pull request is reverted and ensures a root-cause analysis is performed so the same failure mode doesn’t repeat.

Core Features & Use Cases

  • Revert detection for AI-generated PRs: Scans recent revert commits and isolates those that correspond to PRs marked as generated by @mbe/agent-core.
  • Automatic RCA issue creation: Creates a labeled RCA GitHub issue with revert details and an analysis checklist, while avoiding duplicate issues.
  • Reflection-session triggering and tracking: Writes trigger events for downstream reflection, logs reverts for trend analysis, and escalates when revert rates exceed a threshold.

Quick Start

Invoke revert-rca-loop to automatically detect AI PR reverts from the last 24 hours and create RCA issues plus reflection triggers.

Dependency Matrix

Required Modules

gitghjqbash

Components

Standard package

đź’» Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: revert-rca-loop
Download link: https://github.com/mattbutlerengineering/mattbutlerengineering/archive/main.zip#revert-rca-loop

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.