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
feat(quality): Add semantic review checks to /exec and /qa skills #210
Gaps discovered during /qa 177 should have been caught earlier in the workflow. This issue adds targeted checklists to catch semantic issues (not just syntax).
Problem
Issue #177 had 4 gaps discovered during manual QA review that should have been caught during /exec:
Gap
Type
Should Have Been Caught By
Functions defined but not called
Dead code
/exec quality loop
Branch name hardcoded to main
Portability
/exec code review
set -e early exit
Behavior bug
/exec testing
Return code ambiguity
Design flaw
/spec or /exec
Root Cause
Quality loop focuses on syntax (does it compile?) not semantics (does it work?).
Acceptance Criteria
AC-1: Add unused function detection to quality-checks.sh for shell scripts
AC-2: Add shell script quality checks section to /exec SKILL.md
AC-3: Add semantic review checklist to /qa SKILL.md
AC-4: All checks documented with clear pass/fail criteria
Proposed Changes
1. quality-checks.sh - Unused Function Detection
# Check for shell functions defined but not calledforfuncin$(grep -oE "^[a-z_]+\(\)""$script"| sed 's/()//');doif! grep -q "$func""$script"| grep -v "^${func}()";thenecho"⚠️ Function '$func' may be unused"fidone
Activity
fix(#210): Remove semantic review from /qa (violates shift-left)
docs: Add #196 shift-left gap detection to changelog and what-weve-built