ai-governance
Generate and enforce policy gates for AI coding agents (Copilot, Claude Code) — real-time…
Design, debug, and review KEDA ScaledObject/ScaledJob autoscaling. Covers all major scalers (Prometheus, SQS, Kafka, Redis, Cron, HTTP Add-on, Azure Service Bus), TriggerAuthentication, scaling lifecycle tuning, GitOps integration, and troubleshooting. Use when asked to "add
$ npx -y skills add nitinjain999/platform-skills --skill keda --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/kedaContext preview
The summary Claude sees to decide when to auto-load this skill.
Design, debug, and review KEDA ScaledObject/ScaledJob autoscaling. Covers all major scalers (Prometheus, SQS, Kafka, Redis, Cron, HTTP Add-on, Azure Service Bus), TriggerAuthentication, scaling lifecycle tuning, GitOps integration, and troubleshooting. Use when asked to "add
name: keda description: Design, debug, and review KEDA ScaledObject/ScaledJob autoscaling. Covers all major scalers (Prometheus, SQS, Kafka, Redis, Cron, HTTP Add-on, Azure Service Bus), TriggerAuthentication, scaling lifecycle tuning, GitOps integration, and troubleshooting. Use when asked to "add KEDA autoscaling", "debug why my ScaledObject isn't scaling", "review my KEDA config", or "generate a ScaledObject for <trigger>". argument-hint: "[scale|debug|review|generate] [description or file path]" title: "KEDA Command" sidebar_label: "keda" custom_edit_url: null
Design, debug, and review KEDA (Kubernetes Event-Driven Autoscaling) ScaledObject and ScaledJob resources.
Write a production-ready ScaledObject or ScaledJob from a description.
Steps: 1. Identify: target workload kind (Deployment / StatefulSet / Job), trigger type, and whether scale-to-zero is acceptable 2. Choose the right resource kind:
3. Generate with:
> **Scale-to-zero warning:** Setting `minReplicaCount: 0` means the Deployment will have 0 replicas when the queue/metric is empty. Cold-start latency applies — confirm this is acceptable before enabling.
4. Generate the companion `TriggerAuthentication` or `ClusterTriggerAuthentication` 5. Show validation command: `kubectl describe scaledobject <name> -n <ns>` and the expected `Active: true` condition
Diagnose why a ScaledObject or ScaledJob is not scaling as expected.
Steps: 1. Collect:
kubectl get scaledobject -n <namespace> kubectl describe scaledobject <name> -n <namespace> kubectl get hpa -n <namespace> kubectl describe hpa keda-hpa-<scaledobject-name> -n <namespace> kubectl logs -n keda -l app.kubernetes.io/name=keda-operator --tail=100 kubectl logs -n keda -l app.kubernetes.io/name=keda-operator-metrics-apiserver --tail=100
2. Check the ScaledObject `Conditions` block:
3. Check HPA for `<unknown>` targets — indicates metrics adapter cannot reach the external source 4. Work through this checklist in order:
5. State the most likely root cause with the exact field or resource to fix 6. Show the corrected spec section and the command to verify it
If you need deeper context on KEDA troubleshooting, scaling lifecycle, or scaler-specific behaviour, load `references/keda.md`.
Review an existing ScaledObject or ScaledJob for correctness, security, and operational safety.
Review in this priority order:
**Correctness**
**Security**
**Operational safety**
**GitOps safety**
Separate findings into:
Design the scaling strategy for a workload from requirements.
Steps: 1. Ask for (or infer from context):
2. Apply the KEDA vs HPA decision matrix from `references/keda.md` 3. Recommend the trigger type(s) and explain why 4. Size `pollingInterval`, `cooldownPeriod`, and `minReplicaCount` based
A production-grade field handbook for platform, DevOps, SRE, and cloud engineers covering Kubernetes, Flux CD, Terraform, GitHub Actions, AWS, OPA/Rego, KEDA, Karpenter, supply chain security, Falco, observability, and more.
Repo: nitinjain999/platform-skills
Generate and enforce policy gates for AI coding agents (Copilot, Claude Code) — real-time…
Generate, convert, and maintain animated GitHub-safe Markdown documents with animated SVG…
AWS profile management for MCP servers — discover profiles across SSO, Granted, and…
Structured guidance for AWS CloudFront distributions, WAF web ACLs, Lambda@Edge, CloudFront…
Azure identity (Workload Identity, OIDC, Entra ID), resource tagging, AKS platform patterns,…
Back up and restore Kubernetes workloads with Velero, and prove recovery works. Covers Velero…