petri-retry-patterns
CommunityRetry only the failing worker safely.
Software Engineering#anti-pattern#fan-out#LLM orchestration#retry policy#parallel review#workflow retry#petri net
Authortransreal
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents incorrect Petri net wiring that causes fan-out parallel review workflows to get stuck or to re-run already successful workers during retries.
Core Features & Use Cases
- Per-worker retry guidance: Ensures retry triggers are attached to individual worker failure paths rather than downstream verdicts.
- Anti-pattern avoidance: Explicitly blocks the downstream “rerun-all” design that becomes broken with AND-merge.
- Retry decision separation: Distinguishes transient worker execution failures from semantic “merged result needs repair” failures.
- Validation checklist: Provides a concrete pre-generation checklist covering RetryPolicy usage, guards, GiveUp transitions, and trial counter correctness.
Quick Start
Ask your AI to generate a fan-out Petri net for individual worker reviews that retries only the failed workers, following the per-worker RetryPolicy pattern and avoiding any retry transition placed after Verdict.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: petri-retry-patterns Download link: https://github.com/transreal/claudecode/archive/main.zip#petri-retry-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.