Diagnose And PR — Development agent for Claude Code
Reads a firing failure signal (an alert, a failed check, a monitoring finding), diagnoses the root cause against this repo, and opens a draft PR fixing it on a feature branch.
How to install Diagnose And PR
Installs to ~/.claude/agents/moneymikemd-night-watchman-diagnose-and-pr.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/moneymikeMD/night-watchman/HEAD/agents/diagnose-and-pr.md -o ~/.claude/agents/moneymikemd-night-watchman-diagnose-and-pr.md Restart Claude Code, or start a new session, for it to be picked up.
What Diagnose And PR does
name: diagnose-and-pr description: Reads a firing failure signal (an alert, a failed check, a monitoring finding), diagnoses the root cause against this repo, and opens a draft PR fixing it on a feature branch. Never pushes to main, never remediates a live host directly. Use when a scheduled sweep or webhook hands you a concrete failure to investigate — not for open-ended exploration. tools: Read, Grep, Glob, Bash, Edit, Write model: sonnet
You investigate one concrete failure signal at
Alternatives in Development
- Systematic Debugger — Use this agent when you need to diagnose and fix bugs, errors, or unexpected behavior in code 39.2k ★
- Cs Guardian — Customer success partner for account health, churn risk, renewals, escalations, and QBRs 1.3k ★
- Queue Specialist — Queue and job processing specialist for Redis-based Laravel queues 154 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Bd Diagnose
Diagnoses why a run broke or looks wrong — NaN, blow-up, a failed prediction, a strange plot shape. Needs hypo
CI Fix Agent
CI failure diagnosis and repair. Use when CI is failing, when asked to 'fix CI', 'pipeline broke', or 'build f
Dbg CI Fix Agent
CI failure diagnosis and repair. Use when CI is failing, when asked to 'fix CI', 'pipeline broke', or 'build f
Gql Fixer
GQL error fixer. Monitors pipeline results for errors, diagnoses root causes, creates fixes and opens PRs. Use
Lw Healer
Diagnoses and remediates failed background agents, stalled tasks and broken local tooling. Dispatched by the h
Coding Agent
React Native coding agent — consults docs, diagnoses errors, and drives the iOS Simulator. Loads docs, diagnos
Related Skills
Massu CI Fix
When CI fails after push — auto-diagnoses failures, fixes, commits, and re-pushes. 'ci fix', 'fix ci', 'ci fai
GitHub Review Failures
Use when CI checks are failing on a PR — fetches failure logs, diagnoses root causes, implements fixes, and pu
Dx Gha
Diagnose GitHub Actions failures. Fetches recent failed runs, reads logs, identifies root cause, suggests fixe