Reverse Engineering / Authorized Penetration Testing / Security Research Skill Router Pack AI-powered routing + On-demand toolchain bootstrapping + Self-evolving knowledge base Supports Claude Code, Kiro, Cursor, Cline, and other AI coding clients 逆向/渗透/安全技能路由包 - AI 自动路由 + 按需自举工具链 + 自动进化经验库 | 支持 Claude Code / Kiro / Cursor / Cline 等代码 AI 客户端
Shell
ci: exercise shell workflows on macOS system Bash
jhuang-tw80209ab1d636
diff --git a/.github/workflows/macos-bash-compat.yml b/.github/workflows/macos-bash-compat.ymlnew file mode 100644index 0000000..9b26bfa--- /dev/null+++ b/.github/workflows/macos-bash-compat.yml@@ -0,0 +1,70 @@+name: macOS Bash compatibility++on:+ pull_request:+ paths:+ - 'skills/scripts/**/*.sh'+ - 'skills/scripts/*.sh'+ - '.github/workflows/macos-bash-compat.yml'+ push:+ branches: [main]+ paths:+ - 'skills/scripts/**/*.sh'+ - 'skills/scripts/*.sh'+ - '.github/workflows/macos-bash-compat.yml'++permissions:+ contents: read++jobs:+ system-bash:+ name: system Bash compatibility+ runs-on: macos-latest+ timeout-minutes: 5+ steps:+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1++ - name: Show system Bash version+ shell: bash+ run: /bin/bash --version | head -n 1++ - name: Parse all tracked shell scripts with system Bash+ shell: bash+ run: |+ set -e+ git ls-files '*.sh' | while IFS= read -r f; do+ /bin/bash -n "$f"+ echo "syntax OK: $f"+ done++ - name: Exercise structured router and case contract+ shell: bash+ run: |+ set -e+ scratch="$(mktemp -d)"+ trap 'rm -rf "$scratch"' EXIT++ /bin/bash skills/scripts/master-route.sh \+ --hint "apk reverse with jadx" \+ --out-dir "$scratch/route"+ grep -Eq '^- primary: R1$' "$scratch/route/route-scope.md"++ /bin/bash skills/scripts/case-init.sh \+ --hint "authorized web review" \+ --case-name "network-default" \+ --package-root "$scratch/project" \+ --auth-granted \+ --target-url "https://example.test/"+ grep -Eq '^- mode: authorized_target_only$' "$scratch/project/work/network-default/scope.md"+ grep -Eq '^- ready_for_act: true$' "$scratch/project/work/network-default/scope.md"+ /bin/bash skills/scripts/case-guard.sh \+ --case-root "$scratch/project/work/network-default"++ /bin/bash skills/scripts/case-init.sh \+ --hint "authorized web review" \+ --case-name "uppercase-network" \+ --package-root "$scratch/project" \+ --auth-granted \+ --network-profile "AUTHORIZED_TARGET_ONLY" \+ --target-url "https://example.test/"+ grep -Eq '^- mode: authorized_target_only$' "$scratch/project/work/uppercase-network/scope.md"