devops-pipeline-builder
यह क्या करती है
यह agent software को build, test और deploy करने वाले automatic सिस्टम (जिन्हें CI/CD pipelines कहते हैं) बनाने और उन्हें मैनेज करने में मदद करता है। यह Docker containers और deployment strategies भी सेट कर सकता है।
कब इस्तेमाल करें
- ✓जब आप अपने code की delivery को automate करना चाहते हैं।
- ✓जब सेट करना हो कि आपकी application container में कैसे पैक होगी।
- ✓यह तय करते समय कि अपनी application को उपयोगकर्ताओं तक कैसे release करें।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/devops-pipeline-builder/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“Node.js web application के लिए CI/CD pipeline बनाओ जो Docker इस्तेमाल करे और Kubernetes पर deploy हो।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह आपके project की ज़रूरतों का विश्लेषण करता है, जैसे application का प्रकार और वह कहां चलेगी, और फिर सबसे अच्छी pipeline और deployment patterns सुझाता और सेट करता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
When to Use
- Use when this upstream workflow matches the user's stated goal.
- Use when the task requires the procedures documented in this skill.
DevOps Pipeline Builder
You are a DevOps engineer who has built and maintained pipelines processing millions of deployments. You design for reliability, speed, and security — in that order.
Decision Framework
Before writing any pipeline/config, establish:
- Project type: Web app, API, library, microservice, monolith?
- Language/stack: What build tools? What test framework?
- Deployment target: Docker, K8s, VM, serverless, static?
- Environment strategy: dev → staging → production?
- Compliance needs: SOC2? HIPAA? Any audit requirements?
- Team size: 1 person vs 50 devs changes the complexity budget
Pipeline Patterns
GitHub Actions — Standard Web App
name: CI/CD Pipeline
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- run: npm ci
- run: npm test
- run: npm run lint
# Security audit
- run: npm audit --audit-level=high
build-and-push:
needs: test
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v5
with:
context: .
push: true
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max
deploy:
needs: build-and-push
runs-on: ubuntu-latest
environment: production
steps:
- run: |
# Add deployment commands here
echo "Deploying ${{ github.sha }} to production"
Docker — Multi-stage Production Build
# Stage 1: Build
FROM node:22-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci --ignore-scripts
COPY . .
RUN npm run build
# Stage 2: Production
FROM node:22-alpine AS runner
WORKDIR /app
RUN addgroup --system --gid 1001 appgroup && \
adduser --system --uid 1001 appuser
COPY --from=builder /app/dist ./dist
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/package.json ./
USER appuser
EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=3s \
CMD wget -qO- http://localhost:3000/health || exit 1
CMD ["node", "dist/server.js"]
Deployment Strategy Decision Tree
Is zero-downtime required?
├── Yes
│ ├── Have load balancer/ingress?
│ │ ├── Yes → Blue/Green or Rolling Update
│ │ └── No → Canary with traffic splitting
│ └── Database migrations?
│ ├── Yes → Backward-compatible migrations first
│ └── No → Simple rolling update
└── No
├── Is it a dev/staging env?
│ └── Yes → Direct push, recreate containers
└── No → Why not? Add zero-downtime.
Common Anti-Patterns to Avoid
| Anti-Pattern | Why It's Bad | Fix |
|---|---|---|
latest tag in production |
Non-reproducible, untraceable | Use SHA or semver tags |
| Build secrets in Dockerfile | Visible in image layers | Multi-stage + build args |
| No health checks | Orchestration can't detect failures | Add HEALTHCHECK |
| Running as root | Security risk | Create non-root user |
| Giant Docker images | Slow pulls, attack surface | Multi-stage builds, alpine |
No .dockerignore |
Slow builds, leaked secrets | Create comprehensive .dockerignore |
| Hardcoded env vars | Inflexible, unsecretive | Runtime env injection |
| No pipeline caching | Slow CI, wasted compute | Cache layers and dependencies |
Infrastructure Checklist
For any production deployment, verify:
- Health check endpoint exists and checks all dependencies
- Graceful shutdown (SIGTERM handling)
- Structured logging (JSON, correlation IDs)
- Secrets management (not in env vars in K8s, use sealed secrets/vault)
- Resource limits set (CPU/memory requests and limits)
…
अक्सर पूछे जाने वाले सवाल
CI/CD pipeline क्या है?
यह automatic steps का एक सेट है जो आपके code को लेता है, उसकी जांच करता है और उसे उपयोगकर्ताओं तक release के लिए तैयार करता है, जिससे प्रक्रिया तेज़ और भरोसेमंद बनती है।
Docker क्या है?
यह एक tool है जो आपकी application और उसे चलाने के लिए ज़रूरी सब कुछ को एक मानक इकाई में पैक करता है, जिसे container कहते हैं, ताकि वह कहीं भी चले।
deployment strategies क्या हैं?
ये application को उपयोगकर्ताओं तक release करने के अलग-अलग तरीके हैं, जैसे 'blue/green' या 'rolling update', जिससे रुकावट और जोखिम कम हों।
जानकारी
लेखक का मूल विवरण
Design and implement CI/CD pipelines, Docker configurations, deployment strategies, and infrastructure automation with production-ready patterns.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #4451
- लाइसेंस
- 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यह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।