github-actions-debugger
यह क्या करती है
यह एजेंट GitHub Actions workflows में आने वाली गलतियों को खोजने और ठीक करने में मदद करता है। यह failure logs पढ़ता है और समस्या दूर करने के लिए ठीक-ठीक बदलाव सुझाता है।
कब इस्तेमाल करें
- ✓जब कोई GitHub Actions workflow फेल हो जाए और एरर साफ़ न समझ आए।
- ✓secrets, dependencies या environment configurations से जुड़ी समस्याएँ ठीक करने के लिए।
- ✓जब कोई workflow चलने में बहुत ज़्यादा समय ले रहा हो, तो उसे तेज़ करने के लिए।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/github-actions-debugger/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरा GitHub Actions workflow इस एरर के साथ फेल हो गया: 'Node.js 16 actions are deprecated'। मुझे क्या बदलना चाहिए?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह एरर logs और आपकी workflow परिभाषा (.yml file) का विश्लेषण करता है। फिर यह समस्या की असली जड़ पहचानता है और बताता है कि कौन-सी लाइन या configuration बदलनी है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
GitHub Actions Pipeline Debugger
Overview
This skill is designed to act as an expert CI/CD diagnostician. It focuses specifically on reading raw logs from failed GitHub Actions, identifying the root cause of the crash or failure, and outputting the precise YAML or code changes required to fix the pipeline.
When to Use
- Use when a GitHub Actions workflow fails unexpectedly and the error log is long, obscure, or misleading.
- Use when debugging dependency mismatch errors, missing secrets, caching issues, or runner environment problems in CI.
- Use to optimize slow pipelines by identifying bottlenecks in workflow steps.
- Use to update and modernize deprecated actions or workflow syntax.
How It Works
- Log Ingestion & Redaction: Analyze the provided GitHub Actions workflow log (often exported as a raw text file or pasted directly). CRITICAL SAFETY REQUIREMENT: The user/agent must redact all sensitive credentials, secrets, tokens, private keys, and internal system paths from the logs before pasting or uploading them.
- Context Mapping: Cross-reference the failure point with the specific step and job in the
.github/workflows/*.ymldefinition. - Root Cause Analysis: Identify if the failure is due to:
- Missing or misconfigured secrets (
${{ secrets.API_KEY }}). - Node/Python/OS environment version mismatches.
- Flaky tests or timeout limits.
- Syntax errors in bash scripts run within the
run:block. - Invalid action versions or deprecated actions.
- Missing or misconfigured secrets (
- Resolution Proposal: Provide a direct
diffof the.ymlfile or the underlying script that needs to be modified.
Best Practices
- Provide Full Context: Always review both the workflow definition (
.ymlfile) and the failure log simultaneously to ensure accurate diagnosis. - Check Action Versions: Many failures are caused by deprecated runtime versions (e.g., Node.js 16) in older third-party actions (e.g.,
actions/checkout@v2). Inspect the installed runner requirements and supported action release, verify upstream changes, and pin the reviewed full commit SHA. Do not assume a historical v4 example is latest. - Permissions Audit: Ensure the workflow has the correct
permissions:block if it's attempting to write to the repository, packages, or deploy environments. - Reproducibility: If a test fails in CI but passes locally, investigate environment differences such as timezone, headless browser state, memory limits, or parallel execution race conditions.
Examples
Example 1: Fixing a Deprecated Node.js Action Version Error
Failing Log:
Warning: The Go/Node.js/Python version used by this action is deprecated.
Error: Node.js 16 actions are deprecated. Please update to use Node.js 20.
Proposed Fix Diff:
- name: Checkout Code
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
Example 2: Diagnosing and Fixing a Missing Repository Secret
Failing Log:
Run npm run deploy
npm run deploy
shell: /usr/bin/bash -e {0}
Error: API Key is required for deployment. Process exited with code 1.
Proposed Fix Diff:
- name: Deploy App
run: npm run deploy
+ env:
+ DEPLOY_API_KEY: ${{ secrets.DEPLOY_API_KEY }}
Exact Run Binding
Record repository, run ID, attempt, event, head SHA, runner and failing step. Read the workflow and referenced scripts from that same commit, not merely current main. Separate source errors, permissions, missing tools and observation timeouts. Never weaken tests or required checks to obtain a green badge.
Security & Safety Notes
- Credential Exposure & Raw Log Redaction: Under no circumstances should raw logs containing unmasked secrets, private URLs, deployment targets, or tokens be processed without prior redaction. Always ensure the user or agent redacts all sensitive info before ingestion.
- Dry-Run Mode: When recommending modifications to bash script steps inside workflows, ensure you suggest adding flags like
--dry-runor staging execution where possible to prevent unintended side effects in downstream environments during debugging.
Limitations
- The skill cannot securely read repository secrets. It can only infer missing or malformed secrets if the log complains about undefined environment variables or authentication failures.
…
अक्सर पूछे जाने वाले सवाल
GitHub Actions क्या हैं?
ये स्वचालित काम हैं जो आपकी repository में कुछ होने पर चलते हैं, जैसे नया कोड push करने पर। ये आपके सॉफ़्टवेयर को अपने-आप टेस्ट और deploy करने में मदद करते हैं।
failure logs क्या होते हैं?
ये उस रिकॉर्ड को कहते हैं जिसमें किसी काम के चलने के दौरान हुई हर बात दर्ज होती है। काम फेल होने पर logs में एरर संदेश और उन चरणों का पता होता है जिनसे गलती हुई।
.yml file क्या होती है?
यह एक configuration file है जिसमें आप तय करते हैं कि GitHub Actions कैसे काम करे, कौन-से चरण फॉलो करे और कामों को कैसे स्वचालित करे।
जानकारी
लेखक का मूल विवरण
Specialized skill for diagnosing, analyzing, and fixing failing GitHub Actions workflows by parsing run logs and pipeline definitions.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #4744
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।