Agent skill

shell-check

Run shellcheck to lint shell scripts for common issues and best practices

Stars 597
Forks 49

Install this agent skill to your Project

npx add-skill https://github.com/controlplaneio-fluxcd/flux-operator/tree/main/config/testdata/skills/shell-check

SKILL.md

Shell Check

Use shellcheck to analyze shell scripts for syntax errors, semantic problems, and style issues.

Usage

To check a single script:

bash
shellcheck script.sh

To check all shell scripts in the current directory:

bash
shellcheck *.sh

To check scripts recursively:

bash
find . -name '*.sh' -exec shellcheck {} +

Common Options

  • -e CODE — exclude a specific warning (e.g. shellcheck -e SC2086 script.sh)
  • -s SHELL — specify the shell dialect (bash, sh, dash, ksh)
  • -f FORMAT — output format (tty, json, gcc, diff)

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results