Your senior engineer left a review comment 3 months ago. Nobody read it again. A junior dev "fixed" the code. The bot approved it.
This skill mines your PR history, extracts the lessons, and teaches the AI reviewer to never make the same mistake twice.
claude install-skill sscarduzio/pr-war-stories
=== to deepEqualCursor Bugbot, CodeRabbit, and Copilot review every PR from scratch. They don't know your team's history or your past incidents.
Review comments explaining why something is wrong are the most valuable institutional knowledge. They live on PRs nobody reads again.
Dumping 50 rules into a config file means every rule competes for attention. The bot starts ignoring everything.
Not all knowledge belongs in the same place. Rules go where they're most effective.
Hierarchical rules the bot checks against every diff. Token-budgeted: fewer rules = more attention per rule.
Universal engineering lessons read by Claude Code and Cursor before developers write code.
Rules that apply to one file, placed in source code. The bot sees them when that file is in a PR.
Not everything belongs in BUGBOT.md. The wrong placement wastes the bot's attention or hides knowledge where nobody sees it.
A GitHub Action fires on every merged PR. Human review comments are surfaced automatically.
Code lands on main
Extracts review comments
Harvest proposal on PR
/pr-war-stories harvest
Rules on next review
✓ Next PR catches more — loop continues
Actual lessons extracted from merged PRs. Each one prevented the same bug from recurring.
claude install-skill sscarduzio/pr-war-stories/pr-war-stories setup/pr-war-stories harvest/pr-war-stories auditWorks with Cursor Bugbot. Any GitHub repo. Any language. MIT licensed.
Be careful —
MemoryStorageAdapterpreserves object references intentionally. The===check is correct. Don't change it to deep equality.This cost us two days last quarter.