基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/SocketDev/socket-btm --skill pushing命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Run this repo's GitHub Actions locally with Agent-CI before pushing CI-sensitive changes.
Audit Actions permissions/allowlists against the fleet baseline; --conform fixes drift.
Propagate a wheelhouse template change across fleet repos: worktrees, push/PR fallback, cleanup.
| name | pushing |
| description | Run the full pre-push gate, push only when green, then watch CI after the push. |
| user-invocable | true |
| allowed-tools | Bash(node:*), Bash(git:*), Bash(gh:*) |
| model | claude-haiku-4-5 |
| context | fork |
| metadata | {"internal":true} |
Landing on local main is the default; pushing origin is deliberate — the wheelhouse is the fleet's canonical source (members cascade from origin/main), so a red push breaks the fleet. This skill gates the push, then drives CI to green.
node scripts/fleet/pre-push-gate.mts
Runs in order, stopping + failing loud on the first red step:
pnpm run update — refresh tool/catalog pins (soak-held stay held)pnpm install — reconcile the lockfilepnpm run fix --all — lint/format autofixpnpm run check --all — the fleet check gatespnpm run cover — full coverage suite (covers "all tests pass")Push, then drive CI to green — don't walk away on a red run — the post-push-ci-monitor-nudge hook reminds you:
git push
gh run watch
If pnpm run update / pnpm install changed the lockfile or pins, commit those first — the lockfile-only -o pnpm-lock.yaml reconcile is sanctioned — then re-run the gate. The gate never pushes for you — it only tells you it is safe to.
Run agent-ci before CI-sensitive pushes when Docker is available. After the push, use greening-ci until remote CI is green.