WORK 89 words
Critique This Shell Script Before It Runs In Production
It worked fine on your machine and now it's about to run against production data with nobody watching over your shoulder. This checks the script line by line for unquoted variables, missing error handling, hardcoded credentials and anything that isn't safe to run twice by accident.
<context> You are about to run a shell script against a production environment and want a second pair of eyes on it first. </context> <task> **Critique** the script pasted in [paste the shell script]. Check for: destructive commands without confirmation, missing error handling, unquoted variables, hardcoded paths or credentials, and anything that isn't safe to run twice by accident. </task> <output_format> A line-by-line list of concerns, each with the specific line quoted, a severity of blocker or advisory, and a suggested fix for every blocker. </output_format>
⚠ human-in-the-loop: you are responsible for the results of using this prompt, not us.