[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F8EFXR1HGP6TEEVH0BXRTD":3,"skill-same:01M6F8EFXR1HGP6TEEVH0BXRTD":73},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":31,"commitSha":53,"skillDirectory":54,"forksCount":55,"repositoryHtmlUrl":56,"repositoryHomepageUrl":6,"ownerHtmlUrl":57,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":58,"install":59,"resources":72},"01M6F8EFXR1HGP6TEEVH0BXRTD","llmops-platform-engineering",null,"Build production LLMOps platforms with CI\u002FCD, model promotion workflows, evaluation gates, rollback, and governance across cloud and self-hosted inference.","boisenoise\u002Fskills-collections","boisenoise","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F193180?v=4","01M6CDBDQK6BDN55ZMA6B6PKBM","01M6CDBDVSJ3JPTBYN26FZ7TZK",13,"MIT","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-llmops-platform-engineering\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"llmops","engineering","llmops platform engineering","platform","platform engineering","2026","workflows","CI\u002FCD","relevant","scripts","critical","across","self","main","community","only","model","access","devops-security","Evaluation","ci","2026-11-10 10:12:30",false,"---\nname: llmops-platform-engineering\ndescription: Build production LLMOps platforms with CI\u002FCD, model promotion workflows,\n  evaluation gates, rollback, and governance across cloud and self-hosted inference.\ncategory: devops\nrisk: critical\nsource: https:\u002F\u002Fgithub.com\u002FBagelHole\u002FDevOps-Security-Agent-Skills\nsource_repo: BagelHole\u002FDevOps-Security-Agent-Skills\nsource_type: community\ndate_added: '2026-09-20'\nlicense: MIT\nlicense_source: https:\u002F\u002Fgithub.com\u002FBagelHole\u002FDevOps-Security-Agent-Skills\u002Fblob\u002Fmain\u002FLICENSE\ncompatibility: Requires the relevant platform CLIs (kubectl, helm, terraform, git,\n  CI runners) and authorized access to the target environment. Docs-only; helper scripts\n  and templates not bundled.\nmetadata:\n  author: devops-skills\n  version: '1.0'\n---\n\n# LLMOps Platform Engineering\n\nDesign and operate an internal LLM platform that supports rapid experimentation without compromising reliability, cost, or compliance.\n\n## When to Use This Skill\n\n- Building an internal platform for teams to deploy and manage LLM-powered features\n- Designing CI\u002FCD pipelines that include model evaluation gates\n- Setting up A\u002FB testing infrastructure for model versions\n- Creating Kubernetes-based model serving infrastructure\n- Establishing governance workflows for model promotion\n\n## Prerequisites\n\n- Kubernetes cluster with GPU node pools (or cloud inference API access)\n- Container registry (Harbor, ECR, GCR, or ACR)\n- CI\u002FCD system (GitHub Actions, GitLab CI, or Argo Workflows)\n- Observability stack (Prometheus + Grafana + OpenTelemetry)\n- Model registry (MLflow or custom metadata store)\n\n## Outcomes\n\n- Standardized path from experiment to production\n- Safe model rollout with quality and safety gates\n- Repeatable infra modules for inference, vector DB, and observability\n- Clear ownership model across platform, app, and security teams\n\n## Reference Architecture\n\n1. **Control Plane**: model registry, prompt\u002Fversion catalog, policy checks, eval pipeline.\n2. **Data Plane**: inference gateway, vector database, cache, feature store.\n3. **Ops Plane**: telemetry, alerting, SLO dashboards, cost analytics.\n4. **Security Plane**: IAM boundaries, secret rotation, content filters, audit logs.\n\n## Model Promotion Pipeline\n\n```yaml\n# .github\u002Fworkflows\u002Fmodel-promotion.yaml\nname: Model Promotion Pipeline\non:\n  workflow_dispatch:\n    inputs:\n      model_name:\n        description: \"Model identifier\"\n        required: true\n      model_version:\n        description: \"Model version to promote\"\n        required: true\n      target_env:\n        description: \"Target environment\"\n        required: true\n        type: choice\n        options: [staging, production]\n\nenv:\n  MODEL_NAME: ${{ inputs.model_name }}\n  MODEL_VERSION: ${{ inputs.model_version }}\n  TARGET_ENV: ${{ inputs.target_env }}\n\njobs:\n  evaluate:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Validate model identifiers\n        shell: bash\n        run: |\n          [[ \"$MODEL_NAME\" =~ ^[a-z0-9][a-z0-9.-]*$ ]]\n          [[ \"$MODEL_VERSION\" =~ ^[A-Za-z0-9_][A-Za-z0-9_.-]*$ ]]\n\n      - name: Run quality evaluation suite\n        run: |\n          python -m evals.run \\\n            --model \"${MODEL_NAME}:${MODEL_VERSION}\" \\\n            --suite quality \\\n            --output results\u002Fquality.json\n\n      - name: Run safety evaluation suite\n        run: |\n          python -m evals.run \\\n            --model \"${MODEL_NAME}:${MODEL_VERSION}\" \\\n            --suite safety \\\n            --output results\u002Fsafety.json\n\n      - name: Run latency benchmark\n        run: |\n          python -m evals.benchmark \\\n            --model \"${MODEL_NAME}:${MODEL_VERSION}\" \\\n            --concurrent-users 50 \\\n            --duration 300 \\\n            --output results\u002Flatency.json\n\n      - name: Gate check - quality\n        run: |\n          python -m evals.gate_check \\\n            --results results\u002Fquality.json \\\n            --threshold-file thresholds\u002Fquality.yaml\n\n      - name: Gate check - safety\n        run: |\n          python -m evals.gate_check \\\n            --results results\u002Fsafety.json \\\n            --threshold-file thresholds\u002Fsafety.yaml\n\n      - name: Gate check - latency\n        run: |\n          python -m evals.gate_check \\\n            --results results\u002Flatency.json \\\n            --threshold-file thresholds\u002Flatency.yaml\n\n      - name: Upload eval evidence\n        uses: actions\u002Fupload-artifact@v4\n        with:\n          name: eval-results-${{ inputs.model_version }}\n          path: results\u002F\n\n  approve:\n    needs: evaluate\n    runs-on: ubuntu-latest\n    environment: ${{ inputs.target_env }}\n    steps:\n      - name: Record approval\n        run: |\n          echo \"Approved by: ${{ github.actor }}\"\n          echo \"Model: ${MODEL_NAME}:${MODEL_VERSION}\"\n          echo \"Target: ${TARGET_ENV}\"\n          echo \"Time: $(date -u +%Y-%m-%dT%H:%M:%SZ)\"\n\n  deploy:\n    needs: approve\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Deploy canary\n        run: |\n          kubectl set image deployment\u002F${MODEL_NAME}-canary \\\n            model=${MODEL_NAME}:${MODEL_VERSION} \\\n            -n ai-${TARGET_ENV}\n\n      - name: Wait for canary validation (15 min)\n        run: |\n          python -m canary.validate \\\n            --deployment ${MODEL_NAME}-canary \\\n            --namespace ai-${TARGET_ENV} \\\n            --duration 900 \\\n            --quality-threshold 0.85 \\\n            --error-rate-threshold 0.02\n\n      - name: Promote to full rollout\n        run: |\n          kubectl set image deployment\u002F${MODEL_NAME} \\\n            model=${MODEL_NAME}:${MODEL_VERSION} \\\n            -n ai-${TARGET_ENV}\n          kubectl rollout status deployment\u002F${MODEL_NAME} \\\n            -n ai-${TARGET_ENV} --timeout=300s\n```\n\nThe `evals`, `canary`, thresholds, registry, cluster authentication and protected environment approval rules are application-owned prerequisites, not bundled implementations. Require configured production reviewers; a job named approve does not itself require human approval. Record the evaluated immutable image digest and deploy that same digest; the tag-based snippets are illustrative.\n\n## Evaluation Gate Thresholds\n\n```yaml\n# thresholds\u002Fquality.yaml\ngates:\n  groundedness:\n    metric: groundedness_score\n    min: 0.85\n    comparison: gte\n  task_success:\n    metric: task_success_rate\n    min: 0.90\n    comparison: gte\n  hallucination:\n    metric: hallucination_rate\n    max: 0.08\n    comparison: lte\n  regression:\n    metric: quality_delta_vs_baseline\n    min: -0.02\n    comparison: gte\n    description: \"Must not regress more than 2% vs current production\"\n\n# thresholds\u002Flatency.yaml\ngates:\n  p50_latency:\n    metric: latency_p50_ms\n    max: 800\n    comparison: lte\n  p95_latency:\n    metric: latency_p95_ms\n    max: 2000\n    comparison: lte\n  p99_latency:\n    metric: latency_p99_ms\n    max: 5000\n    comparison: lte\n  throughput:\n    metric: requests_per_second\n    min: 50\n    comparison: gte\n```\n\n## A\u002FB Testing Configuration\n\n```yaml\n# ab-test-config.yaml\napiVersion: gateway.ai\u002Fv1\nkind: ABTest\nmetadata:\n  name: model-comparison-q1\n  namespace: ai-production\nspec:\n  duration: 7d\n  traffic_split:\n    control:\n      model: example-control-model\n      weight: 70\n    treatment:\n      model: example-treatment-model\n      weight: 30\n  metrics:\n    primary:\n      - task_success_rate\n      - user_satisfaction_score\n    secondary:\n      - latency_p95\n      - cost_per_request\n      - hallucination_rate\n  guardrails:\n    auto_rollback_if:\n      - metric: task_success_rate\n        threshold: 0.80\n        window: 1h\n      - metric: hallucination_rate\n        threshold: 0.15\n        window: 30m\n  assignment:\n    strategy: sticky_user\n    hash_key: user_id\n```\n\n`gateway.ai\u002Fv1` is an illustrative custom resource; it requires your own installed CRD\u002Fcontroller. Model IDs are placeholders, not available provider snapshots.\n\n## Kubernetes Model Serving Deployment\n\n```yaml\n# model-serving-deployment.yaml\napiVersion: apps\u002Fv1\nkind: Deployment\nmetadata:\n  name: llm-inference\n  namespace: ai-production\n  labels:\n    app: llm-inference\n    model: local-open-weights\n    version: \"2025-01\"\nspec:\n  replicas: 3\n  strategy:\n    type: RollingUpdate\n    rollingUpdate:\n      maxSurge: 1\n      maxUnavailable: 0\n  selector:\n    matchLabels:\n      app: llm-inference\n  template:\n    metadata:\n      labels:\n        app: llm-inference\n        model: local-open-weights\n      annotations:\n        prometheus.io\u002Fscrape: \"true\"\n        prometheus.io\u002Fport: \"8000\"\n        prometheus.io\u002Fpath: \"\u002Fmetrics\"\n    spec:\n      topologySpreadConstraints:\n        - maxSkew: 1\n          topologyKey: topology.kubernetes.io\u002Fzone\n          whenUnsatisfiable: DoNotSchedule\n          labelSelector:\n            matchLabels:\n              app: llm-inference\n      containers:\n        - name: model\n          image: registry.internal\u002Fvllm-server:0.4.1\n          args:\n            - \"--model=\u002Fmodels\u002Fcurrent\"\n            - \"--tensor-parallel-size=1\"\n            - \"--max-model-len=8192\"\n            - \"--gpu-memory-utilization=0.90\"\n          ports:\n            - containerPort: 8000\n              name: inference\n          resources:\n            requests:\n              cpu: \"4\"\n              memory: \"16Gi\"\n              nvidia.com\u002Fgpu: \"1\"\n            limits:\n              cpu: \"8\"\n              memory: \"32Gi\"\n              nvidia.com\u002Fgpu: \"1\"\n          readinessProbe:\n            httpGet:\n              path: \u002Fhealth\n              port: 8000\n            initialDelaySeconds: 60\n            periodSeconds: 10\n          livenessProbe:\n            httpGet:\n              path: \u002Fhealth\n              port: 8000\n            initialDelaySeconds: 120\n            periodSeconds: 30\n          volumeMounts:\n            - name: model-weights\n              mountPath: \u002Fmodels\n              readOnly: true\n            - name: config\n              mountPath: \u002Fetc\u002Fvllm\n      volumes:\n        - name: model-weights\n          persistentVolumeClaim:\n            claimName: model-weights-pvc\n        - name: config\n          configMap:\n            name: vllm-config\n      tolerations:\n        - key: nvidia.com\u002Fgpu\n          operator: Exists\n          effect: NoSchedule\n      nodeSelector:\n        gpu-type: a100\n---\napiVersion: v1\nkind: Service\nmetadata:\n  name: llm-inference\n  namespace: ai-production\nspec:\n  selector:\n    app: llm-inference\n  ports:\n    - name: inference\n      port: 8000\n      targetPort: 8000\n---\napiVersion: autoscaling\u002Fv2\nkind: HorizontalPodAutoscaler\nmetadata:\n  name: llm-inference-hpa\n  namespace: ai-production\nspec:\n  scaleTargetRef:\n    apiVersion: apps\u002Fv1\n    kind: Deployment\n    name: llm-inference\n  minReplicas: 2\n  maxReplicas: 10\n  metrics:\n    - type: Pods\n      pods:\n        metric:\n          name: llm_queue_depth\n        target:\n          type: AverageValue\n          averageValue: \"5\"\n    - type: Pods\n      pods:\n        metric:\n          name: gpu_utilization_percent\n        target:\n          type: AverageValue\n          averageValue: \"75\"\n  behavior:\n    scaleUp:\n      stabilizationWindowSeconds: 60\n      policies:\n        - type: Pods\n          value: 2\n          periodSeconds: 120\n    scaleDown:\n      stabilizationWindowSeconds: 300\n      policies:\n        - type: Pods\n          value: 1\n          periodSeconds: 300\n```\n\nThe deployment serves locally available open model weights, not proprietary hosted models. Provision the PVC and ConfigMap, choose a tested serving image, and install a custom-metrics adapter for the HPA metrics. Metrics use the inference port in this example.\n\n## CI\u002FCD Design for AI Services\n\n- Build immutable containers with pinned dependencies and model hashes.\n- Use environment promotion: `dev -> stage -> prod`.\n- Fail deployment if:\n  - regression evals drop below baseline,\n  - safety tests exceed risk threshold,\n  - p95 latency exceeds SLO budget.\n- Store deployment evidence for audits (commit SHA, eval report, approver).\n\n## Operational SLOs\n\n| Signal | Target | Measurement Window |\n|--------|--------|--------------------|\n| Availability | 99.9% | 30-day rolling |\n| p95 Latency | \u003C 1200ms | 5-min buckets |\n| Cost per request | \u003C $0.05 | 1-hour average |\n| Task success rate | > 90% | 24-hour rolling |\n| Groundedness | > 85% | 24-hour rolling |\n\n## Platform Guardrails\n\n- Enforce tenant quotas and model allow-lists.\n- Require structured output contracts for automation paths.\n- Default to low-risk model settings for critical workflows.\n- Disable unconstrained tool execution in production.\n\n## Tooling Stack (Example)\n\n| Layer | Tools |\n|-------|-------|\n| Orchestration | Argo Workflows, GitHub Actions, Airflow |\n| Model Registry | MLflow, custom metadata DB |\n| Gateway | LiteLLM, Bifrost, Envoy-based API gateway |\n| Observability | OpenTelemetry + Prometheus + Grafana + Langfuse |\n| Policy | OPA\u002FRego for deployment and runtime checks |\n| Evaluation | RAGAS, custom eval harness, Promptfoo |\n| Serving | vLLM, TGI, Triton Inference Server |\n\n## Troubleshooting\n\n| Issue | Diagnosis | Resolution |\n|-------|-----------|------------|\n| Canary fails quality gate | Compare eval results with baseline | Adjust model config or revert version |\n| Deployment stuck in rollout | Check pod events and resource quotas | Fix resource limits or node availability |\n| A\u002FB test shows no significant difference | Verify traffic split and sample size | Extend test duration or increase treatment weight |\n| Model cold start too slow | Large model weight download | Use pre-cached PVCs or init containers |\n| Eval pipeline flaky | Non-deterministic model outputs | Set temperature=0 for evals, increase sample size |\n\n## Related Skills\n\n- ai-pipeline-orchestration (`ai-pipeline-orchestration`) - Orchestrate ingestion and inference workflows\n- agent-evals (`agent-evals`) - Build evaluation gates for releases\n- llm-gateway (`llm-gateway`) - Route and control LLM traffic\n- model-registry-governance (`model-registry-governance`) - Model lifecycle and approval workflows\n- ai-sre-incident-response (`ai-sre-incident-response`) - AI-specific incident response\n\n## Limitations\n\n- Guidance executes against real environments: confirm target, blast radius, and rollback plan before applying anything.\n- Never deploy to production without explicit approval. Docs-only import: upstream scripts and templates not bundled.\n\n### Example\n\n```bash\ngit status && git diff --stat\nkubectl diff -f manifest.yaml\n```\n\n> Adapted from [BagelHole\u002FDevOps-Security-Agent-Skills](https:\u002F\u002Fgithub.com\u002FBagelHole\u002FDevOps-Security-Agent-Skills) (MIT); frontmatter, When to Use\u002FLimitations, and safety boundaries added for upstream compliance. Docs-only import: helper scripts and templates not bundled.\n","# LLMOps Platform Engineering\n\nDesign and operate an internal LLM platform that supports rapid experimentation without compromising reliability, cost, or compliance.\n\n## When to Use This Skill\n\n- Building an internal platform for teams to deploy and manage LLM-powered features\n- Designing CI\u002FCD pipelines that include model evaluation gates\n- Setting up A\u002FB testing infrastructure for model versions\n- Creating Kubernetes-based model serving infrastructure\n- Establishing governance workflows for model promotion\n\n## Prerequisites\n\n- Kubernetes cluster with GPU node pools (or cloud inference API access)\n- Container registry (Harbor, ECR, GCR, or ACR)\n- CI\u002FCD system (GitHub Actions, GitLab CI, or Argo Workflows)\n- Observability stack (Prometheus + Grafana + OpenTelemetry)\n- Model registry (MLflow or custom metadata store)\n\n## Outcomes\n\n- Standardized path from experiment to production\n- Safe model rollout with quality and safety gates\n- Repeatable infra modules for inference, vector DB, and observability\n- Clear ownership model across platform, app, and security teams\n\n## Reference Architecture\n\n1. **Control Plane**: model registry, prompt\u002Fversion catalog, policy checks, eval pipeline.\n2. **Data Plane**: inference gateway, vector database, cache, feature store.\n3. **Ops Plane**: telemetry, alerting, SLO dashboards, cost analytics.\n4. **Security Plane**: IAM boundaries, secret rotation, content filters, audit logs.\n\n## Model Promotion Pipeline\n\n```yaml\n# .github\u002Fworkflows\u002Fmodel-promotion.yaml\nname: Model Promotion Pipeline\non:\n  workflow_dispatch:\n    inputs:\n      model_name:\n        description: \"Model identifier\"\n        required: true\n      model_version:\n        description: \"Model version to promote\"\n        required: true\n      target_env:\n        description: \"Target environment\"\n        required: true\n        type: choice\n        options: [staging, production]\n\nenv:\n  MODEL_NAME: ${{ inputs.model_name }}\n  MODEL_VERSION: ${{ inputs.model_version }}\n  TARGET_ENV: ${{ inputs.target_env }}\n\njobs:\n  evaluate:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Validate model identifiers\n        shell: bash\n        run: |\n          [[ \"$MODEL_NAME\" =~ ^[a-z0-9][a-z0-9.-]*$ ]]\n          [[ \"$MODEL_VERSION\" =~ ^[A-Za-z0-9_][A-Za-z0-9_.-]*$ ]]\n\n      - name: Run quality evaluation suite\n        run: |\n          python -m evals.run \\\n            --model \"${MODEL_NAME}:${MODEL_VERSION}\" \\\n            --suite quality \\\n            --output results\u002Fquality.json\n\n      - name: Run safety evaluation suite\n        run: |\n          python -m evals.run \\\n            --model \"${MODEL_NAME}:${MODEL_VERSION}\" \\\n            --suite safety \\\n            --output results\u002Fsafety.json\n\n      - name: Run latency benchmark\n        run: |\n          python -m evals.benchmark \\\n            --model \"${MODEL_NAME}:${MODEL_VERSION}\" \\\n            --concurrent-users 50 \\\n            --duration 300 \\\n            --output results\u002Flatency.json\n\n      - name: Gate check - quality\n        run: |\n          python -m evals.gate_check \\\n            --results results\u002Fquality.json \\\n            --threshold-file thresholds\u002Fquality.yaml\n\n      - name: Gate check - safety\n        run: |\n          python -m evals.gate_check \\\n            --results results\u002Fsafety.json \\\n            --threshold-file thresholds\u002Fsafety.yaml\n\n      - name: Gate check - latency\n        run: |\n          python -m evals.gate_check \\\n            --results results\u002Flatency.json \\\n            --threshold-file thresholds\u002Flatency.yaml\n\n      - name: Upload eval evidence\n        uses: actions\u002Fupload-artifact@v4\n        with:\n          name: eval-results-${{ inputs.model_version }}\n          path: results\u002F\n\n  approve:\n    needs: evaluate\n    runs-on: ubuntu-latest\n    environment: ${{ inputs.target_env }}\n    steps:\n      - name: Record approval\n        run: |\n          echo \"Approved by: ${{ github.actor }}\"\n          echo \"Model: ${MODEL_NAME}:${MODEL_VERSION}\"\n          echo \"Target: ${TARGET_ENV}\"\n          echo \"Time: $(date -u +%Y-%m-%dT%H:%M:%SZ)\"\n\n  deploy:\n    needs: approve\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Deploy canary\n        run: |\n          kubectl set image deployment\u002F${MODEL_NAME}-canary \\\n            model=${MODEL_NAME}:${MODEL_VERSION} \\\n            -n ai-${TARGET_ENV}\n\n      - name: Wait for canary validation (15 min)\n        run: |\n          python -m canary.validate \\\n            --deployment ${MODEL_NAME}-canary \\\n            --namespace ai-${TARGET_ENV} \\\n            --duration 900 \\\n            --quality-threshold 0.85 \\\n            --error-rate-threshold 0.02\n\n      - name: Promote to full rollout\n        run: |\n          kubectl set image deployment\u002F${MODEL_NAME} \\\n            model=${MODEL_NAME}:${MODEL_VERSION} \\\n            -n ai-${TARGET_ENV}\n          kubectl rollout status deployment\u002F${MODEL_NAME} \\\n            -n ai-${TARGET_ENV} --timeout=300s\n```\n\nThe `evals`, `canary`, thresholds, registry, cluster authentication and protected environment approval rules are application-owned prerequisites, not bundled implementations. Require configured production reviewers; a job named approve does not itself require human approval. Record the evaluated immutable image digest and deploy that same digest; the tag-based snippets are illustrative.\n\n## Evaluation Gate Thresholds\n\n```yaml\n# thresholds\u002Fquality.yaml\ngates:\n  groundedness:\n    metric: groundedness_score\n    min: 0.85\n    comparison: gte\n  task_success:\n    metric: task_success_rate\n    min: 0.90\n    comparison: gte\n  hallucination:\n    metric: hallucination_rate\n    max: 0.08\n    comparison: lte\n  regression:\n    metric: quality_delta_vs_baseline\n    min: -0.02\n    comparison: gte\n    description: \"Must not regress more than 2% vs current production\"\n\n# thresholds\u002Flatency.yaml\ngates:\n  p50_latency:\n    metric: latency_p50_ms\n    max: 800\n    comparison: lte\n  p95_latency:\n    metric: latency_p95_ms\n    max: 2000\n    comparison: lte\n  p99_latency:\n    metric: latency_p99_ms\n    max: 5000\n    comparison: lte\n  throughput:\n    metric: requests_per_second\n    min: 50\n    comparison: gte\n```\n\n## A\u002FB Testing Configuration\n\n```yaml\n# ab-test-config.yaml\napiVersion: gateway.ai\u002Fv1\nkind: ABTest\nmetadata:\n  name: model-comparison-q1\n  namespace: ai-production\nspec:\n  duration: 7d\n  traffic_split:\n    control:\n      model: example-control-model\n      weight: 70\n    treatment:\n      model: example-treatment-model\n      weight: 30\n  metrics:\n    primary:\n      - task_success_rate\n      - user_satisfaction_score\n    secondary:\n      - latency_p95\n      - cost_per_request\n      - hallucination_rate\n  guardrails:\n    auto_rollback_if:\n      - metric: task_success_rate\n        threshold: 0.80\n        window: 1h\n      - metric: hallucination_rate\n        threshold: 0.15\n        window: 30m\n  assignment:\n    strategy: sticky_user\n    hash_key: user_id\n```\n\n`gateway.ai\u002Fv1` is an illustrative custom resource; it requires your own installed CRD\u002Fcontroller. Model IDs are placeholders, not available provider snapshots.\n\n## Kubernetes Model Serving Deployment\n\n```yaml\n# model-serving-deployment.yaml\napiVersion: apps\u002Fv1\nkind: Deployment\nmetadata:\n  name: llm-inference\n  namespace: ai-production\n  labels:\n    app: llm-inference\n    model: local-open-weights\n    version: \"2025-01\"\nspec:\n  replicas: 3\n  strategy:\n    type: RollingUpdate\n    rollingUpdate:\n      maxSurge: 1\n      maxUnavailable: 0\n  selector:\n    matchLabels:\n      app: llm-inference\n  template:\n    metadata:\n      labels:\n        app: llm-inference\n        model: local-open-weights\n      annotations:\n        prometheus.io\u002Fscrape: \"true\"\n        prometheus.io\u002Fport: \"8000\"\n        prometheus.io\u002Fpath: \"\u002Fmetrics\"\n    spec:\n      topologySpreadConstraints:\n        - maxSkew: 1\n          topologyKey: topology.kubernetes.io\u002Fzone\n          whenUnsatisfiable: DoNotSchedule\n          labelSelector:\n            matchLabels:\n              app: llm-inference\n      containers:\n        - name: model\n          image: registry.internal\u002Fvllm-server:0.4.1\n          args:\n            - \"--model=\u002Fmodels\u002Fcurrent\"\n            - \"--tensor-parallel-size=1\"\n            - \"--max-model-len=8192\"\n            - \"--gpu-memory-utilization=0.90\"\n          ports:\n            - containerPort: 8000\n              name: inference\n          resources:\n            requests:\n              cpu: \"4\"\n              memory: \"16Gi\"\n              nvidia.com\u002Fgpu: \"1\"\n            limits:\n              cpu: \"8\"\n              memory: \"32Gi\"\n              nvidia.com\u002Fgpu: \"1\"\n          readinessProbe:\n            httpGet:\n              path: \u002Fhealth\n              port: 8000\n            initialDelaySeconds: 60\n            periodSeconds: 10\n          livenessProbe:\n            httpGet:\n              path: \u002Fhealth\n              port: 8000\n            initialDelaySeconds: 120\n            periodSeconds: 30\n          volumeMounts:\n            - name: model-weights\n              mountPath: \u002Fmodels\n              readOnly: true\n            - name: config\n              mountPath: \u002Fetc\u002Fvllm\n      volumes:\n        - name: model-weights\n          persistentVolumeClaim:\n            claimName: model-weights-pvc\n        - name: config\n          configMap:\n            name: vllm-config\n      tolerations:\n        - key: nvidia.com\u002Fgpu\n          operator: Exists\n          effect: NoSchedule\n      nodeSelector:\n        gpu-type: a100\n---\napiVersion: v1\nkind: Service\nmetadata:\n  name: llm-inference\n  namespace: ai-production\nspec:\n  selector:\n    app: llm-inference\n  ports:\n    - name: inference\n      port: 8000\n      targetPort: 8000\n---\napiVersion: autoscaling\u002Fv2\nkind: HorizontalPodAutoscaler\nmetadata:\n  name: llm-inference-hpa\n  namespace: ai-production\nspec:\n  scaleTargetRef:\n    apiVersion: apps\u002Fv1\n    kind: Deployment\n    name: llm-inference\n  minReplicas: 2\n  maxReplicas: 10\n  metrics:\n    - type: Pods\n      pods:\n        metric:\n          name: llm_queue_depth\n        target:\n          type: AverageValue\n          averageValue: \"5\"\n    - type: Pods\n      pods:\n        metric:\n          name: gpu_utilization_percent\n        target:\n          type: AverageValue\n          averageValue: \"75\"\n  behavior:\n    scaleUp:\n      stabilizationWindowSeconds: 60\n      policies:\n        - type: Pods\n          value: 2\n          periodSeconds: 120\n    scaleDown:\n      stabilizationWindowSeconds: 300\n      policies:\n        - type: Pods\n          value: 1\n          periodSeconds: 300\n```\n\nThe deployment serves locally available open model weights, not proprietary hosted models. Provision the PVC and ConfigMap, choose a tested serving image, and install a custom-metrics adapter for the HPA metrics. Metrics use the inference port in this example.\n\n## CI\u002FCD Design for AI Services\n\n- Build immutable containers with pinned dependencies and model hashes.\n- Use environment promotion: `dev -> stage -> prod`.\n- Fail deployment if:\n  - regression evals drop below baseline,\n  - safety tests exceed risk threshold,\n  - p95 latency exceeds SLO budget.\n- Store deployment evidence for audits (commit SHA, eval report, approver).\n\n## Operational SLOs\n\n| Signal | Target | Measurement Window |\n|--------|--------|--------------------|\n| Availability | 99.9% | 30-day rolling |\n| p95 Latency | \u003C 1200ms | 5-min buckets |\n| Cost per request | \u003C $0.05 | 1-hour average |\n| Task success rate | > 90% | 24-hour rolling |\n| Groundedness | > 85% | 24-hour rolling |\n\n## Platform Guardrails\n\n- Enforce tenant quotas and model allow-lists.\n- Require structured output contracts for automation paths.\n- Default to low-risk model settings for critical workflows.\n- Disable unconstrained tool execution in production.\n\n## Tooling Stack (Example)\n\n| Layer | Tools |\n|-------|-------|\n| Orchestration | Argo Workflows, GitHub Actions, Airflow |\n| Model Registry | MLflow, custom metadata DB |\n| Gateway | LiteLLM, Bifrost, Envoy-based API gateway |\n| Observability | OpenTelemetry + Prometheus + Grafana + Langfuse |\n| Policy | OPA\u002FRego for deployment and runtime checks |\n| Evaluation | RAGAS, custom eval harness, Promptfoo |\n| Serving | vLLM, TGI, Triton Inference Server |\n\n## Troubleshooting\n\n| Issue | Diagnosis | Resolution |\n|-------|-----------|------------|\n| Canary fails quality gate | Compare eval results with baseline | Adjust model config or revert version |\n| Deployment stuck in rollout | Check pod events and resource quotas | Fix resource limits or node availability |\n| A\u002FB test shows no significant difference | Verify traffic split and sample size | Extend test duration or increase treatment weight |\n| Model cold start too slow | Large model weight download | Use pre-cached PVCs or init containers |\n| Eval pipeline flaky | Non-deterministic model outputs | Set temperature=0 for evals, increase sample size |\n\n## Related Skills\n\n- ai-pipeline-orchestration (`ai-pipeline-orchestration`) - Orchestrate ingestion and inference workflows\n- agent-evals (`agent-evals`) - Build evaluation gates for releases\n- llm-gateway (`llm-gateway`) - Route and control LLM traffic\n- model-registry-governance (`model-registry-governance`) - Model lifecycle and approval workflows\n- ai-sre-incident-response (`ai-sre-incident-response`) - AI-specific incident response\n\n## Limitations\n\n- Guidance executes against real environments: confirm target, blast radius, and rollback plan before applying anything.\n- Never deploy to production without explicit approval. Docs-only import: upstream scripts and templates not bundled.\n\n### Example\n\n```bash\ngit status && git diff --stat\nkubectl diff -f manifest.yaml\n```\n\n> Adapted from [BagelHole\u002FDevOps-Security-Agent-Skills](https:\u002F\u002Fgithub.com\u002FBagelHole\u002FDevOps-Security-Agent-Skills) (MIT); frontmatter, When to Use\u002FLimitations, and safety boundaries added for upstream compliance. Docs-only import: helper scripts and templates not bundled.\n",{"name":5,"risk":28,"source":44,"license":14,"category":45,"metadata":46,"date_added":49,"description":7,"source_repo":50,"source_type":32,"compatibility":51,"license_source":52},"https:\u002F\u002Fgithub.com\u002FBagelHole\u002FDevOps-Security-Agent-Skills","devops",{"author":47,"version":48},"devops-skills","1.0","2026-09-20","BagelHole\u002FDevOps-Security-Agent-Skills","Requires the relevant platform CLIs (kubectl, helm, terraform, git, CI runners) and authorized access to the target environment. Docs-only; helper scripts and templates not bundled.","https:\u002F\u002Fgithub.com\u002FBagelHole\u002FDevOps-Security-Agent-Skills\u002Fblob\u002Fmain\u002FLICENSE","7bf2279c8a65758319526a721d5c4b75683aec9c","skills\u002Fantigravity-llmops-platform-engineering",3,"https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections","https:\u002F\u002Fgithub.com\u002Fboisenoise","2026-11-14 14:18:11",{"source":8,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add boisenoise\u002Fskills-collections --skill llmops-platform-engineering",{"tool":65,"command":66},"bunx","bunx skills add boisenoise\u002Fskills-collections --skill llmops-platform-engineering",{"tool":68,"command":69},"pnpm","pnpm dlx skills add boisenoise\u002Fskills-collections --skill llmops-platform-engineering","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-llmops-platform-engineering\u002FSKILL.md",true,[],[74,83,91,100,108,116],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":78,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":82},"01M7B6HREHB53EHGGVZND7DDXN","scrapely-scrape","Collect web data with ready-made Scrape.ly scrapers: Google Maps places, Amazon products, LinkedIn jobs, reviews, social posts. Use when the user wants structured data from a site.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-scrapely-scrape\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-scrapely-scrape\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":87,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":82},"01M7B6GDNNN4HE662KA6KPF7GW","lumify-odds","Lumify's hosted sports MCP\u002FREST API for sportsbook odds, line-movement history, public betting splits, and player props across MLB, NFL, NBA, NHL, soccer, tennis, NCAAF, NCAAB. Read-only market data.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-lumify-odds\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-lumify-odds\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":95,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":99},"01M743PZMJW2GEKG5J199GPSK7","sync-lipsync","Lip-sync an existing video of a real person to new audio or a typed script with sync. labs through its hosted MCP server, quoting the cost and waiting for approval first.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-sync-lipsync\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-sync-lipsync\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":104,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":99},"01M743MMN3CKTJVNRSZMB684E5","music-for-robots","Optional music-inspired creative exercise for multimodal agents. Ingests an unquantized acoustic MP3 composition by Michael Luchtan (Music For Robots) into a private temporary directory, analyzing microtiming and texture to inspire creative writing, brainstorming, or technical tasks.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-music-for-robots\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-music-for-robots\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":112,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":99},"01M743KC2GN5WE11BSTWSSWD8B","imagera-media","Generate or edit images, video clips, voiceovers and music through the hosted Imagera MCP server, quoting the credit cost and getting approval before each paid call.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-imagera-media\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-imagera-media\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":120,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":99},"01M743HDJNZQA8A4VT68NWGWQJ","deja-history","Search this machine's past AI coding sessions across Claude Code, Codex, Cursor, Gemini CLI and thirty-nine other agents before editing, debugging, or denying something exists.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-deja-history\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-deja-history\u002FSKILL.md",[],[]]