技能 when-automating-github-actions-use-workflow-automation
🔄

when-automating-github-actions-use-workflow-automation

安全 🌐 網路存取📁 檔案系統存取🔑 環境變數⚙️ 外部命令

أتمتة سير عمل GitHub Actions باستخدام وكلاء الذكاء الاصطناعي

إنشاء وصيانة خطوط CI/CD يدويًا يستغرق وقتًا طويلاً وعرضة للأخطاء. تنسق هذه المهارة وكلاء الذكاء الاصطناعي المتخصصين لتصميم وتنفيذ وتحسين وتصحيح أخطاء سير عمل GitHub Actions بشكل متوازٍ.

支援: Claude Codex Code(CC)
📊 69 充足
1

下載技能 ZIP

2

在 Claude 中上傳

前往 設定 → 功能 → 技能 → 上傳技能

3

開啟並開始使用

測試它

正在使用「when-automating-github-actions-use-workflow-automation」。 Create a CI/CD workflow for a Python project with pytest and Docker deployment

預期結果:

  • تم إنشاء هيكل سير العمل مع مراحل lint وtest وbuild وdeploy
  • تمت إضافة تكوين pytest مع تقارير التغطية
  • تم تنفيذ التخزين المؤقت لطبقات Docker باستخدام buildx
  • تم تكوين الفحص الأمني باستخدام CodeQL
  • تم إعداد عمليات النشر الخاصة بالبيئة للتدريج والإنتاج

正在使用「when-automating-github-actions-use-workflow-automation」。 My GitHub Actions workflow is slow. Analyze and optimize it

預期結果:

  • تم تحديد 3 اختناقات رئيسية في سير العمل الحالي
  • تم تنفيذ التخزين المؤقت للتبعيات لحزم Python وطبقات Docker
  • تم توازي المهام المستقلة التي كانت تعمل بشكل متسلسل
  • تمت إضافة تصفية المسار لتخطي تشغيل سير العمل غير الضروري
  • تم تقليل إجمالي وقت تنفيذ سير العمل بنسبة 45%

安全審計

安全
v5 • 1/17/2026

This is a documentation-only skill containing markdown documentation and prompt templates for AI agents. The static analyzer incorrectly flagged documentation examples as executable code. All 142 reported findings are false positives - there is no actual code execution, network access, or credential access in this skill package. Referenced scripts are external dependencies not bundled with the skill.

3
已掃描檔案
1,047
分析行數
4
發現項
5
審計總數

風險因素

🌐 網路存取 (3)
📁 檔案系統存取 (8)
🔑 環境變數 (6)
⚙️ 外部命令 (95)
SKILL.md:35-38 SKILL.md:38-42 SKILL.md:42-44 SKILL.md:44-46 SKILL.md:46-48 SKILL.md:48-50 SKILL.md:50-62 SKILL.md:62-72 SKILL.md:72-76 SKILL.md:76-91 SKILL.md:91-95 SKILL.md:95-109 SKILL.md:109-117 SKILL.md:117-131 SKILL.md:131-135 SKILL.md:135-149 SKILL.md:149-153 SKILL.md:153-168 SKILL.md:168-172 SKILL.md:172-186 SKILL.md:186-190 SKILL.md:190-204 SKILL.md:204-210 SKILL.md:210-223 SKILL.md:223-227 SKILL.md:227-236 SKILL.md:236-240 SKILL.md:240-256 SKILL.md:256-260 SKILL.md:260-273 SKILL.md:273-283 SKILL.md:283-290 SKILL.md:290-294 SKILL.md:294-308 SKILL.md:308-314 SKILL.md:314-327 SKILL.md:327-331 SKILL.md:331-345 SKILL.md:345-349 SKILL.md:349-362 SKILL.md:362-366 SKILL.md:366-379 SKILL.md:379-385 SKILL.md:385-391 SKILL.md:391-401 SKILL.md:401-408 SKILL.md:408-412 SKILL.md:412-425 SKILL.md:425-431 SKILL.md:431-437 SKILL.md:437-441 SKILL.md:441-455 SKILL.md:455-464 SKILL.md:464-472 SKILL.md:472-475 SKILL.md:475-480 SKILL.md:480-483 SKILL.md:483-487 SKILL.md:487-491 SKILL.md:491-502 SKILL.md:502-508 SKILL.md:508-526 SKILL.md:526-530 SKILL.md:530-550 SKILL.md:550-553 SKILL.md:553-561 SKILL.md:561-567 SKILL.md:567-584 SKILL.md:584-588 SKILL.md:588-596 SKILL.md:596-602 SKILL.md:602-609 SKILL.md:609-613 SKILL.md:613-619 SKILL.md:619-623 SKILL.md:623 SKILL.md:623-625 SKILL.md:625-629 SKILL.md:629-641 SKILL.md:641-649 SKILL.md:649-653 SKILL.md:653-654 SKILL.md:654-655 SKILL.md:655-656 SKILL.md:656-657 SKILL.md:657-658 SKILL.md:658-659 SKILL.md:659-660 SKILL.md:660-661 SKILL.md:661-662 SKILL.md:662-663 SKILL.md:663-664 SKILL.md:446 SKILL.md:447 SKILL.md:441-455
審計者: claude 查看審計歷史 →

品質評分

38
架構
100
可維護性
87
內容
20
社群
100
安全
87
規範符合性

你能建構什麼

بناء خطوط CI/CD

إنشاء سير عمل GitHub Actions جاهز للإنتاج مع أتمتة الاختبار والفحص الأمني والنشر

تعزيز أمان سير العمل

مراجعة وتعزيز سير عمل GitHub Actions ضد الثغرات الأمنية وهجمات سلسلة التوريد وكشف الأسرار

تصحيح أخطاء سير العمل الفاشل

تشخيص وإصلاح إخفاقات CI/CD بشكل منهجي بما في ذلك الاختبارات غير المستقرة والمهلات ومشاكل التبعيات

試試這些提示

إنشاء سير عمل جديد
Create a GitHub Actions CI/CD pipeline for my Node.js project with testing, linting, and deployment to npm
تحسين سير عمل بطيء
Analyze my existing workflow at .github/workflows/ci.yml and optimize it for faster execution with better caching
تصحيح أخطاء البناء الفاشل
Debug my failing GitHub Actions workflow. The build job times out on ubuntu-latest with Node 18
تنفيذ اختبار المصفوفة
Add matrix testing to my workflow to test across ubuntu-latest, macos-latest, windows-latest with Node 16, 18, 20

最佳實務

  • قم دائمًا بتثبيت GitHub Actions على SHAs للالتزام المحددة بدلاً من العلامات مثل @v1 أو @latest
  • استخدم الحد الأدنى من الأذونات (GITHUB_TOKEN) وحدد نطاق الأذونات على مستوى المهمة لأقل امتياز
  • قم بتنفيذ استراتيجيات التخزين المؤقت للتبعيات والمصنوعات المبنية وطبقات Docker لتقليل وقت التنفيذ

避免

  • استخدام @latest أو @main لإصدارات الإجراءات (مخاطر الأمان وقابلية الاستنساخ)
  • منح أذونات مفرطة لـ GITHUB_TOKEN تتجاوز ما تتطلبه المهام
  • تشغيل جميع المهام بشكل متسلسل عندما يمكن تنفيذ المهام المستقلة بشكل متوازٍ

常見問題

ما هي أدوات الذكاء الاصطناعي التي تدعم هذه المهارة؟
تعمل هذه المهارة مع Claude وCodex وClaude Code من خلال تكامل claude-flow MCP.
ما هي حدود المعدل لاستدعاءات GitHub Actions API؟
لدى GitHub API حد 5000 طلب في الساعة للمستخدمين المصادق عليهم. استخدم GITHUB_TOKEN للطلبات المصادق عليها.
كيف يمكنني دمج هذا مع سير عمل GitHub Actions الحالي؟
تقوم المهارة بتحليل ملفات .github/workflows/ الحالية وتقترح التحسينات أو تنشئ سير عمل متوازية.
هل بيانات المستودع الخاص بي آمنة مع هذه المهارة؟
نعم. تقرأ المهارة فقط ملفات سير العمل التي تقدمها صراحةً. لا تصل إلى بيانات المستودع الأخرى أو الأسرار.
لماذا يعمل سير العمل الخاص بي ببطء بعد التحسين؟
قد تكون التشغيلات الأولى أبطأ بسبب فقدان ذاكرة التخزين المؤقت. يجب أن تكون التشغيلات اللاحقة أسرع. تحقق من خصوصية مفتاح ذاكرة التخزين المؤقت.
كيف يتم مقارنة هذا بقوالب سير العمل الأصلية في GitHub؟
توفر هذه المهارة تخصيصًا مدعومًا بالذكاء الاصطناعي وتنسيق متعدد الوكلاء وأنماطًا متقدمة تتجاوز القوالب الأساسية.