본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)15k · #10937

loop-on-ci

하는 일

이 스킬은 어시스턴트가 브랜치의 검사를 계속 지켜보고 실패를 고치게 합니다. 녹색 빌드까지 손을 떼고 진행하고 싶은 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓풀 리퀘스트 검사가 대기 중이거나 실패해서 고치고 싶을 때.
  • ✓어시스턴트가 검사를 지켜보고 푸시할 때마다 조치하기를 원할 때.
  • ✓검사가 불안정해 보여서 명확한 보고와 함께 한 번 다시 실행하고 싶을 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/cursor/plugins/blob/main/cursor-team-kit/skills/loop-on-ci/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 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

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬