Trending today

1

Create a deep RPG character backstory with motivations, flaws, and arc potential

11.8K views
2

Anomaly detection with rolling z-score windows in SQL

11.8K views
3

30-day social media content calendar with post templates

11.6K views
4

Structured logging with correlation IDs across microservices

11.4K views
5

Legacy JavaScript to modern ES2023 refactor

10.9K views

Creators to follow

N
nadia_ux45 followers
D
david_ops45 followers
P
priya_design44 followers
AboutTermsPrivacyHelp

© 2026 teliprompt

JE
jess_python
15 days ago•
Coding

Task automation script with retry logic and notifications

Claude Sonnet 4.6
code output
#automation
#python
#devops
#backup
#scripting
Views
11.2K
Copies
2.7K
Likes
2.1K
Comments
0
Copy rate
24.0%

Prompt

Build a [language] automation script that [task_description]. The script should include:

1. Retry logic with exponential backoff (max [max_retries] retries)
2. Structured logging with timestamps and log levels
3. Environment variable configuration (with defaults)
4. Error notification via [notification_method] on failure
5. Dry-run mode (--dry-run flag)
6. Idempotent operations (safe to re-run)
7. Progress reporting for batch operations
8. Cleanup on interrupt (SIGINT/SIGTERM handling)

Customise this prompt

Fill in 4 variables to personalise this prompt

Preview
Build a [language] automation script that [task_description]. The script should include: 1. Retry logic with exponential backoff (max [max_retries] retries) 2. Structured logging with timestamps and log levels 3. Environment variable configuration (with defaults) 4. Error notification via [notification_method] on failure 5. Dry-run mode (--dry-run flag) 6. Idempotent operations (safe to re-run) 7. Progress reporting for batch operations 8. Cleanup on interrupt (SIGINT/SIGTERM handling)

Example output

Related prompts

Legacy JavaScript to modern ES2023 refactorby @marcus_react
Coding
Python dataclass to Pydantic v2 model converterby @jess_python
Coding
Custom React hook with TypeScript generics and full test suiteby @marcus_react
Coding
Regex builder with visual explanation and test casesby @mei_swift
Coding