nx-ci-monitor
यह क्या करती है
यह स्किल Nx Cloud की निरंतर इंटीग्रेशन (CI) रन पर नज़र रखती है और फ़ेल होने वाली चीज़ों को संभालने में मदद करती है, जिसमें अपने-आप सुधार की कोशिश भी शामिल है। यह Nx मोनोरिपो में काम करने वाले डेवलपर्स के लिए है जो मैन्युअल जाँच कम करना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप CI पाइपलाइन पूरी होने तक उस पर नज़र रखना चाहते हों।
- ✓जब Nx Cloud पाइपलाइन में बिल्ड फ़ेल हो और आप चाहते हों कि उसे संभाला जाए।
- ✓जब आप चाहते हों कि एजेंट तय समय और चक्र की सीमा में CI की गड़बड़ियाँ खुद ठीक करे।
Skill का लिंक
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 में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप मेरी ब्रांच के लिए CI रन देख सकते हैं और जो भी फ़ेल हो, जिसे Nx Cloud ठीक कर सके, उसे ठीक कर सकते हैं?”
हर हफ़्ते 5 नई skills, 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
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 |
अक्सर पूछे जाने वाले सवाल
क्या इसके लिए Nx Cloud चाहिए?
हाँ। स्किल के लिए 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.
लोकप्रियता
- GitHub स्टार
- 7.1k
- रैंकिंग में स्थान
- #13571
- लाइसेंस
- —
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
component-common-domain-detection
7.1kयह आपके एजेंट को कोडबेस के कई हिस्सों में दोहराए गए बिज़नेस लॉजिक को ढूँढने और उन्हें मिलाने का तरीका सुझाने में मदद करती है।
component-flattening-analysis
7.1kयह आपके एजेंट को गलत जगह रखा गया कोड ढूँढने और उलझे हुए कंपोनेंट फ़ोल्डर ढाँचे को सीधा करने में मदद करती है, ताकि हर चीज़ अपनी सही जगह रहे।
component-identification-sizing
7.1kयह आपके एजेंट को कोडबेस के हिस्सों का नक्शा बनाने और उनका आकार मापने में मदद करती है, ताकि पता चले कि पहले किस मॉड्यूल को तोड़ना है।
coupling-analysis
7.1kयह आपके एजेंट को जाँचने में मदद करती है कि कोडबेस के हिस्से एक-दूसरे पर कितनी कसकर निर्भर हैं, और पहले कौन से जोड़ ढीले करने चाहिए।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।