skills/knative/SKILL.md
Senior-level Knative and OpenShift Serverless guidance for Serving, Eventing, Functions, autoscaling, scale-to-zero, CloudEvents, RabbitMQ/Kafka sources, Lambda migration, Harbor/OCI images, debugging, operations, and production rollout. Use when working with Knative Service, Revision, Route, KPA, activator, queue-proxy, Broker, Trigger, Source, Sink, kn func, OpenShift Serverless, Kourier, eventing-rabbitmq, Knative Kafka, or serverless workloads on Kubernetes/OpenShift.
npx skillsauth add mgajewskik/opencode-config knativeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Production-first Knative guidance for experienced Kubernetes/OpenShift operators. Optimize for mechanism-level diagnosis, safe rollout, workload fit, support boundaries, and minimal moving parts. Skip generic Kubernetes tutorials unless the user asks.
This skill distills the bundled Knative source corpus into progressive references. Load only the nearest reference for the task.
Classify the request first, then read the smallest useful reference.
kn func, Service Mesh -> read references/openshift-serverless-harbor.mdcontainerConcurrency, min-scale, max-scale, KPA, activator, and cold-start behaviorkn version, and extension/operator versions when relevant.eventing-rabbitmq can be useful, but it is community-supported on OpenShift; Red Hat-supported Eventing messaging is Knative for Apache Kafka with AMQ Streams.containerConcurrency, target, utilization, min/max scale, and source parallelism form one capacity envelope.min-scale as a business decision.Ask focused questions before final guidance when any are true:
High-value questions:
Choose one primary mode and at most one secondary mode.
| Mode | Use when | Load |
|---|---|---|
| model | learning, architecture, Lambda comparison, shallow-understanding checks | references/mental-models.md |
| serving | Knative Service, Revision, Route, traffic splits, rollbacks, private/internal Services | references/serving-autoscaling.md |
| autoscale | KPA, scale-to-zero, activator, queue-proxy, cold start, concurrency tuning | references/serving-autoscaling.md |
| eventing | CloudEvents, Source/Sink, Broker/Trigger, delivery, filters, DLQ | references/eventing-rabbitmq.md |
| rabbitmq | RabbitMQSource, RabbitMQ Broker, queue mapping, fanout, support caveat | references/eventing-rabbitmq.md |
| migration | AWS Lambda/SQS/EventBridge/API Gateway migration to Knative | references/lambda-migration.md |
| openshift | OpenShift Serverless operator, Kourier/Routes, SCC, OCP-specific behavior | references/openshift-serverless-harbor.md |
| registry | Harbor, private pull secrets, image digests, Cosign, admission, air-gap mirroring | references/openshift-serverless-harbor.md |
| debug | incidents, 503s, Revision not ready, stuck Proxy mode, queue backlog, DLQ | references/debugging-incidents.md |
| ops | production platform contract, multi-team operations, observability, quotas, GC | references/production-ops.md |
| roadmap | structured learning, labs, competency checks | references/learning-roadmap.md |
Common combinations:
debug + suspected subsystem (serving, autoscale, eventing, registry, openshift)migration + rabbitmq for Lambda/SQS-like queue processorsopenshift + registry for Harbor/air-gapped OpenShift Serverlesseventing + ops for retry/DLQ/replay/platform contract reviewsDefault response shape:
Verdict - likely layer or recommended pathWhy - mechanism-level Knative/OpenShift reasonSmallest safe path - probes first, then minimal change if warrantedRisks / edge cases - version, support, security, data, latency, retry, and downstream caveatsValidation - exact observations that prove convergenceRollback / next step - Route/source/DLQ/config revert or next probeMode-specific additions:
debug: add Likely owner, Read-only probes, Do not do yet, Stop conditionmigration: add Mapping, Non-equivalences, Idempotency gate, Cutover/rollbackrabbitmq: add Support boundary, Ack/retry/DLQ semantics, Backpressure envelopereview: use Verdict, Blockers, Risks, Evidence, Suggested fixes, Smallest next stepcontainerConcurrency: 0, unlimited scale, or min-scale: 0 for latency-sensitive production paths.Pass when all are true:
Fail when any are true:
| Scenario | Detection | Fallback |
|---|---|---|
| Version unclear | No Knative/OCP Serverless channel or CRD evidence | Ask for kn version, oc get csv -A | grep serverless, oc get crd '*knative*', or operator release notes |
| Vague incident | Only symptom provided | Start with ksvc/configuration/revision/route/sks/podautoscaler, pods/events/logs, then activator/autoscaler/source logs |
| RabbitMQ support uncertain | User wants production OpenShift RabbitMQ Eventing | Flag community support, verify installed CRDs/operator, compare Kafka/AMQ Streams supported path |
| Risky mutation requested | Traffic flip, source pause, operator change, registry/CA/admission, mesh membership | Require preflight, approval, rollback/restore, validation, and stop condition |
| Public artifact requested | Examples could expose local context | Use example.com, harbor.example.com, generic namespaces, placeholder tokens, and public source URLs only |
| External docs needed | Local source/version evidence is insufficient | Prefer official Knative, Red Hat versioned docs, upstream releases/source, Harbor docs; label uncertainty |
min-scale: 1 over heroic cold-start tuning for customer-facing paths.documentation
Create senior-level deep research dossiers and roadmap companions. Use when the user asks for a dossier, senior research, deep research, in-depth research, mental models for a topic, senior perspective on a topic, how something actually works, ramp up on a topic, architectural deep dive, tradeoffs, failure modes, or what a senior would notice. Produces current-directory research-* and roadmap-* markdown artifacts, not a tutorial or short summary.
development
Senior-level RHEL-family Linux operations. Use when running, debugging, hardening, patching, installing, upgrading, or operating Red Hat Enterprise Linux, Rocky Linux, AlmaLinux, CentOS Stream, Fedora-as-upstream, or related enterprise Linux hosts: systemd, RPM/DNF, SELinux, NetworkManager, firewalld, storage, kernel/kdump, FIPS/STIG, Satellite, IdM, Podman, bootc, air-gapped fleets.
development
Senior-level Proxmox VE guidance for VM creation, templates, storage, ZFS, Ceph, networking, clusters, HA, PBS backups, debugging, upgrades, security, and production/homelab operations. Use when working with Proxmox, PVE, Proxmox VE, qm, pct, pvesm, pvecm, pmxcfs, HA manager, Proxmox Backup Server, VM migration, Proxmox incidents, or Ceph/ZFS/Corosync/VLAN bridges in a Proxmox VE context.
development
Senior-level OpenShift and OKD guidance for installing, operating, debugging, upgrading, and securing clusters. Use when working with OpenShift Container Platform, OKD, MicroShift, oc, openshift-install, CVO, MCO, OLM, SCCs, Routes, OVN-Kubernetes, RHCOS/SCOS, disconnected or air-gapped installs, OperatorHub, ODF, OpenShift Virtualization, monitoring, logging, GitOps, Pipelines, Service Mesh, etcd, certificates, or day-2 cluster incidents.