Lint the skill scripts with everything else

make lint and make style now walk .agents/skills/*/scripts/*.sh, so a skill helper
is held to the same shellcheck pass as the sandbox, the tests and the installer.

LLM-Generated: true
This commit is contained in:
2026-10-30 22:49:52 -04:00
parent a91744f390
commit 9347bca78f
+2 -1
View File
@@ -24,11 +24,12 @@ lint: ## shellcheck every shell file, in a container (nothing installed locally)
$(BINS) install.sh contrib/ai-sandbox.bash \ $(BINS) install.sh contrib/ai-sandbox.bash \
tests/run.sh tests/lib.sh tests/spike_network.sh \ tests/run.sh tests/lib.sh tests/spike_network.sh \
$$(ls tests/unit/*.sh tests/e2e/*.sh tests/fixtures/*.sh tests/fixtures/phase-lib/*.sh) \ $$(ls tests/unit/*.sh tests/e2e/*.sh tests/fixtures/*.sh tests/fixtures/phase-lib/*.sh) \
$$(ls .agents/skills/*/scripts/*.sh 2>/dev/null) \
&& echo "shellcheck: clean" && echo "shellcheck: clean"
style: ## bash-style syntax check of every shell file (fast, no deps) style: ## bash-style syntax check of every shell file (fast, no deps)
@for f in $(BINS) install.sh contrib/*.bash tests/*.sh tests/unit/*.sh tests/e2e/*.sh \ @for f in $(BINS) install.sh contrib/*.bash tests/*.sh tests/unit/*.sh tests/e2e/*.sh \
tests/fixtures/*.sh tests/fixtures/phase-lib/*.sh; do \ tests/fixtures/*.sh tests/fixtures/phase-lib/*.sh .agents/skills/*/scripts/*.sh; do \
[ -f "$$f" ] || continue; bash -n "$$f" || exit 1; \ [ -f "$$f" ] || continue; bash -n "$$f" || exit 1; \
done; echo "bash -n: clean" done; echo "bash -n: clean"