Logo Cc Devops Skills

Cc Devops Skills

Cộng đồng
seaworld008
cc-devops-skills

SRE, DevOps, Kubernetes, CI/CD, PromQL, Terraform, Docker, and incident operations playbook for building reliable delivery and operations workflows.

Add to TypingMind

Tổng quan

Nhà phát hànhseaworld008
Kho mãCommonly-used-high-value-skills
Tên kỹ năngcc-devops-skills
Sao
70
Bản fork
11
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được seaworld008 công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Cc Devops Skills trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/seaworld008/Commonly-used-high-value-skills/tree/main/openclaw-skills/cc-devops-skills
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/seaworld008/Commonly-used-high-value-skills.git /tmp/Commonly-used-high-value-skills
mkdir -p .claude/skills
cp -r /tmp/Commonly-used-high-value-skills/openclaw-skills/cc-devops-skills .claude/skills/cc-devops-skills
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Cc Devops Skills trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Cc Devops Skills ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Cc Devops Skills với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

CC DevOps Skills

Use this skill when working on infrastructure, delivery pipelines, Kubernetes operations, observability, PromQL, incident response, Terraform, Docker, shell automation, and reliability engineering. It provides a unified SRE/DevOps operating model rather than a single vendor-specific command set.

The skill is inspired by the Apache-2.0 cc-devops-skills repository, but this version is self-contained for this curated skill catalog.

When to Use

  • Designing, reviewing, or fixing CI/CD pipelines.
  • Creating or validating Kubernetes manifests, Helm values, Kustomize overlays, or deployment workflows.
  • Debugging pods, services, ingress, DNS, network policy, probes, autoscaling, or rollout issues.
  • Writing PromQL queries, alert rules, recording rules, SLO dashboards, or runbooks.
  • Building Dockerfiles, Compose stacks, image hardening, or multi-stage builds.
  • Reviewing Terraform, Terragrunt, Ansible, or infrastructure-as-code changes.
  • Handling incidents, postmortems, operational readiness, release safety, and rollback planning.
  • Improving reliability, deployment frequency, recovery time, observability, and operational toil.

Skip When

  • The task is pure application logic without deployment, runtime, reliability, or operational impact.
  • The user asks for business strategy, product design, or frontend-only polish.
  • A cloud-provider-specific skill already covers the whole task more precisely, such as a deep Azure Kubernetes operation.

Core Capabilities

  1. Translate product and engineering needs into reliable delivery systems.
  2. Build CI/CD workflows with clear stages, caching, artifact flow, gates, and rollback paths.
  3. Design Kubernetes resources with probes, requests, limits, disruption budgets, security context, and deployment strategy.
  4. Debug live clusters using repeatable evidence gathering.
  5. Write PromQL that respects labels, cardinality, windows, and alert semantics.
  6. Review infrastructure-as-code for drift, blast radius, secrets, and lifecycle risk.
  7. Harden containers and supply-chain paths.
  8. Produce incident runbooks and postmortem-ready timelines.

Operating Principles

  • Automate the path, but make the failure mode visible.
  • Prefer declarative infrastructure and reproducible builds.
  • Treat secrets as toxic data: never print, commit, or echo them.
  • Every alert needs an owner, severity, symptom, impact, and action.
  • Every deployment needs a rollback or forward-fix decision point.
  • Production changes should be observable before they are trusted.
  • CI should fail early on cheap checks and reserve expensive checks for later gates.
  • Kubernetes readiness is not the same as liveness; do not use one probe for both.
  • PromQL queries must be tested against expected label sets and time windows.

CI/CD Workflow

Use this pipeline shape unless the repo already has a stronger local convention:

yaml
stages:
  - lint
  - unit-test
  - build
  - security-scan
  - integration-test
  - package
  - deploy-staging
  - smoke-test
  - promote-production

For each stage, define:

  • Inputs and outputs.
  • Cache keys and invalidation rules.
  • Required secrets and their scope.
  • Failure ownership.
  • Timeout.
  • Retry policy.
  • Artifact retention.
  • Required status checks before merge.

CI/CD Review Checklist

  • Build is deterministic and does not depend on local developer state.
  • Lockfiles are respected.
  • Tests run in the same major runtime version used in production.
  • Secrets are read from the platform secret store, not committed files.
  • Deployment jobs require protected environments or approvals when needed.
  • The pipeline uploads test results, coverage, logs, and build artifacts.
  • Rollbacks are documented and tested.
  • Concurrency controls prevent two production deploys racing.
  • Scheduled jobs and branch filters cannot deploy unreviewed code.
  • Container images are pinned by digest for production where feasible.

Kubernetes Readiness Checklist

  • resources.requests and resources.limits are set with realistic values.
  • readinessProbe checks whether the pod can receive traffic.
  • livenessProbe checks whether the process should be restarted.
  • startupProbe protects slow boot paths.
  • PodDisruptionBudget exists for replicated workloads.
  • Deployment strategy is compatible with state and traffic behavior.
  • securityContext drops unnecessary privileges.
  • Service account permissions are least privilege.
  • ConfigMaps and Secrets are mounted or injected intentionally.
  • Ingress, service, and pod selectors match.
  • HPA metrics are stable and not based on noisy low-volume signals.
  • NetworkPolicy does not block required DNS, egress, or service traffic.

Kubernetes Debug Flow

Use a read-only evidence path first:

bash
kubectl get deploy,rs,pod,svc,ingress -n <namespace> -o wide
kubectl describe pod <pod> -n <namespace>
kubectl logs <pod> -n <namespace> --previous
kubectl get events -n <namespace> --sort-by=.lastTimestamp
kubectl rollout status deploy/<name> -n <namespace>

Then isolate by layer:

  • Scheduling: pending pods, taints, node pressure, quotas.
  • Image: pull errors, registry auth, platform mismatch.
  • Config: missing env vars, invalid secret keys, wrong mount paths.
  • Runtime: crash loops, OOMKilled, failed probes, dependency timeouts.
  • Network: service selector, endpoints, DNS, ingress, TLS, network policy.
  • Capacity: CPU throttling, memory pressure, queue depth, saturation.

PromQL Patterns

Use rate windows that match scrape interval and user impact.

promql
sum by (service) (
  rate(http_requests_total{status=~"5.."}[5m])
)
/
sum by (service) (
  rate(http_requests_total[5m])
)

For SLO burn alerts, prefer multi-window checks:

promql
(
  job:slo_errors_per_request:ratio_rate5m > 14.4 * 0.001
and
  job:slo_errors_per_request:ratio_rate1h > 14.4 * 0.001
)
or
(
  job:slo_errors_per_request:ratio_rate30m > 6 * 0.001
and
  job:slo_errors_per_request:ratio_rate6h > 6 * 0.001
)

PromQL Review Checklist

  • Query uses rate() or increase() for counters.
  • Aggregation keeps only labels needed for routing or diagnosis.
  • Regex matchers do not explode cardinality.
  • Alert window is long enough for the scrape interval.
  • Alert has for: where short spikes should not page.
  • Dashboard query and alert query agree on units.
  • Recording rules name the unit and aggregation.
  • Missing metrics are handled when absence itself is meaningful.

Terraform and IaC Checks

  • Pin provider versions.
  • Keep state backend remote, locked, and encrypted.
  • Review plan output for destructive actions before apply.
  • Use modules for repeated infrastructure, not for single-use complexity.
  • Keep secrets out of variables files and state where possible.
  • Add lifecycle rules only with a clear reason.
  • Detect drift before assuming code matches production.
  • Prefer small, reviewable plans over giant mixed changes.

Incident Response Flow

text
1. Declare incident and assign roles.
2. Define user impact and start timeline.
3. Stabilize: rollback, disable feature, scale, or shed load.
4. Gather evidence without destroying state.
5. Communicate status on a fixed cadence.
6. Resolve or mitigate.
7. Capture follow-up actions with owners and dates.

Anti-Patterns

  • Paging on symptoms nobody can act on.
  • Using CPU percentage alone as a service health signal.
  • Deploying without smoke tests or rollback instructions.
  • Running production migrations as an unobserved CI side effect.
  • Giving CI broad cloud credentials across all branches.
  • Using latest image tags in production.
  • Adding Kubernetes liveness probes that restart slow but healthy apps.
  • Writing PromQL with unbounded high-cardinality labels.

Output Format

For reviews:

markdown
## Findings
- Severity:
- Evidence:
- Impact:
- Fix:

## Validation
- Commands:
- Expected result:

For implementation:

markdown
## Plan
- Delivery path:
- Rollback:
- Observability:
- Security:

Boundaries

Do not run destructive cloud or cluster operations without explicit user approval. Prefer read-only inspection first. Never print or persist secrets.

Câu hỏi thường gặp

Kỹ năng AI Cc Devops Skills làm được gì?

SRE, DevOps, Kubernetes, CI/CD, PromQL, Terraform, Docker, and incident operations playbook for building reliable delivery and operations workflows.

Vì sao nên dùng Cc Devops Skills trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Cc Devops Skills là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Cc Devops Skills trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/seaworld008/Commonly-used-high-value-skills/tree/main/openclaw-skills/cc-devops-skills. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Cc Devops Skills?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Cc Devops Skills với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Cc Devops Skills với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Cc Devops Skills có miễn phí không?

Có. Kỹ năng này được seaworld008 phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇