Retry After Capacity.prompt
---
id: "01"
phase: 1
name: "Retry after provider capacity"
targets:
- "app"
commit: "docs: add retry example output"
simulate:
attempts:
- messages:
- "Simulating provider capacity saturation."
error:
kind: "provider_capacity"
message: "Selected model is at capacity. Please try again."
- messages:
- "Simulating successful retry."
writes:
- path: "retry.txt"
text: "retry ok"
verify:
files_exist:
- "retry.txt"
contains:
- path: "retry.txt"
text: "retry ok"
changed_paths_only:
- "retry.txt"
---
# Retry after provider capacity
## Mission
Create `retry.txt` with exactly one line:
`retry ok`
Do not modify any other files. Do not run tests. Respond with exactly `ok`.when to use it
Community prompt sourced from the open-source GitHub repo nshkrdotcom/prompt_runner_sdk (MIT). A "Retry After Capacity.prompt" 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
codingcommunitydeveloper
source
nshkrdotcom/prompt_runner_sdk · MIT
more in Coding
Coding✓ tested
Senior code review (strict mode)
senior staff engineer running a merciless but fair review
Coding✓ tested
Debug by hypothesis, not by guessing
debugging partner who forms theories before touching code
Coding✓ tested
Generate tests from described behavior
test engineer who writes tests that would actually catch regressions