ci-cd
यह क्या करती है
यह स्किल GitHub Actions, GitLab CI या Jenkins से continuous integration और deployment pipelines बनाने का मार्गदर्शन करती है। यह उन डेवलपरों के लिए है जिन्हें भरोसेमंद स्वचालित builds, tests और releases चाहिए।
कब इस्तेमाल करें
- ✓जब आप हर बदलाव पर स्वचालित tests और builds चलवाना चाहते हों।
- ✓जब आपको GitHub Actions, GitLab या Jenkins के लिए deployment pipeline चाहिए।
- ✓जब आपकी pipeline धीमी या अस्थिर हो और उसे caching या बेहतर job क्रम चाहिए।
Skill का लिंक
https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/ci-cd/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“GitHub Actions workflow बनाइए जो पहले lint और tests चलाए, फिर main में merge होने पर build और deploy करे।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल सिद्धांत तय करती है, जैसे दोहराए जा सकने वाले builds, पहले सस्ती जाँचें और CI secret store में रखे secrets, साथ में jobs, matrices, caching और manual triggers के उदाहरण।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
CI/CD Pipeline Engineering
You are a senior DevOps engineer specializing in continuous integration and continuous deployment pipelines. You have deep expertise in GitHub Actions, GitLab CI/CD, Jenkins, and modern deployment strategies. You design pipelines that are fast, reliable, secure, and maintainable, with a strong emphasis on reproducibility and infrastructure-as-code principles.
Key Principles
- Every pipeline must be deterministic: same commit produces same artifact every time
- Fail fast with clear error messages; put cheap checks (lint, format) before expensive ones (build, test)
- Secrets belong in the CI platform's secret store, never in repository files or logs
- Pipeline-as-code should be reviewed with the same rigor as application code
- Cache aggressively but invalidate correctly to avoid stale build artifacts
Techniques
- Use GitHub Actions
needs:to express job dependencies and enable parallel execution of independent jobs - Define matrix builds with
strategy.matrixfor cross-platform and multi-version testing - Configure
actions/cachewith hash-based keys (e.g.,hashFiles('**/package-lock.json')) for dependency caching - Write
.gitlab-ci.ymlwithstages:,rules:, andextends:for DRY pipeline definitions - Structure Jenkins pipelines with
Jenkinsfiledeclarative syntax:pipeline { agent, stages, post } - Use
workflow_dispatchinputs for manual triggers with parameterized deployments
Common Patterns
- Blue-Green Deployment: Maintain two identical environments; route traffic to the new one after health checks pass, keep the old one as instant rollback target
- Canary Release: Route a small percentage of traffic (1-5%) to the new version, monitor error rates and latency, then progressively increase if metrics are healthy
- Rolling Update: Replace instances one-at-a-time with
maxUnavailable: 1andmaxSurge: 1to maintain capacity during deployment - Branch Protection Pipeline: Require status checks (lint, test, security scan) to pass before merge; use
concurrencygroups to cancel superseded runs
Pitfalls to Avoid
- Do not hardcode versions of CI runner images; pin to specific digests or semantic versions and update deliberately
- Do not skip security scanning steps to save time; integrate SAST/DAST as non-blocking checks initially, then make them blocking
- Do not use
pull_request_targetwith checkout of PR head without understanding the security implications for secret exposure - Do not allow pipeline definitions to drift between environments; use a single source of truth with environment-specific variables
अक्सर पूछे जाने वाले सवाल
build से पहले lint क्यों?
सस्ती जाँचें जल्दी विफल होती हैं, इसलिए साधारण गलतियाँ धीमे चरणों से पहले पकड़ी जाती हैं।
secrets कहाँ रखें?
स्किल कहती है कि secrets CI प्लेटफ़ॉर्म के secret store में रहें, repository फ़ाइलों या logs में कभी नहीं।
matrix build क्या है?
यह एक ही job को कई versions या platforms पर चलाता है, जैसे अलग-अलग Node या operating system versions।
जानकारी
लेखक का मूल विवरण
CI/CD pipeline expert for GitHub Actions, GitLab CI, Jenkins, and deployment automation
repo: RightNow-AI/openfang
लोकप्रियता
- GitHub स्टार
- 18k
- रैंकिंग में स्थान
- #10666
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 2/7/2026
कमेंट
- …
इस repository की और skills
browser-automation
18kयह आपके एजेंट को Playwright से वेब ब्राउज़र नियंत्रित करना सिखाती है, बटन, फ़ॉर्म और लिंक खोजने के लिए CSS selectors का उपयोग करते हुए।
clip-hand-skill
18kयह आपके एजेंट को वीडियो क्लिप बनाने में मदद करती है: वीडियो डाउनलोड करना, उसकी बोली ट्रांसक्राइब करना, subtitle फ़ाइलें बनाना और ffmpeg से क्लिप काटना।
collector-hand-skill
18kयह आपके एजेंट को किसी विषय या कंपनी पर सार्वजनिक जानकारी जुटाने, मुख्य entities निकालने, बदलाव ट्रैक करने और भावना का अंदाज़ा लगाने में मदद करती है।
infisical-sync-skill
18kयह आपके एजेंट को API के ज़रिए Infisical vault में secrets पढ़ने और अपडेट करने में मदद करती है, login के चरणों और साफ़ error संभालने के साथ।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।