Skip to content
Development
Skill

/deploy

Generate K8s manifests — Deployment, Service, ConfigMap, HPA, Ingress.

From plugin
agentic-awesome-kits
932 skills
Install
$ npx -y skills add KhaiTrang1995/agentic-awesome-kits --skill deploy --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/deploy

Context preview

The summary Claude sees to decide when to auto-load this skill.

Generate K8s manifests — Deployment, Service, ConfigMap, HPA, Ingress.

SKILL.md

deploy.SKILL.md
name: deploy
description: Generate K8s manifests — Deployment, Service, ConfigMap, HPA, Ingress.
user-invocable: true
argument-hint: "<app-name> [--namespace <ns>] [--replicas <n>] [--with-ingress]"

/deploy — Generate Kubernetes Manifests

Input examples

/deploy container-api --namespace prod --replicas 3 --with-ingress
/deploy angular-app --namespace staging
/deploy worker-service --replicas 2

Output

k8s/{app-name}/
  deployment.yaml
  service.yaml
  configmap.yaml
  hpa.yaml             (auto-scale)
  ingress.yaml          (if --with-ingress)
  kustomization.yaml

Mandatory rules

  • **Resource limits** (cpu/memory) are mandatory — never deploy without setting limits
  • **Liveness + Readiness probes** for every container
  • **ConfigMap/Secret** for config — NEVER hardcode env vars in the deployment
  • **Standard labels**: `app`, `version`, `team`, `environment`
  • **Explicit namespace**, NEVER use `default`
  • **Rolling update** strategy (maxSurge: 1, maxUnavailable: 0)
  • **Security context**: runAsNonRoot, readOnlyRootFilesystem

References

  • @.claude/rules/k8s-conventions.md
Ships withagentic-awesome-kits

Reusable AI Skill Kits for coding agents (Claude Code and any other subagent/slash-command-compatible tool).

Get the whole plugin
Stats
9
Stars
3
Forks
Maintained
Maintenance
Python
Language
1mo ago
Last commit
2mo ago
Created

Repo: KhaiTrang1995/agentic-awesome-kits

Other skills on agentic-awesome-kits.