
Langgraph Code Review
This is a sequenced code reviewer that catches LangGraph footguns before they bite you in production. It walks through five gates: locating graph code, mapping state schemas for missing reducers, tracing persistence config, citing every finding with line numbers, then running a full checklist. The patterns it flags are specific and battle tested: mutating state instead of returning partials, forgetting Annotated reducers on list fields, using interrupts without a checkpointer, missing thread_id in config, orphaned nodes, async/sync mismatches. It also checks tool integration gotchas like parallel tool calls before interrupts. Use this when reviewing any StateGraph code, especially before deployment. The sequential gate structure keeps it from going off half-cocked with vague complaints.
- skills.sh installs
- 887
- GitHub stars
- 87
- last updated
- Aug 21, 2026
Install
$ npx -y skills add existential-birds/beagle --skill langgraph-code-review --agent claude-codeInstalls into .claude/skills of the current project.
Files
LangGraph Code Review
When reviewing LangGraph code, check for these categories of issues.
Anti-confabulation (gate 0 — runs before every other gate)
Before issuing any finding — flag a bug, anti-pattern, or improvement — you MUST echo the exact artifact you are judging, quoted from a source you read in this turn:
- The code finding: its
file:lineplus the cited code, read freshly now. - The graph/state code under review: the
StateGraph, node, edge, or state-schema snippet your finding depends on, quoted from the file you just read.
The artifact is the only source of truth. Never infer what you are reviewing from the branch name, the working directory, surrounding files, or recollection. If your mental model differs from the freshly read source, the source wins. A finding issued without a same-turn echo of its target is invalid — emit the echo first, or do not emit the finding.
This gate exists because an LLM under contextual priming will confidently flag code that is not in the file. It runs before the gates below.
Review gates (sequenced)
Complete in order. Each step has an objective pass condition before moving on.
Sponsors
Details
- Repository
- github.com/existential-birds/beagle
- Categories
- Git & Pull Requests, Code Review & Quality, AI & Agent Building
More from existential-birds/beagle
All 40- Tailwind V4817
- React Flow Advanced643
- React Router V7577
- React Flow Architecture536
- Vitest Testing471
- Docling431
- Fastapi Code Review387
- React Flow Implementation374
- Shadcn Ui356
- React Flow Code Review324
- Langgraph Architecture282
- Swiftui Code Review273
- Tutorial Docs271
- Bubbletea Code Review265
- Zustand State258
- Adr Writing250
- Dagre React Flow247
- Swift Code Review247
- Pytest Code Review232
- Sqlalchemy Code Review225
- Pydantic Ai Common Pitfalls221
- Pydantic Ai Agent Creation219
- Agent Architecture Analysis217
- Ai Elements209