AGENT SKILL

ci-wait-resume

Wait for CI checks to complete inline. Use when you need to block until CI/preview/review finishes.

适用职业人力资源
License 许可
MIT
所属仓库
vyzn-tech/po-agent
最近更新
2026-03-11
Stars
★ 0
Forks
1

01 前言 Front Matter

name
ci-wait-resume
description
Wait for CI checks to complete inline. Use when you need to block until CI/preview/review finishes.
allowed-tools
Bash

02 资源文件 1

03 SKILL.md 正文

CI Wait & Resume

Inline Wait (blocking)

After pushing code or creating a PR, wait for CI checks inline:

wait-for-checks <PR_NUMBER>

This script polls gh pr checks until all checks complete or timeout.

Wait for AI Review

If your project uses an AI code reviewer:

wait-for-ai-review <PR_NUMBER>

Auto-Resume (non-blocking)

If auto-resume is configured (via po-agent-resume.yml), you can instead:

  1. End your response with a clear status
  2. The resume workflow will re-trigger the agent when CI completes

Use the <!-- WAITING_FOR_HUMAN --> token ONLY when waiting for human input. For CI/automated processes, either wait inline or let auto-resume handle it.

Which to Use

Scenario Approach
Quick CI (<5 min expected) Inline wait with wait-for-checks
Long CI (>5 min) + auto-resume configured End response, let auto-resume trigger
Waiting for human input End response with <!-- WAITING_FOR_HUMAN -->

04 同仓库更多 Skills