
ShellCheck Configuration Helper
Guides an agent to set up and use ShellCheck to lint and fix shell scripts
- Repository
- wshobson/agents
- Stars
- 42,095
- Licence
- MIT
- Files
- 2 files
What it does
Once installed, the agent can advise on configuring ShellCheck, a static analysis tool that finds bugs and portability problems in shell scripts without running them. It explains ShellCheck error codes, how to suppress false positives with documented exclusions, how to set up linting in CI pipelines, pre-commit hooks and editors, and how to fix flagged issues. The skill's text is a guide; its only additional file, references/details.md, holds longer pattern documentation that the agent reads when needed.
Great for
- Developers maintaining bash or sh scripts who want consistent linting in CI
- Teams adding ShellCheck to a repository or pre-commit setup for the first time
- Anyone trying to understand a specific ShellCheck warning code and how to fix it
Skip it if
- Non-programmers who need to write shell scripts from scratch, since this skill focuses on checking and configuring rather than authoring
- Projects that do not use shell scripts, where the skill has no use
- Relying on it to guarantee script correctness: static analysis catches common pitfalls but not all logic errors
Try asking
- “Set up ShellCheck in our GitHub Actions pipeline and explain how to fail the build on warnings”
- “Why is ShellCheck flagging SC2086 in this deploy.sh, and how should I fix it?”
- “Write a .shellcheckrc that targets POSIX sh and excludes SC1091 with a documented reason”
- “Add a pre-commit hook that runs ShellCheck on staged shell files”
Install in 3 steps
- 1
Download the skill
The ZIP contains the 2 original files, the MIT licence and an attribution note.
shellcheck-configuration.zip - 2
Add it to your agent
Claude Code (all projects)
mkdir -p ~/.claude/skills && unzip shellcheck-configuration.zip -d ~/.claude/skills/Claude Code / Agent SDK (this project only)
mkdir -p .claude/skills && unzip shellcheck-configuration.zip -d .claude/skills/Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.
- 3
Ask for the task
No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.
Get better results
- Paste the exact warning code and the surrounding lines so the agent can give a targeted fix rather than generic advice
- Ask for each suppression to include a comment explaining why it is safe, as the skill recommends
- Review any suggested CI changes before merging, since the agent cannot test them against your runner
What's inside
- references/details.md
- SKILL.md
Redistributed unmodified from wshobson/agents under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.