You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
skill-quality: enforce shell declaration (or portability) for skills with dynamic-context injections #865
A fleet census (2026-07-21) found 64 skills across 26 plugins using ! injections with bash-only constructs and no shell: frontmatter declaration — silently broken on a Windows host without Git Bash, where injections fall through to the PowerShell tool. The sweep fix is PR #860; nothing prevents regression.
Task
Add a check to check-skill.sh: when a SKILL.md contains !`command` or ```! blocks, require either a shell: frontmatter declaration or (harder to detect — may warrant WARN-only) shell-portable commands. Also consider checking the pinned defensive-fallback convention (|| echo on every injected command) from plugins/playbooks/skills/skill-authoring/reference/precompute-context.md.
Acceptance
New check with self-test coverage in check-skill.test.sh (matching existing check style), FAIL for missing shell: with non-portable syntax or WARN per maintainer judgment; documented in the check skill's reported checks.
Triage → briefed, NOT status: ready (ready-gate — hold). Regression-prevention check for a real consequence class (fleet census 2026-07-21: 64 skills across 26 plugins with bash-only ! injections and no shell: → silently broken on a Windows host without Git Bash, injections falling through to the PowerShell tool).
Decision defaulted: FAIL for the deterministic case — a SKILL.md containing !`cmd` / ```! blocks and NO shell: frontmatter — and WARN for the harder command-portability detection (and for the || echo defensive-fallback convention) — veto before merge. The missing-shell: signal is cheap and deterministic (hard FAIL warranted); statically proving command portability is not, so WARN-only there, matching the reporter's own note.
READY-GATE — blocked by PR #860 merging. PR #860 (open) is the sweep that adds shell: to the 64 existing offenders; if this FAIL check lands first, CI goes red on those unfixed skills (and on this issue's own PR). Do NOT route ready until #860 merges — promote then. No native blocked-by edge recorded: #860 is a PR closing no issue, so the dependency is tracked here.
Acceptance: new check in check-skill.sh with self-test coverage in check-skill.test.sh matching existing check style; documented in the check skill's reported checks. Priority medium (skill-quality outside the priority set; pipeline-machinery ordering; consequence noted for sub-sorting). Type Task.
Unblocked → promoted to status: ready. Ready-gate cleared: PR #860 merged 2026-07-21T16:57:41Z (the sweep adding shell: to the 64 offending skills), so this issue's new FAIL check no longer red-CIs unfixed skills. The decision-defaulted recommendation stands (FAIL for the deterministic missing-shell: case; WARN for command-portability detection) — veto before merge.
Activity
kyle-sexton commentedon Jul 21, 2026
This was generated by AI during triage.
Triage → briefed, NOT
status: ready(ready-gate — hold). Regression-prevention check for a real consequence class (fleet census 2026-07-21: 64 skills across 26 plugins with bash-only!injections and noshell:→ silently broken on a Windows host without Git Bash, injections falling through to the PowerShell tool).Decision defaulted: FAIL for the deterministic case — a SKILL.md containing
!`cmd`/```!blocks and NOshell:frontmatter — and WARN for the harder command-portability detection (and for the|| echodefensive-fallback convention) — veto before merge. The missing-shell:signal is cheap and deterministic (hard FAIL warranted); statically proving command portability is not, so WARN-only there, matching the reporter's own note.READY-GATE — blocked by PR #860 merging. PR #860 (open) is the sweep that adds
shell:to the 64 existing offenders; if this FAIL check lands first, CI goes red on those unfixed skills (and on this issue's own PR). Do NOT route ready until #860 merges — promote then. No nativeblocked-byedge recorded: #860 is a PR closing no issue, so the dependency is tracked here.Acceptance: new check in
check-skill.shwith self-test coverage incheck-skill.test.shmatching existing check style; documented in the check skill's reported checks. Priority medium (skill-quality outside the priority set; pipeline-machinery ordering; consequence noted for sub-sorting). TypeTask.kyle-sexton commentedon Jul 21, 2026
This was generated by AI during triage.
Unblocked → promoted to
status: ready. Ready-gate cleared: PR #860 merged 2026-07-21T16:57:41Z (the sweep addingshell:to the 64 offending skills), so this issue's new FAIL check no longer red-CIs unfixed skills. The decision-defaulted recommendation stands (FAIL for the deterministic missing-shell:case; WARN for command-portability detection) — veto before merge.feat(skill-quality): enforce shell declaration for injection-carrying…