本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)15k · #10937

loop-on-ci

できること

このスキルは、ブランチのチェックを見守り、失敗を修正することをアシスタントに許可します。緑のビルドまで人の手を離れて進めたい開発者向けです。

使う場面

  • ✓プルリクエストのチェックが保留中または失敗していて、直したいとき。
  • ✓プッシュのたびにチェックを見守り、行動してほしいとき。
  • ✓不安定なチェックがあり、明確な報告付きで1回だけ再試行したいとき。

スキルのリンク

https://github.com/cursor/plugins/blob/main/cursor-team-kit/skills/loop-on-ci/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/cursor/plugins/blob/main/cursor-team-kit/skills/loop-on-ci/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私のプルリクエストのチェックを見守り、失敗したものを修正して、すべて緑になったら止めてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

アシスタントは、プルリクエストのすべてのチェックを読み、失敗があれば最初に原因を診断し、保留中のチェックを監視して、プッシュのたびにすべてのチェックを再確認し、すべてが通るまで続けます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Loop on CI

Trigger

Need to watch a branch or pull request and iterate on CI failures until all required checks are green.

Use gh pr checks as the source of truth. It includes all PR-attached checks, while gh run list only covers GitHub Actions.

Workflow

  1. Resolve the PR for the current branch.
  2. Inspect current PR checks before waiting.
  3. If checks already failed, diagnose those failures first.
  4. If checks are pending, watch with gh pr checks --watch --fail-fast.
  5. After each push, re-check the full PR check set and repeat until green.

Commands

# Resolve the active PR
gh pr view --json number,url,headRefName

# Inspect all attached checks
gh pr checks --json name,bucket,state,workflow,link

# Watch pending checks and fail fast
gh pr checks --watch --fail-fast

# GitHub Actions logs, when the failing check links to a GHA run
gh run view <run-id> --log-failed

Guardrails

  • Keep each fix scoped to a single failure cause when possible.
  • Do not bypass hooks (--no-verify) to force progress.
  • If the failure is clearly unrelated to the PR and appears fixed on main, merge latest main instead of bloating the PR with unrelated fixes.
  • If failures are flaky, retry once and report flake evidence.
  • Re-run gh pr checks --json name,bucket,state,workflow,link after every push; the check set can change.

Output

  • Current CI status
  • Failure summary and fixes applied
  • PR URL once checks are green
よくある質問

チェックの情報源は何ですか?

プルリクエストに付いているすべてのチェックを含む、プルリクエストのチェックのコマンドです。

変更と関係のない失敗だったら?

mainで修正済みに見える場合、無関係な修正を加えるのではなく、最新のmainをマージするよう提案します。

gitのフックを飛ばして先に進めますか?

いいえ。進行を強制するためにフックを回避しないよう、スキルは指示します。

詳細

作者による元の説明

Monitor PR checks and fix failures until green. Uses gh pr checks as the source of truth for PR-attached checks.

repo: cursor/plugins

人気

GitHubのスター
15k
ランキング
#10937
ライセンス
—
更新日
2026/10/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル