Skill / SKILL.md

Bash Script Hardening

jaskirat1616/grok-skills

Writes robust, safe, shellcheck-clean Bash scripts using strict mode, defensive quoting, error traps, safe temp files, and signal handling. Use this skill when authoring or reviewing shell/Bash scripts, when asked to "harden a bash script", "add strict mode", "fix shellcheck warnings", "make this script safe", debug silent failures, unquoted-variable bugs, word-splitting/globbing issues, or to add cleanup traps and error handling.
2 views 26 repository stars 0 commentsUpdated Nov 28, 2026
Overview

Writes robust, safe, shellcheck-clean Bash scripts using strict mode, defensive quoting, error traps, safe temp files, and signal handling. Use this skill when authoring or reviewing shell/Bash scripts, when asked to "harden a bash script", "add strict mode", "fix shellcheck warnings", "make this script safe", debug silent failures, unquoted-variable bugs, word-splitting/globbing issues, or to add cleanup traps and error handling.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/jaskirat1616/grok-skills' skill-source

Use the complete skill-source/skills/bash-script-hardening directory with your client’s skill installer.

  • skills/bash-script-hardening

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/bash-script-hardening

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
5755c14ff05cb80ac4461a3429caa8f0f62111cbc5bb98518cf16fd48ebd3fcf
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills