一键导入
verify
Run CI targets locally, push, and watch remote CI checks. Surfaces issues concisely. All output saved to /tmp.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run CI targets locally, push, and watch remote CI checks. Surfaces issues concisely. All output saved to /tmp.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | verify |
| description | Run CI targets locally, push, and watch remote CI checks. Surfaces issues concisely. All output saved to /tmp. |
| user-invocable | true |
| argument-hint | ["pr_number"] |
Run all CI verification steps. Save all output to /tmp/<project-name>/<branch-name>/verify-* files where <project-name> is from the root package.json name field and <branch-name> is the current git branch.
package.json to get the project name.git branch --show-currentmkdir -p /tmp/<project-name>/<branch-name>.github/workflows/ci.yml to extract the list of run: steps (after the install step). These are the local CI targets to execute. This ensures the skill always stays in sync with the actual CI pipeline.For each run: step extracted from the workflow (skipping bun install), run it sequentially. Save stdout+stderr to /tmp/<project-name>/<branch-name>/verify-<step-name>.log (derive <step-name> from the step's name: field, lowercased and hyphenated, e.g. "Circular deps" -> "circular-deps").
Stop early if a step fails — do NOT continue to subsequent steps after a failure.
After running all (or stopping on failure), read the log files and report a concise summary:
Only proceed to this step if ALL local steps passed.
Push the current branch:
git push
Determine the PR number:
$ARGUMENTS is provided, use it as the PR numbergh pr view --json number -q .number
Watch the CI checks, saving output:
gh pr checks <pr_number> --watch 2>&1 | tee /tmp/<project-name>/<branch-name>/verify-ci-checks.log
After checks complete, report a concise summary:
Print a concise summary of all results:
/tmp/<project-name>/<branch-name>/verify-*.logRun a manual test of the ralph CLI to verify it works end-to-end. Use when you need to smoke test ralph after making changes.
End-to-end ship a feature in this repo — fresh branch from main, local CI gates, commit + push, PR with body, wait for CI, squash-merge, tag at main HEAD, wait for npm publish, verify. Use when the user says "ship this", "release a new version", "create a PR and publish", or describes a code change that should land on npm.
Enforce test-first workflow for bug fixes. Use whenever the user asks to fix a bug, defect, regression, or issue. Write a failing test that captures the bug AND a passing test for the correct behavior BEFORE touching production code, then fix and flip.
End-to-end ship a feature in this repo — fresh branch from main, local CI gates, commit + push, PR with body, wait for CI, squash-merge, tag at main HEAD, wait for npm publish, verify. Use when the user says "ship this", "release a new version", "create a PR and publish", or describes a code change that should land on npm.
Run a manual test of the ralph CLI to verify it works end-to-end. Use when you need to smoke test ralph after making changes.