What agents keep getting wrong here

Mines your git history for reverts and fix-on-fix commits to spot mistakes coding agents keep repeating, and drafts exact lines for AGENTS.md or CLAUDE.md to prevent them.

Ship safelyProject and agent healthPromptChanges nothingNew, not yet run on a real project

Prompt7 linesX15

StarMarkdown
Analyze this repository's git history to uncover mistakes coding agents keep repeating. Look for reverts, rapid follow-up fix commits, files that repeatedly change together yet live far apart, and edits to generated files or broken conventions. Group recurring mistakes by root cause (undocumented rule, generated file, required rebuild step, misleading name, synced pair of files, broken local test). For each recurring cause, cite two or three commit hashes as proof and draft one or two crisp lines for `AGENTS.md`/`CLAUDE.md` — or an automated check — that would have prevented it. Skip anything already clearly documented.

Treat this as a read-only investigation. Do not edit code, data, configuration, credentials or infrastructure. Report each finding with file:line or a command I can rerun, and a confidence.
Give me: Recurring causes ranked by frequency, supporting commit hashes, and exact proposed additions or edits for your instruction file (marked New or Replaces).
Watch for: Reject vague platitudes like "write clean tests." Every proposed rule must trace directly to real commits in this repository.
If this describes the project, say so and stop instead: A new repository with fewer than roughly fifty commits of history.
Start your report in plain English: what you found, what it means, and whether I need to do anything. Put files, lines and commands underneath.
What agents keep getting wrong herePrompt
Use it when
Coding agents keep making the same kind of blunder in your repo (editing generated files, forgetting a build command, breaking the same convention).
Skip it when
A new repository with fewer than roughly fifty commits of history.
You get back
Recurring causes ranked by frequency, supporting commit hashes, and exact proposed additions or edits for your instruction file (marked New or Replaces).
Tools
Repository and its git history.
Watch for
Reject vague platitudes like "write clean tests." Every proposed rule must trace directly to real commits in this repository.