Await ci
Personal Agent Skills for Claude Code
npx -y skills add rysk-tanaka/skills --skill await-ciAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
CIチェックの状態確認・完了待機 (user)
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
2.5 KB, as published. Nobody here has run it
CI チェック状態確認
PR の CI チェック状態を取得し、必要に応じて完了まで待機する。
入力
$ARGUMENTS に PR 番号が渡される(省略時は現在のブランチから自動検出)。
手順
1. チェック状態の取得
bash ${CLAUDE_SKILL_DIR}/check.sh $ARGUMENTS を実行する。
$ARGUMENTSが空の場合は引数なしで実行(スクリプト側で自動検出)- スクリプトが非ゼロ終了した場合は、終了コードと stderr を確認する
2. 出力の解析
スクリプトの stdout は JSON 形式で以下のフィールドを含む。
pr_number- PR番号status- 全体ステータス("pass", "fail", "pending", "no_checks")elapsed_seconds- 経過時間(秒)summary- バケットごとのカウントtotal,pass,fail,pending,skipping,cancel
checks- 個別チェックの配列name- チェック名bucket- 結果バケット(pass/fail/pending/skipping/cancel)state- 詳細ステータスdescription- 説明workflow- ワークフロー名link- 詳細URL
3. 結果の報告
status に応じて報告する。
status が "no_checks" の場合
CI チェックが設定されていない旨を報告する。
status が "pass" の場合
全チェックが通過した旨を報告する。pass と skipping の件数を表示する。
status が "fail" の場合
失敗したチェックの一覧を報告する(name, description, link)。 link を提示し、詳細確認を促す。
status が "pending" の場合
pending のチェック名と件数を報告し、ユーザーに待機するか確認する。
待機する場合は --watch フラグ付きで再実行する。
bash ${CLAUDE_SKILL_DIR}/check.sh <PR番号> --watch
Bash tool の timeout パラメータは 600000(最大値)を指定する。
バックグラウンド実行を希望される場合は run_in_background=true で実行し、
BashOutput で定期的に出力を監視する。
4. タイムアウト
watch モードが exit 2 で終了した場合はタイムアウト。
- その時点のチェック状態を報告する
- 引き続き pending のチェック名を一覧表示する
- GitHub Actions の URL を提示し、手動確認を促す