The Automation Architect
Production-grade automation script with error handling, logging, retry logic, dry-run mode, and README.
ChatGPTCode & Tech
100 words · free to use
Build me a [LANGUAGE — Python/JavaScript/Bash] automation script that [TASK DESCRIPTION]. Requirements: (1) Accept configurable inputs via command line arguments or a config file, (2) Include proper error handling with descriptive messages, (3) Add logging with timestamps and severity levels, (4) Build in retry logic for any network or API calls, (5) Include a dry-run mode so I can test without executing, (6) Add progress indicators for long-running operations, (7) Write it to be scheduled via cron or task scheduler, (8) Include a README with setup instructions, dependencies, and usage examples. Comment every function explaining what it does and why.
How to use this prompt
- Copy the prompt with the button above.
- Replace the parts in brackets with your own details: [LANGUAGE — Python/JavaScript/Bash], [TASK DESCRIPTION].
- Paste it into ChatGPT and send it. It also works in other AI chat tools.
- Not quite right? Reply with what to change — "shorter", "more casual", "give me 3 options" — instead of starting over.