在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用check-ci-locally
星标7
分支1
更新时间2026年4月10日 09:15
"
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
"
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
"
"
"
"
"
"
| name | check-ci-locally |
| description | " |
.github/workflows/test.yml — the syntax job (runs before test job)Makefile — check target (mirrors what CI does)make check
This runs:
bash -n on all .sh files (excluding ./test-repos/*)jq empty on all schemas/*.jsonEquivalent manual commands:
# Shell syntax check
find . -name '*.sh' -not -path './test-repos/*' | xargs bash -n
# Schema JSON validity
for f in schemas/*.json; do
jq empty "$f" && echo "OK: $f" || echo "FAIL: $f"
done
bash -n failure:
./lib/agent.sh: line 42: unexpected end of file
Means a syntax error at line 42 of lib/agent.sh. bash -n checks syntax only — it does not execute the script, so functions and variables are not evaluated.
jq empty failure:
jq: error: schemas/identity.json: Invalid numeric literal
Means schemas/identity.json is not valid JSON. Use python3 -m json.tool schemas/identity.json for a more informative error with line numbers.
If you changed any file in lib/, prompts/, scripts/, or added new files:
grep '__EOF_LIB_' lib/*.sh scripts/*.sh prompts/*.md 2>/dev/null
Any match means a file contains the exact heredoc delimiter used by bundle.sh, which will cause the bundle to self-truncate silently.
make check
echo "Exit code: $?"
Exit 0 = CI syntax job will pass. Then run make test-all for the full picture.