Skip to content
Development
Command

/generate-manifest

Generate production-ready Kubernetes manifests from application configuration.

From plugin
rohitg00-claude-code-toolkit
2.5k199 skills138 agents199 commands
Install
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-code

How it fires

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

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/generate-manifest

Context preview

What this command does when you run it.

Generate production-ready Kubernetes manifests from application configuration.

Command definition

generate-manifest.md

Generate production-ready Kubernetes manifests from application configuration.

Steps

1. Analyze the application:

  • Read Dockerfile for container port, health check, and entrypoint.
  • Read environment variable requirements from `.env.example`.
  • Detect service dependencies from docker-compose or config files.

2. Generate manifests:

  • Namespace definition.
  • Deployment with resource limits, probes, and rolling update strategy.
  • Service (ClusterIP for internal, LoadBalancer for external).
  • ConfigMap for non-sensitive configuration.
  • Secret template for sensitive values.
  • Ingress with TLS if external access is needed.
  • HPA for auto-scaling based on CPU/memory.

3. Add Kustomize base and overlays for dev/staging/production. 4. Validate manifests: `kubectl apply --dry-run=client -f .`. 5. Write files to `k8s/` or `deploy/` directory.

Format

apiVersion: apps/v1
kind: Deployment
metadata:
  name: <app>
  labels:
    app.kubernetes.io/name: <app>
    app.kubernetes.io/version: <version>

Rules

  • Always set CPU and memory requests and limits.
  • Include readiness and liveness probes for every container.
  • Use `app.kubernetes.io/` label conventions.
  • Never hardcode secrets; use Secret resources or external-secrets operator.
  • Set `securityContext` with non-root user and read-only filesystem where possible.
Ships withrohitg00-claude-code-toolkit

The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.

Get the whole plugin