File contents AI Helm Chart Creator Skill
Purpose
This skill provides implementation details for generating complete Helm chart structures using kubectl-ai for frontend and backend applications, with configurable parameters and support for environment variables from secrets and configmaps.
Capabilities
Generate complete Helm chart structure with all necessary files
Create basic Deployment and Service resources for frontend and backend
Implement configurable parameters (replicas, imagePullPolicy, resources)
Support environment variables from secrets and configmaps
Generate values.yaml with sensible defaults
Create templates for common Kubernetes resources
Implementation Details
Helm Chart Structure
Create standard Helm chart directory structure
Generate Chart.yaml with proper metadata
Create values.yaml with configurable parameters
Implement templates for Deployments, Services, and other resources
Include NOTES.txt for post-installation instructions
Deployment Configuration
Generate Deployment manifests with configurable replicas
Implement imagePullPolicy configuration (Always, IfNotPresent, Never)
Configure resource limits and requests (CPU, memory)
Support container port configuration
Implement proper labels and selectors
Service Configuration
Generate Service manifests for frontend and backend
Support different service types (ClusterIP, LoadBalancer, NodePort)
Configure appropriate ports and targetPorts
Implement proper selectors to match Deployments
Environment Variables Support
Support environment variables from ConfigMaps
Support sensitive data from Secrets
Implement proper mounting of ConfigMaps and Secrets as volumes
Allow inline environment variable definitions in values
Configurable Parameters
Replicas count for scaling
Resource limits and requests for CPU and memory
Image pull policy configuration
Port configurations
Health check parameters (liveness, readiness probes)
Usage
Chart Structure Example:
my-app/
├── Chart.yaml
├── values.yaml
├── charts/
└── templates/
├── deployment-frontend.yaml
├── deployment-backend.yaml
├── service-frontend.yaml
├── service-backend.yaml
├── _helpers.tpl
└── NOTES.txt
Values.yaml Example:
frontend:
replicaCount: 1
image:
repository: my-frontend
pullPolicy: IfNotPresent
tag: ""
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 50m
memory: 64Mi
service:
type: ClusterIP
port: 3000
backend:
replicaCount: 1
image:
repository: my-backend
pullPolicy: IfNotPresent
tag: ""
resources:
limits:
cpu: 200m
memory: 256Mi
requests:
cpu: 100m
memory: 128Mi
service:
type: ClusterIP
port: 8000
envFromSecrets:
- name: backend-secrets
envFromConfigMaps:
- name: backend-config
Deployment Template Example:
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "my-app.fullname" . }}-{{ .Values.component.name }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
app: {{ include "my-app.fullname" . }}-{{ .Values.component.name }}
template:
metadata:
labels:
app: {{ include "my-app.fullname" . }}-{{ .Values.component.name }}
spec:
containers:
- name: {{ .Values.component.name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: {{ .Values.service.port }}
resources:
{{ toYaml .Values.resources | indent 10 }}
envFrom:
{{- if .Values.envFromSecrets }}
{{- range .Values.envFromSecrets }}
- secretRef:
name: {{ .name }}
{{- end }}
{{- end }}
{{- if .Values.envFromConfigMaps }}
{{- range .Values.envFromConfigMaps }}
- configMapRef:
name: {{ .name }}
{{- end }}
{{- end }}
1 --- 2 name: ai-helm-chart-creator 3 description: AI Helm Chart Creator Skill 4 --- 5 # AI Helm Chart Creator Skill 6 7 ## Purpose 8 This skill provides implementation details for generating complete Helm chart structures using kubectl-ai for frontend and backend applications, with configurable parameters and support for environment variables from secrets and configmaps. 9 10 ## Capabilities 11 - Generate complete Helm chart structure with all necessary files 12 - Create basic Deployment and Service resources for frontend and backend 13 - Implement configurable parameters (replicas, imagePullPolicy, resources) 14 - Support environment variables from secrets and configmaps 15 - Generate values.yaml with sensible defaults 16 - Create templates for common Kubernetes resources 17 18 ## Implementation Details 19 20 ### Helm Chart Structure 21 - Create standard Helm chart directory structure 22 - Generate Chart.yaml with proper metadata 23 - Create values.yaml with configurable parameters 24 - Implement templates for Deployments, Services, and other resources 25 - Include NOTES.txt for post-installation instructions 26 27 ### Deployment Configuration 28 - Generate Deployment manifests with configurable replicas 29 - Implement imagePullPolicy configuration (Always, IfNotPresent, Never) 30 - Configure resource limits and requests (CPU, memory) 31 - Support container port configuration 32 - Implement proper labels and selectors 33 34 ### Service Configuration 35 - Generate Service manifests for frontend and backend 36 - Support different service types (ClusterIP, LoadBalancer, NodePort) 37 - Configure appropriate ports and targetPorts 38 - Implement proper selectors to match Deployments 39 40 ### Environment Variables Support 41 - Support environment variables from ConfigMaps 42 - Support sensitive data from Secrets 43 - Implement proper mounting of ConfigMaps and Secrets as volumes 44 - Allow inline environment variable definitions in values 45 46 ### Configurable Parameters 47 - Replicas count for scaling 48 - Resource limits and requests for CPU and memory 49 - Image pull policy configuration 50 - Port configurations 51 - Health check parameters (liveness, readiness probes) 52 53 ## Usage 54 55 ### Chart Structure Example: 56 ``` 57 my-app/ 58 ├── Chart.yaml 59 ├── values.yaml 60 ├── charts/ 61 └── templates/ 62 ├── deployment-frontend.yaml 63 ├── deployment-backend.yaml 64 ├── service-frontend.yaml 65 ├── service-backend.yaml 66 ├── _helpers.tpl 67 └── NOTES.txt 68 ``` 69 70 ### Values.yaml Example: 71 ```yaml 72 frontend: 73 replicaCount: 1 74 image: 75 repository: my-frontend 76 pullPolicy: IfNotPresent 77 tag: "" 78 resources: 79 limits: 80 cpu: 100m 81 memory: 128Mi 82 requests: 83 cpu: 50m 84 memory: 64Mi 85 service: 86 type: ClusterIP 87 port: 3000 88 89 backend: 90 replicaCount: 1 91 image: 92 repository: my-backend 93 pullPolicy: IfNotPresent 94 tag: "" 95 resources: 96 limits: 97 cpu: 200m 98 memory: 256Mi 99 requests: 100 cpu: 100m 101 memory: 128Mi 102 service: 103 type: ClusterIP 104 port: 8000 105 envFromSecrets: 106 - name: backend-secrets 107 envFromConfigMaps: 108 - name: backend-config 109 ``` 110 111 ### Deployment Template Example: 112 ```yaml 113 apiVersion: apps/v1 114 kind: Deployment 115 metadata: 116 name: {{ include "my-app.fullname" . }}-{{ .Values.component.name }} 117 spec: 118 replicas: {{ .Values.replicaCount }} 119 selector: 120 matchLabels: 121 app: {{ include "my-app.fullname" . }}-{{ .Values.component.name }} 122 template: 123 metadata: 124 labels: 125 app: {{ include "my-app.fullname" . }}-{{ .Values.component.name }} 126 spec: 127 containers: 128 - name: {{ .Values.component.name }} 129 image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" 130 imagePullPolicy: {{ .Values.image.pullPolicy }} 131 ports: 132 - containerPort: {{ .Values.service.port }} 133 resources: 134 {{ toYaml .Values.resources | indent 10 }} 135 envFrom: 136 {{- if .Values.envFromSecrets }} 137 {{- range .Values.envFromSecrets }} 138 - secretRef: 139 name: {{ .name }} 140 {{- end }} 141 {{- end }} 142 {{- if .Values.envFromConfigMaps }} 143 {{- range .Values.envFromConfigMaps }} 144 - configMapRef: 145 name: {{ .name }} 146 {{- end }} 147 {{- end }} 148 ```
sarimofficial/HackathonlPhase-IV-AI-Powered-Kubernetes-Deployment-Minikube-Helm-kubectl-ai-Kagent-Gordon/tree/main/.claude/skills/ai-helm-chart-creator commit 4841a698fa
Frequently asked questions How do I install the AI Helm Chart Creator skill? Run npx skillmds@latest add sarimofficial/ai-helm-chart-creator in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the AI Helm Chart Creator skill do? AI Helm Chart Creator Skill It is listed under DevOps & Infra on SkillMD.
Is AI Helm Chart Creator safe to use? This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with AI Helm Chart Creator? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is AI Helm Chart Creator free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published AI Helm Chart Creator? sarimofficial (@sarimofficial) published this skill. Their other Agent Skills are listed on their SkillMD profile.