شعار Cc Devops Skills

Cc Devops Skills

المجتمع
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

نظرة عامة

الناشرseaworld008
المستودعCommonly-used-high-value-skills
اسم المهارةcc-devops-skills
النجوم
70
التفريعات
11
الملفات المرفقة
تعليمات فقط
الترخيصApache-2.0
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها seaworld008 على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Cc Devops Skills في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/seaworld008/Commonly-used-high-value-skills/tree/main/openclaw-skills/cc-devops-skills
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Cc Devops Skills في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Cc Devops Skills تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Cc Devops Skills بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

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.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Cc Devops Skills؟

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

لماذا تستخدم Cc Devops Skills على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Cc Devops Skills عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Cc Devops Skills في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/seaworld008/Commonly-used-high-value-skills/tree/main/openclaw-skills/cc-devops-skills. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Cc Devops Skills؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Cc Devops Skills؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Cc Devops Skills معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Cc Devops Skills مجانية؟

نعم. نشرها seaworld008 على GitHub بموجب ترخيص Apache-2.0. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇