gh-fix-ci
تصحيح وإصلاح فحوصات GitHub CI الفاشلة
تعيق فحوصات CI/CD الفاشلة دمج طلبات السحب وتهدر وقت المطورين. تقوم هذه المهارة بفحص سير عمل GitHub Actions الفاشل، واستخراج سجلات الأخطاء، وإنشاء خطة إصلاح للموافقة عليها قبل تنفيذ التغييرات.
下載技能 ZIP
在 Claude 中上傳
前往 設定 → 功能 → 技能 → 上傳技能
開啟並開始使用
測試它
正在使用「gh-fix-ci」。 gh-fix-ci on PR #234 to fix the failing tests
預期結果:
- Found 2 failing GitHub Actions checks:
- build-and-test - Error: ModuleNotFoundError: No module named 'requests'
- lint-check - Error: E501 line too long (90 > 79 characters)
- Fix plan: 1. Add 'requests' to requirements.txt, 2. Split long lines in src/api.py (lines 45, 67, 89)
- Waiting for your approval before implementing...
正在使用「gh-fix-ci」。 gh-fix-ci on my PR to check why the build is failing
預期結果:
- Found 1 failing check: docker-build - Error: failed to solve with frontend dockerfile.v0
- The Dockerfile references a base image that does not exist: python:3.12-slim
- Fix plan: Update base image to python:3.11-slim or remove version constraint
- Do you approve this fix?
安全審計
低風險Documentation-only skill containing SKILL.md metadata. References gh CLI for GitHub operations. The static scanner misidentified GitHub CLI commands as cryptographic algorithms and command documentation as shell execution. This is a legitimate DevOps workflow automation tool with no executable code. All 41 findings are false positives.
風險因素
⚙️ 外部命令 (1)
品質評分
你能建構什麼
تصحيح أخطاء CI الإنتاجية
تشخيص سريع لسبب فشل فحوصات CI الإنتاجية والحصول على إصلاحات قابلة للتنفيذ دون البحث اليدوي في السجلات
إصلاح مشاكل CI الخاصة بطلب السحب
فهم وحل أخطاء CI في طلبات السحب الخاصة بك قبل طلب المراجعة
مراجعة مقترحات إصلاح CI
احصل على ملخصات واضحة لأخطاء CI ووافق على الإصلاحات المقترحة قبل التنفيذ
試試這些提示
gh-fix-ci on this PR to check for failing CI jobs, summarize the errors, and create a plan to fix them.
Use gh-fix-ci to inspect PR #42, pull the failing GitHub Actions logs, and explain what needs to change.
Run gh-fix-ci on this repo with --max-lines 100 to get detailed log context for the failing test job.
gh-fix-ci on this PR: find all failing checks, summarize each failure, propose a fix plan, and apply the fixes after I approve.
最佳實務
- قم بتشغيل gh auth login أولاً لضمان المصادقة الصحيحة مع نطاقات سير العمل
- قدم رقم طلب السحب المحدد أو عنوان URL لحل أسرع
- راجع خطة الإصلاح بعناية قبل منح الموافقة
避免
- التشغيل بدون تثبيت أو مصادقة gh CLI
- تخطي خطوة الموافقة للتغييرات الخطرة في الكود
- توقع الدعم لموفري CI من غير GitHub