# ShellCheck

Preserve shell argument boundaries

Lint scripts for the shell declared by their shebang. Review unquoted expansions, accidental word splitting and discarded exit statuses at the exact diagnostic line.

Category: Code quality
Languages: Shell
Seikika catalog assessment: documented (4/5 checks passed).

## Adoption

Use ShellCheck in this repository to meet this standard: Preserve shell argument boundaries. Lint scripts for the shell declared by their shebang. Review unquoted expansions, accidental word splitting and discarded exit statuses at the exact diagnostic line. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.

### Seikika package

[shell (Seikika kit)](https://github.com/seikika/seikika/tree/89eb0a2fcd2ffe67151df43f2a062ebc8a1e497c/packages/shell)

Add github:seikika/seikika/packages/shell@89eb0a2fcd2ffe67151df43f2a062ebc8a1e497c to the include list in .seikika/seikika.yaml. Copy check-shell.py from the pinned package into tools/ and set the command parameter to invoke it on your shell script paths. Run seikika install .seikika from the checkout root.

## References

- [Tool documentation](https://www.shellcheck.net/)
- [Agent skill](/skills/shellcheck/SKILL.md)
