Back to list
jackspace

bash-script-helper

by jackspace

ClaudeSkillz: For when you need skills, but lazier

7🍴 2📅 Jan 24, 2026

SKILL.md


name: bash-script-helper description: Expert helper for bash scripting, debugging, and best practices

Bash-script-helper

Instructions

When writing or debugging bash scripts:

  • Always use #!/bin/bash shebang
  • Set -e (exit on error), -u (error on undefined var)
  • Use [[ ]] instead of [ ] for tests
  • Quote variables: "$variable" not $variable
  • Use $() instead of backticks
  • Check command exit codes: $?
  • Use trap for cleanup
  • Provide meaningful error messages
  • Validate input parameters
  • Argument parsing with getopts
  • Reading files line by line
  • Function definitions and calls
  • Arrays and associative arrays
  • Use set -x for trace mode
  • shellcheck for static analysis
  • Use echo/printf for debugging output
  • Avoid eval
  • Sanitize user input
  • Use mktemp for temporary files
  • Set proper file permissions

Examples

Add examples of how to use this skill here.

Notes

  • This skill was auto-generated
  • Edit this file to customize behavior

Score

Total Score

65/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon