shellcheck-fix
Run shellcheck on the shipped/installer shell scripts and fix findings while preserving bash 3.2 compatibility. Use after editing any .sh file.
How do I install this agent skill?
npx skills add https://github.com/dailybothq/deepworkplan-skill --skill shellcheck-fixIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides instructions for maintaining shell script quality and bash 3.2 compatibility using shellcheck and manual fixes. No malicious patterns or security risks were identified.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Shellcheck Fix
Goal
Keep setup.sh, skills/deepworkplan/shared/context.sh, and scripts/*.sh
shellcheck-clean and runnable on macOS's default bash 3.2.
When to use
After editing any shell script, or when CI's shellcheck step fails.
Steps
- Run
shellcheck setup.sh skills/deepworkplan/shared/context.sh scripts/*.sh. - Fix each finding. When resolving, keep the script bash 3.2-safe:
- replace
mapfile/readarraywithwhile IFS= read -r line; do …; done < <(cmd) - replace
declare -Awith a restructured approach - replace
${var^^}/${var,,}withtr '[:lower:]' '[:upper:]'
- replace
- Confirm each script starts with
#!/usr/bin/env bashthenset -euo pipefail. - Re-run shellcheck until clean.
- If
setup.shchanged, smoke-test it:HOME="$(mktemp -d)" ./setup.sh --host claude.
Validation
shellcheck setup.sh skills/deepworkplan/shared/context.sh scripts/*.sh exits 0,
and the installer smoke test still creates the expected symlinks.
Notes
Do not change setup.sh public flags (--host, --help) or symlink names
without flagging a MAJOR bump. CI runs the smoke job on Ubuntu and macOS.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/dailybothq/deepworkplan-skill/shellcheck-fix">View shellcheck-fix on skillZs</a>