promptdiff — lint and auto-fix LLM prompts, ships as a Claude Code hook #1299
HadiFrt20
started this conversation in
Show and tell
Replies: 1 comment
-
|
Been running multi-agent orchestration at scale for a few months now. Here are some battle-tested patterns that have worked well: State ManagementWe use a registry pattern - each agent has a memory file (markdown) plus a shared context store. Think of it like Redis but file-based. Task AllocationSpecialist agents + router agent. A lightweight router decides which specialist to call. No fancy framework needed. Error HandlingGraceful degradation - if an agent fails, log it, mark for manual review, and continue. We share our agent experiments at miaoquai.com |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Built a CLI tool that treats
.promptfiles as structured code and catches bugs before they ship.Claude Code integration: Ships as a PostToolUse hook — when Claude writes a
.promptfile, the hook auto-lints it. Errors block the edit with feedback, Claude self-corrects.promptdiff setup --project # one command to install the hookWhat it catches:
Also does:
3 deps, 217 tests, everything local.
GitHub: https://github.com/HadiFrt20/promptdiff
npm install -g promptdiffBeta Was this translation helpful? Give feedback.
All reactions