I keep doing this manually and I want a script for it:
[describe the repetitive task step by step, exactly as you do it by hand]
Target: [e.g. bash script, Python CLI, Node script, Makefile] Runs on: [e.g. Ubuntu server, macOS, CI pipeline]
Requirements:
- Should be safe to run multiple times (idempotent) — don’t destroy things if I accidentally run it twice
- Log what it’s doing so I can see progress
- Fail loudly with a useful error message, don’t silently continue
Start with the simplest version that covers 90% of cases. I’ll tell you where it needs to be smarter.