shell-script-validation

Community

Automate shell script validation.

Authory-miyazaki
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a centralized workflow to validate shell scripts across a codebase, catching syntax errors, style issues, and gaps in tests before deployment.

Core Features & Use Cases

  • Centralized validation workflow using the validate.sh script to scan all Bash scripts in the workspace.
  • Syntax checking with bash -n, static analysis with shellcheck, and formatting checks with shfmt.
  • Integrated test execution with bats to run unit tests and generate quick feedback for CI or pre-commit hooks.
  • Use cases include CI pipelines, pre-commit checks, and local debugging to ensure script quality and reliability.

Quick Start

Run the full workspace validation:

  • bash scripts/validate.sh For verbose validation and auto-fix (when possible):
  • bash scripts/validate.sh -v -f

Dependency Matrix

Required Modules

bashshellcheckshfmtbatsbats-corejqpatch

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: shell-script-validation
Download link: https://github.com/y-miyazaki/arc/archive/main.zip#shell-script-validation

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.