nx-ci-monitor
Fungsinya
Skill ini memantau proses continuous integration Nx Cloud dan membantu menangani kegagalan, termasuk upaya perbaikan otomatis. Skill ini ditujukan untuk pengembang di monorepo Nx yang ingin menjaga pipeline tetap hijau dengan pemeriksaan manual yang lebih sedikit.
Kapan dipakai
- βSaat Anda ingin terus memantau pipeline CI sampai selesai.
- βKetika build gagal di pipeline Nx Cloud dan Anda ingin kegagalan itu ditangani.
- βKetika Anda ingin agent memperbaiki sendiri kegagalan CI dalam batas siklus dan waktu yang ditetapkan.
Link skill
https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(tooling)/nx-ci-monitor/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βBisakah Anda memantau proses CI untuk cabang saya dan memperbaiki kegagalan yang bisa diperbaiki oleh Nx Cloud?β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent memulai pemantau yang memeriksa status pipeline secara berkala, membaca hasilnya, dan memutuskan tindakan. Agent mengikuti batas yang ditetapkan untuk siklus, waktu, dan tingkat detail, serta menghormati instruksi yang Anda berikan.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Check
nx.jsonat workspace root fornxCloudIdornxCloudAccessTokenIf
nx.jsonmissing 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-cloudIf 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 --freshto 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 |
Pertanyaan umum
Apakah perlu Nx Cloud?
Ya. Skill ini membutuhkan koneksi ke Nx Cloud dan tidak mencakup sistem CI lain.
Bisakah saya membatasi berapa lama skill ini berjalan?
Bisa. Skill ini memiliki batas default untuk jumlah siklus dan total menit, yang bisa Anda ubah.
Apakah skill ini menjalankan tugas di komputer saya?
Tidak. Untuk menjalankan tugas secara lokal, skill ini menunjuk ke skill tugas Nx yang terpisah.
Detail
Deskripsi asli dari pembuat
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.
Popularitas
- Bintang GitHub
- 7.1k
- Peringkat
- #13571
- Lisensi
- β
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
component-common-domain-detection
7.1kMembantu agent Anda menemukan logika bisnis yang berulang di beberapa bagian basis kode dan menyarankan cara menggabungkannya.
component-flattening-analysis
7.1kMembantu agent Anda menemukan kode yang salah tempat dan meratakan struktur folder komponen yang berantakan, agar setiap bagian berada di tempat yang seharusnya.
component-identification-sizing
7.1kMembantu agent Anda memetakan bagian-bagian basis kode dan mengukur ukurannya, untuk menemukan modul mana yang sebaiknya dipecah lebih dulu.
coupling-analysis
7.1kMembantu agent Anda memeriksa seberapa erat bagian-bagian basis kode saling bergantung, dan koneksi mana yang sebaiknya dilonggarkan lebih dulu.
Skill serupa
openclaw-update
394kMembantu agent Anda memperbarui OpenClaw Gateway yang sudah ada, dengan memilih metode pembaruan yang sesuai cara pemasangannya dan menjaga sesi Anda tetap berjalan.
diagnose-gateway
394kMembantu agent Anda mencari tahu mengapa OpenClaw Gateway gagal dengan memeriksa pengaturan, channel, dan port tanpa mengubah apa pun.
crabbox-apps
394kMembantu agent Anda membuka dan menjalankan aplikasi di mesin cloud sementara, lalu menampilkan tampilannya di panel samping chat Anda.