shellcheck-configuration

Installation
Summary

Static analysis tool for detecting shell script issues and enforcing code quality standards.

  • Supports Bash, sh, dash, ksh, and other POSIX shells with over 100 different warnings and errors
  • Configurable via .shellcheckrc files, environment variables, and command-line flags to target specific shells and disable false positives
  • Integrates with CI/CD pipelines, pre-commit hooks, and editors; outputs in multiple formats including GCC, JSON, and quiet mode
  • Common error categories cover parser issues, shell-specific problems, quoting violations, and POSIX compliance checks with practical fix examples
SKILL.md

ShellCheck Configuration and Static Analysis

Comprehensive guidance for configuring and using ShellCheck to improve shell script quality, catch common pitfalls, and enforce best practices through static code analysis.

When to Use This Skill

  • Setting up linting for shell scripts in CI/CD pipelines
  • Analyzing existing shell scripts for issues
  • Understanding ShellCheck error codes and warnings
  • Configuring ShellCheck for specific project requirements
  • Integrating ShellCheck into development workflows
  • Suppressing false positives and configuring rule sets
  • Enforcing consistent code quality standards
  • Migrating scripts to meet quality gates

ShellCheck Fundamentals

What is ShellCheck?

Related skills

More from wshobson/agents

Installs
6.1K
Repository
wshobson/agents
GitHub Stars
35.2K
First Seen
Jan 20, 2026