ai-governance
Generate and enforce policy gates for AI coding agents (Copilot, Claude Code) — real-time session hooks that deny protected-path edits and dangerous commands,…
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
> /plugin marketplace add nitinjain999/platform-skills > /plugin install platform-skills@platform-skills
How it fires
How this command gets triggered: by you, by Claude, or both.
/kedaContext preview
What this command does when you run it.
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 session hooks that deny protected-path edits and dangerous commands,…
Generate, convert, and maintain animated GitHub-safe Markdown documents with animated SVG diagrams. Covers four SVG patterns (architecture flow, lifecycle…
AWS profile management for MCP servers — discover profiles across SSO, Granted, and assumed-role chains, check credential TTL, switch profiles across VS Code…
Structured guidance for AWS CloudFront distributions, WAF web ACLs, Lambda@Edge, CloudFront Functions, Firewall Manager multi-account enforcement, and IAM/IRSA…
Azure identity (Workload Identity, OIDC, Entra ID), resource tagging, AKS platform patterns, RBAC scoping, and production-readiness review — with Terraform…
Design, run, and debug Chaos Engineering experiments on Kubernetes using Litmus Chaos v3 and Chaos Mesh v2. Covers fault injection (pod-delete, network-loss,…