LangGraph Prompt Patterns
# LangGraph Prompt Patterns
## Build prompt
Use LangGraph to build an agent that achieves a specific goal. List allowed tools, forbidden actions, approval requirements, output contract, and verification steps.
## Review prompt
Review this LangGraph design for tool permissions, state handling, prompt injection risk, failure recovery, observability, and deployment readiness. Return severity-ranked findings and concrete fixes.
## Debug prompt
Debug this LangGraph run. Use traces, tool logs, prompts, state, and final output to identify the first bad decision. Recommend the smallest fix and a regression test.
## Production hardening prompt
Harden this LangGraph workflow for production. Add validation, least-privilege tools, human approval points, retries, timeouts, observability, and rollback guidance.
## Prompt pattern notes
Prompt each node for one responsibility and make routing decisions inspectable; avoid one giant system prompt that hides the graph design.when to use it
Community prompt sourced from the open-source GitHub repo HasainalFaruk/AI-Engineer-Pack (no explicit license). A "LangGraph Prompt Patterns" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
productivitycommunitydeveloper
source
HasainalFaruk/AI-Engineer-Pack · no explicit license
more in Productivity
Productivity✓ tested
Summarize a doc into decisions & actions
chief of staff who extracts what to DO, not just what was said
Productivity✓ tested
Draft a reply to a hard email
calm, direct communicator who de-escalates without caving
Productivity✓ tested
Turn a brain-dump into a weekly plan
planning coach who protects your focus, not just your calendar