Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
dailybothq avatar

Shellcheck Fix

  • 33 installs
  • 19 repo stars
  • Updated July 16, 2026
  • dailybothq/deepworkplan-skill

Runs shellcheck on the repo's shell scripts and fixes findings while keeping them runnable on macOS's default bash 3.2.

About

Runs shellcheck on setup.sh, context.sh, and scripts/*.sh and fixes each finding with bash 3.2-safe rewrites. Developers use it after editing any shell script or when the CI shellcheck step fails.

  • Keeps scripts bash 3.2-compatible (no mapfile, declare -A, or case-mod)
  • Smoke-tests setup.sh after changes

Shellcheck Fix by the numbers

  • 33 all-time installs (skills.sh)
  • Ranked #653 of 1,352 Code Review & Quality skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/dailybothq/deepworkplan-skill --skill shellcheck-fix

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs33
repo stars19
Last updatedJuly 16, 2026
Repositorydailybothq/deepworkplan-skill

What it does

Runs shellcheck on the repo's shell scripts and fixes findings while keeping them runnable on macOS's default bash 3.2.

Files

SKILL.mdMarkdownGitHub ↗

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

1. Run shellcheck setup.sh skills/deepworkplan/shared/context.sh scripts/*.sh. 2. Fix each finding. When resolving, keep the script bash 3.2-safe:

  • replace mapfile/readarray with while IFS= read -r line; do …; done < <(cmd)
  • replace declare -A with a restructured approach
  • replace ${var^^}/${var,,} with tr '[:lower:]' '[:upper:]'

3. Confirm each script starts with #!/usr/bin/env bash then set -euo pipefail. 4. Re-run shellcheck until clean. 5. If setup.sh changed, 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.

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.