deployment-pipeline-design
تصميم خطوط أنابيب CI/CD آمنة
Many teams deploy without clear stages or approvals and face risky releases. This skill gives proven pipeline structures and rollout strategies to improve safety and speed.
تنزيل ZIP المهارة
رفع في Claude
اذهب إلى Settings → Capabilities → Skills → Upload skill
فعّل وابدأ الاستخدام
اختبرها
استخدام "deployment-pipeline-design". Design a CI/CD pipeline with approval and rollback for a Kubernetes service.
النتيجة المتوقعة:
- Stages: Source, Build, Test, Staging Deploy, Integration Tests, Approval, Production Deploy, Verify, Rollback
- Approval: Manual gate after staging with a named approver group
- Deployment: Canary rollout with stepwise traffic shifts and health checks
استخدام "deployment-pipeline-design". How do I implement blue-green deployment for a database-backed application?
النتيجة المتوقعة:
- Create parallel production environments (blue=current, green=new)
- Deploy green version alongside blue with identical infrastructure
- Run smoke tests against green before switching traffic
- Keep blue running for instant rollback if issues arise
استخدام "deployment-pipeline-design". What metrics should I track to measure deployment success?
النتيجة المتوقعة:
- Deployment frequency: how often you deploy to production
- Lead time: time from code commit to production deployment
- Change failure rate: percentage of deployments causing failures
- Mean time to recovery: how quickly you restore service after incidents
التدقيق الأمني
آمنPure documentation skill containing only markdown explanations and YAML/JSON example snippets. All static findings are false positives triggered by example code patterns in documentation. No executable scripts, network calls, filesystem access, or credential handling code exists. The skill is a reference guide for CI/CD architecture patterns.
عوامل الخطر
🌐 الوصول إلى الشبكة (4)
⚙️ الأوامر الخارجية (32)
🔑 متغيرات البيئة (1)
درجة الجودة
ماذا يمكنك بناءه
خطة خط أنابيب متعددة المراحل
إنشاء تصميم CI/CD مرحلي مع الموافقات وفحوصات السلامة لإصدارات الإنتاج.
توحيد استراتيجية النشر
اختيار استراتيجيات التدحرج أو الأزرق والأخضر أو الكناري لإصدارات منصة متسقة.
دليل حوكمة الإصدارات
تعريف بوابات الموافقة وخطوات التحقق للتغييرات المُتحكَّم بها في الإنتاج.
جرّب هذه الموجهات
Draft a simple multi-stage CI/CD pipeline for a web app with build, test, staging, approval, and production deploy.
Propose approval gate patterns for GitHub Actions and Azure Pipelines, including who approves and when.
Compare rolling, blue-green, and canary strategies for a high-traffic API and recommend one.
Design a full CI/CD pipeline with security scans, staging tests, approval, canary deploy, verification, and rollback.
أفضل الممارسات
- Fail fast with quick tests before long-running jobs
- Use environment parity between staging and production
- Automate rollback based on health checks and error rates
تجنب
- Skipping approval gates for high-risk production changes
- Deploying without post-deploy verification or monitoring
- Using a single stage for build, test, and deploy