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.development
Guide technical communication for software developers. Covers email structure, team messaging etiquette, meeting agendas, and adapting messages for technical vs non-technical audiences. Use when drafting professional messages, preparing meeting communications, or improving written communication.
development
Senior-level Helm and Helm chart guidance for Kubernetes. Use when creating, reviewing, debugging, or operating Helm charts/releases: Chart.yaml, values.yaml, templates, dependencies, CRDs, hooks, RBAC, helm install/upgrade/rollback, OCI/provenance, Argo CD/Flux Helm workflows.
testing
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".
testing
Create, update, review, triage, and adopt Architecture Decision Records (ADRs) using MADR-style Markdown templates and senior ADR practice. Use when the user mentions ADR, Architecture Decision Record, decision record, MADR, architectural decision, docs/decisions, supersede ADR, stale ADRs, ADR review, or wants to record a technical decision in a repository.