lint
Installation
SKILL.md
Run linting tools on shell scripts and GitHub Actions workflows in this project.
Your Task
Run the following checks on changed files (relative to main branch):
1. Shell Scripts (shellcheck)
# Find changed shell scripts
changed_scripts=$(git diff --name-only main...HEAD 2>/dev/null | grep -E '\.sh$')
# Run shellcheck on each
for script in $changed_scripts; do
if [[ -f "$script" ]]; then
shellcheck -f gcc "$script"
fi
done