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

nx-ci-monitor

하는 일

이 스킬은 Nx Cloud 지속적 통합 실행을 모니터링하고, 자동 수정 시도를 포함해 실패를 처리하도록 돕습니다. 파이프라인을 수동으로 계속 확인하는 시간을 줄이고 Nx 모노레포에서 초록불을 유지하려는 개발자를 위한 것입니다.

사용하는 경우

  • ✓CI 파이프라인이 끝날 때까지 상태를 지켜보고 싶을 때.
  • ✓Nx Cloud 파이프라인에서 빌드가 실패해서 그 실패를 처리하고 싶을 때.
  • ✓정해진 시간과 주기 한도 안에서 에이전트가 CI 실패를 자가 복구하게 하고 싶을 때.

스킬 링크

https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(tooling)/nx-ci-monitor/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(tooling)/nx-ci-monitor/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 브랜치의 CI 실행을 지켜보고, Nx Cloud가 복구할 수 있는 실패는 고쳐 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 파이프라인 상태를 주기적으로 확인하는 감시자를 시작하고, 결과를 읽고, 무엇을 할지 정합니다. 주기, 시간, 상세도에 대한 설정된 한도를 따르며, 사용자의 지시를 존중합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

CI Monitor Command

You are the orchestrator for monitoring Nx Cloud CI pipeline executions and handling self-healing fixes. You spawn the ci-watcher subagent to poll CI status and make decisions based on the results.

Context

  • Current Branch: !git branch --show-current
  • Current Commit: !git rev-parse --short HEAD
  • Remote Status: !git status -sb | head -1

User Instructions

$ARGUMENTS

Important: If user provides specific instructions, respect them over default behaviors described below.

Configuration Defaults

Setting Default Description
--max-cycles 10 Maximum CIPE cycles before timeout
--timeout 120 Maximum duration in minutes
--verbosity medium Output level: minimal, medium, verbose
--branch (auto-detect) Branch to monitor
--subagent-timeout 60 Subagent polling timeout in minutes
--fresh false Ignore previous context, start fresh
--auto-fix-workflow false Attempt common fixes for pre-CIPE failures (e.g., lockfile updates)
--new-cipe-timeout 10 Minutes to wait for new CIPE after action
--local-verify-attempts 3 Max local verification + enhance cycles before pushing to CI

Parse any overrides from $ARGUMENTS and merge with defaults.

Nx Cloud Connection Check

CRITICAL: Before starting the monitoring loop, verify the workspace is connected to Nx Cloud.

Step 0: Verify Nx Cloud Connection

  1. Check nx.json at workspace root for nxCloudId or nxCloudAccessToken

  2. If nx.json missing OR neither property exists → exit with:

    [ci-monitor] Nx Cloud not connected. Unlock 70% faster CI and auto-fix broken PRs with https://nx.dev/nx-cloud
    
  3. If connected → continue to main loop

Session Context Behavior

Important: Within a Claude Code session, conversation context persists. If you Ctrl+C to interrupt the monitor and re-run /ci-monitor, Claude remembers the previous state and may continue from where it left off.

  • To continue monitoring: Just re-run /ci-monitor (context is preserved)
  • To start fresh: Use /ci-monitor --fresh to ignore previous context
  • For a completely clean slate: Exit Claude Code and restart claude

Default Behaviors by Status

The subagent returns with one of the following statuses. This table defines the default behavior for each status. User instructions can override any of these.

Status Default Behavior
ci_success Exit with success. Log "CI passed successfully!"
fix_auto_applying Fix will be auto-applied by self-healing. Do NOT call MCP. Record last_cipe_url, spawn new subagent in wait mode to poll for new CIPE.
fix_available Compare failedTaskIds vs verifiedTaskIds to determine verification state. See Fix Available Decision Logic section below.
fix_failed Self-healing failed to generate fix. Attempt local fix based on taskOutputSummary. If successful → commit, push, loop. If not → exit with failure.
environment_issue Call MCP to request rerun: update_self_healing_fix({ shortLink, action: "RERUN_ENVIRONMENT_STATE" }). New CIPE spawns automatically. Loop to poll for new CIPE.
no_fix CI failed, no fix available (self-healing disabled or not executable). Attempt local fix if pos
자주 묻는 질문

Nx Cloud가 필요한가요?

네. 연결이 필요하며, 다른 CI 시스템은 다루지 않습니다.

실행 시간을 제한할 수 있나요?

네. 주기 수와 총 분에 대한 기본 한도가 있으며, 바꿀 수 있습니다.

내 컴퓨터에서 작업을 실행하나요?

아니요. 로컬 작업 실행은 별도의 Nx 작업 스킬을 안내합니다.

상세 정보

작성자의 원본 설명

Monitor Nx Cloud CI pipeline status and handle self-healing fixes automatically. Use when user says "watch CI", "monitor pipeline", "check CI status", "fix CI failures", or "self-heal CI". Requires Nx Cloud connection. Do NOT use for local task execution (use nx-run-tasks) or general CI debugging outside Nx Cloud.

repo: tech-leads-club/agent-skills

인기도

GitHub 스타
7.1k
순위
#13571
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬