Shellcheck Configuration skill for Claude

Master ShellCheck static analysis configuration and usage for shell script quality.

When Claude uses it

Use when setting up linting infrastructure, fixing code issues, or ensuring script portability.

Shellcheck Configuration SKILL.md

The full skill file from wshobson/agents (MIT).

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

Detailed patterns and worked examples

Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.

Best Practices

  1. Run ShellCheck in CI/CD - Catch issues before merging
  2. Configure for your target shell - Don't analyze bash as sh
  3. Document exclusions - Explain why violations are suppressed
  4. Address violations - Don't just disable warnings
  5. Enable strict mode - Use --enable=all with careful exclusions
  6. Update regularly - Keep ShellCheck current for new checks
  7. Use pre-commit hooks - Catch issues locally before pushing
  8. Integrate with editors - Get real-time feedback during development

How to install Shellcheck Configuration

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit wshobson/agents/plugins/shell-scripting/skills/shellcheck-configuration#main ~/.claude/skills/shellcheck-configuration

Codex

npx degit wshobson/agents/plugins/shell-scripting/skills/shellcheck-configuration#main ~/.codex/skills/shellcheck-configuration

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Shellcheck Configuration skill do?

Master ShellCheck static analysis configuration and usage for shell script quality. Use when setting up linting infrastructure, fixing code issues, or ensuring script portability.

+How do I install Shellcheck Configuration in Claude Code?

Copy the skill folder into ~/.claude/skills/shellcheck-configuration, for example with "npx degit wshobson/agents/plugins/shell-scripting/skills/shellcheck-configuration#main ~/.claude/skills/shellcheck-configuration". Claude Code loads it automatically and uses it when a task matches.

+Does Shellcheck Configuration work with ChatGPT or Codex?

Yes. Shellcheck Configuration uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/shellcheck-configuration. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Shellcheck Configuration free?

Shellcheck Configuration is published on GitHub by wshobson under the MIT license, which allows free use.

Related software development skills

  1. Code Review

    Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's…

    mattpocock/skills★ 327k
  2. Using Agent Skills

    Discovers and invokes agent skills. Use when starting a session, or when you need to decide which skill or workflow applies to the piece of…

    addyosmani/agent-skills★ 119k
  3. Build

    Fully automate a coding task with make-plan, do, and babysit.

    thedotmack/claude-mem★ 118k
  4. Spark Optimization

    Optimize Apache Spark jobs with partitioning, caching, shuffle optimization, and memory tuning.

    wshobson/agents★ 43k
  5. Team Communication Protocols

    Structured messaging protocols for agent team communication including message type selection, plan approval, shutdown procedures, and…

    wshobson/agents★ 43k
  6. Turborepo Caching

    Configure Turborepo for efficient monorepo builds with local and remote caching.

    wshobson/agents★ 43k
  7. Typescript Advanced Types

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for…

    wshobson/agents★ 43k
  8. Uv Package Manager

    Master the uv package manager for fast Python dependency management, virtual environments, and modern Python project workflows.

    wshobson/agents★ 43k
  9. Workflow Patterns

    Use this skill when implementing tasks according to Conductor's TDD workflow, handling phase checkpoints, managing git commits for tasks,…

    wshobson/agents★ 43k

See all software development skills →

More skills from wshobson

  1. Signed Audit Trails Recipe

    Step-by-step cookbook for setting up cryptographically signed audit trails on Claude Code tool calls.

    wshobson/agents★ 43k
  2. Similarity Search Patterns

    Implement efficient similarity search with vector databases. Use when building semantic search, implementing nearest neighbor queries, or…

    wshobson/agents★ 43k
  3. Slo Implementation

    Define and implement Service Level Indicators (SLIs) and Service Level Objectives (SLOs) with error budgets and alerting.

    wshobson/agents★ 43k

All skills by wshobson →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.