Writing Skills
writing-skills
效率与协作技能,来自 obra/superpowers,查看原文获取完整用途和操作说明。
generating-helm-charts【部署与运维】Execute use when generating Helm charts for Kubernetes applications. Trigger with phrases like "create Helm chart", "generate chart for app", "package Kubernetes deployment", or "helm template". Produces production-ready charts with Chart.yaml, values.yaml, templates, and best practices for multi-environment deployments.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
This skill provides automated assistance for helm chart generator tasks.
Before using this skill, ensure:
helm lint and helm template commandsGenerates complete Helm chart structure:
{baseDir}/helm-charts/app-name/
├── Chart.yaml # Chart metadata
├── values.yaml # Default configuration
├── templates/
│ ├── deployment.yaml
│ ├── service.yaml
│ ├── ingress.yaml
│ ├── configmap.yaml
│ ├── _helpers.tpl # Template helpers
│ └── NOTES.txt # Post-install notes
├── charts/ # Dependencies
└── README.md
Example Chart.yaml:
apiVersion: v2
name: my-app
description: Production-ready application chart
type: application
version: 1.0.0
appVersion: "1.0.0"
Example values.yaml:
replicaCount: 3
image:
repository: registry/app
tag: "1.0.0"
pullPolicy: IfNotPresent
resources:
limits:
cpu: 500m
memory: 512Mi
requests:
cpu: 250m
memory: 256Mi
Common issues and solutions:
Chart Validation Errors
Template Rendering Failures
helm template and check Go template formattingMissing Dependencies
helm dependency update in chart directoryValues Override Issues
Installation Failures
This skill provides automated assistance for the described functionality.
Example usage patterns will be demonstrated in context.