ci-cd-pipeline-builder – skill DevOps & Hạ tầng cho agent AI
Tạo pipeline CI/CD thực tế từ tín hiệu stack của dự án được phát hiện — sinh cấu hình nền nhanh, kiểm tra lặp lại được, các giai đoạn triển khai nhận biết môi trường. Dùng khi thiết lập CI cho dự án mới, tái cấu trúc pipeline hiện có, hoặc chuẩn hóa quy trình triển khai trên nhiều repo.
Cài skill ci-cd-pipeline-builder bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/ci-cd-pipeline-builder-ae2a7.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /ci-cd-pipeline-builder – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/ci-cd-pipeline-builder-ae2a7.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $ci-cd-pipeline-builder – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/ci-cd-pipeline-builder-ae2a7.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /ci-cd-pipeline-builder – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/ci-cd-pipeline-builder-ae2a7.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /ci-cd-pipeline-builder – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
CI/CD Pipeline Builder
Tier: POWERFUL
Category: Engineering
Domain: DevOps / Automation
Overview
Use this skill to generate pragmatic CI/CD pipelines from detected project stack signals, not guesswork. It focuses on fast baseline generation, repeatable checks, and environment-aware deployment stages.
Core Capabilities
- Detect language/runtime/tooling from repository files
- Recommend CI stages (
lint,test,build,deploy) - Generate GitHub Actions or GitLab CI starter pipelines
- Include caching and matrix strategy based on detected stack
- Emit machine-readable detection output for automation
- Keep pipeline logic aligned with project lockfiles and build commands
When to Use
- Bootstrapping CI for a new repository
- Replacing brittle copied pipeline files
- Migrating between GitHub Actions and GitLab CI
- Auditing whether pipeline steps match actual stack
- Creating a reproducible baseline before custom hardening
Key Workflows
1. Detect Stack
python3 scripts/stack_detector.py --repo . --format text
python3 scripts/stack_detector.py --repo . --format json > detected-stack.jsonSupports input via stdin or --input file for offline analysis payloads.
2. Generate Pipeline From Detection
python3 scripts/pipeline_generator.py \
--input detected-stack.json \
--platform github \
--output .github/workflows/ci.yml \
--format textOr end-to-end from repo directly:
python3 scripts/pipeline_generator.py --repo . --platform gitlab --output .gitlab-ci.yml3. Validate Before Merge
1. Confirm commands exist in project (test, lint, build).
2. Run generated pipeline locally where possible.
3. Ensure required secrets/env vars are documented.
4. Keep deploy jobs gated by protected branches/environments.
4. Add Deployment Stages Safely
- Start with CI-only (
lint/test/build). - Add staging deploy with explicit environment context.
- Add production deploy with manual gate/approval.
- Keep rollout/rollback commands explicit and auditable.
Script Interfaces
python3 scripts/stack_detector.py --help- Detects stack signals from repository files
- Reads optional JSON input from stdin/
--input python3 scripts/pipeline_generator.py --help- Generates GitHub/GitLab YAML from detection payload
- Writes to stdout or
--output
References
- [references/pipeline-design-notes.md](references/pipeline-design-notes.md) — common pitfalls, best practices, detection heuristics, generation strategy, platform decision notes, pre-merge validation checklist, and scaling guidance
- [references/github-actions-templates.md](references/github-actions-templates.md)
- [references/gitlab-ci-templates.md](references/gitlab-ci-templates.md)
- [references/deployment-gates.md](references/deployment-gates.md)
- [README.md](README.md)
Skill liên quan
- auri-core – Auri: trợ lý giọng nói thông minh (Alexa + mô hình Claude đã cấu hình và xác minh). Tầm…
- hunt-k8s – Săn lỗ hổng Kubernetes & Docker — truy cập ẩn danh qua API, exec kubelet 10250…
- aws-agentic-ai – Chuyên gia toàn diện về AWS Bedrock AgentCore để triển khai và quản lý AI agent ở quy mô…
- grafana-dashboards – Tạo và quản lý dashboard Grafana production để trực quan hóa theo thời gian thực các…
- cloud-security – Dùng khi đánh giá hạ tầng cloud về cấu hình sai bảo mật, đường leo thang đặc quyền IAM…
- cmmc-readiness – Dùng khi nhà thầu hoặc nhà thầu phụ quốc phòng chuẩn bị cho đợt tự đánh giá CMMC 2.0…
- cmmc-readiness – Dùng khi nhà thầu hoặc nhà thầu phụ quốc phòng chuẩn bị cho đợt tự đánh giá CMMC 2.0…
- aws-cdk-development – Chuyên gia AWS Cloud Development Kit (CDK) xây dựng hạ tầng cloud bằng TypeScript/Python.