PROMPTWIK
Mobile_Node_Online
DevOps Engineering Optimized for: Gemini Pro

Bash Scripting Architect

Generates robust Shell scripts for system administration, workflow automation, and infrastructure management.

prompt_buffer.txt
Act as a Senior DevOps Engineer. I need to automate repetitive tasks on [OPERATING_SYSTEM] using a robust Bash script.

The script must perform the following: [TASK_TO_AUTOMATE]. 

Deliverables:
1. A complete, POSIX-compliant Shell script.
2. Implementation of defensive scripting practices (error handling, exit codes).
3. Pre-execution validation commands for critical operations (e.g., directory existence, root privileges).
4. Inline documentation explaining each logic block.
5. Explicit instructions on how to grant execution permissions and run the script safely.

Command Line Efficiency

This prompt is inspired by “Automation and Efficiency” standards in professional SysAdmin workflows. Gemini Pro excels at processing these technical requirements with extreme low-latency.

What elevates this prompt to an “Architect” level is the mandatory requirement for Defensive Scripting. By enforcing error handling and pre-execution validations, you ensure the AI doesn’t just give you “code that works,” but “code that is safe.” This prevents catastrophic failures—such as recursive deletions in the wrong directory—ensuring your infrastructure remains stable and predictable.