[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79Y7HQ35885BJCB1ZXMJMTP":3,"skill-same:01M79Y7HQ35885BJCB1ZXMJMTP":69},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":14,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M79Y7HQ35885BJCB1ZXMJMTP","helm-chart-builder",null,"Helm chart development agent skill and plugin for Claude Code, Codex, Gemini CLI, Cursor, OpenClaw — chart scaffolding, values design, template patterns, dependency management, security hardening, and chart testing. Use when: user wants to create or improve Helm charts, design values.yaml files, implement template helpers, audit chart security (RBAC, network policies, pod security), manage subcharts, or run helm lint\u002Ftest.","Heverton-web\u002Fskill-manager","Heverton-web","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F136394064?v=4","01M79STQDWSTA88J5CA9QR184V","Heverton Eduardo Peres","01M79SX01KSKBZ828C257RAC8P",0,"MIT","https:\u002F\u002Fgithub.com\u002FHeverton-web\u002Fskill-manager\u002Fblob\u002Fmain\u002Ffabrica-de-livros\u002Fagentic\u002Fskills\u002Fhelm-chart-builder\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: \"helm-chart-builder\"\ndescription: \"Helm chart development agent skill and plugin for Claude Code, Codex, Gemini CLI, Cursor, OpenClaw — chart scaffolding, values design, template patterns, dependency management, security hardening, and chart testing. Use when: user wants to create or improve Helm charts, design values.yaml files, implement template helpers, audit chart security (RBAC, network policies, pod security), manage subcharts, or run helm lint\u002Ftest.\"\nlicense: MIT\nmetadata:\n  version: 1.0.0\n  author: Alireza Rezvani\n  category: engineering\n  updated: 2026-03-15\n---\n\n# Helm Chart Builder\n\n> Production-grade Helm charts. Sensible defaults. Secure by design. No cargo-culting.\n\nOpinionated Helm workflow that turns ad-hoc Kubernetes manifests into maintainable, testable, reusable charts. Covers chart structure, values design, template patterns, dependency management, and security hardening.\n\nNot a Helm tutorial — a set of concrete decisions about how to build charts that operators trust and developers don't fight.\n\n---\n\n## Slash Commands\n\n| Command | What it does |\n|---------|-------------|\n| `\u002Fhelm:create` | Scaffold a production-ready Helm chart with best-practice structure |\n| `\u002Fhelm:review` | Analyze an existing chart for issues — missing labels, hardcoded values, template anti-patterns |\n| `\u002Fhelm:security` | Audit chart for security issues — RBAC, network policies, pod security, secrets handling |\n\n---\n\n## When This Skill Activates\n\nRecognize these patterns from the user:\n\n- \"Create a Helm chart for this service\"\n- \"Review my Helm chart\"\n- \"Is this chart secure?\"\n- \"Design a values.yaml\"\n- \"Add a subchart dependency\"\n- \"Set up helm tests\"\n- \"Helm best practices for [workload type]\"\n- Any request involving: Helm chart, values.yaml, Chart.yaml, templates, helpers, _helpers.tpl, subcharts, helm lint, helm test\n\nIf the user has a Helm chart or wants to package Kubernetes resources → this skill applies.\n\n---\n\n## Workflow\n\n### `\u002Fhelm:create` — Chart Scaffolding\n\n1. **Identify workload type**\n   - Web service (Deployment + Service + Ingress)\n   - Worker (Deployment, no Service)\n   - CronJob (CronJob + ServiceAccount)\n   - Stateful service (StatefulSet + PVC + Headless Service)\n   - Library chart (no templates, only helpers)\n\n2. **Scaffold chart structure**\n\n   ```\n   mychart\u002F\n   ├── Chart.yaml              # Chart metadata and dependencies\n   ├── values.yaml             # Default configuration\n   ├── values.schema.json      # Optional: JSON Schema for values validation\n   ├── .helmignore             # Files to exclude from packaging\n   ├── templates\u002F\n   │   ├── _helpers.tpl        # Named templates and helper functions\n   │   ├── deployment.yaml     # Workload resource\n   │   ├── service.yaml        # Service exposure\n   │   ├── ingress.yaml        # Ingress (if applicable)\n   │   ├── serviceaccount.yaml # ServiceAccount\n   │   ├── hpa.yaml            # HorizontalPodAutoscaler\n   │   ├── pdb.yaml            # PodDisruptionBudget\n   │   ├── networkpolicy.yaml  # NetworkPolicy\n   │   ├── configmap.yaml      # ConfigMap (if needed)\n   │   ├── secret.yaml         # Secret (if needed)\n   │   ├── NOTES.txt           # Post-install usage instructions\n   │   └── tests\u002F\n   │       └── test-connection.yaml\n   └── charts\u002F                 # Subcharts (dependencies)\n   ```\n\n3. **Apply Chart.yaml best practices**\n\n   ```\n   METADATA\n   ├── apiVersion: v2 (Helm 3 only — never v1)\n   ├── name: matches directory name exactly\n   ├── version: semver (chart version, not app version)\n   ├── appVersion: application version string\n   ├── description: one-line summary of what the chart deploys\n   └── type: application (or library for shared helpers)\n\n   DEPENDENCIES\n   ├── Pin dependency versions with ~X.Y.Z (patch-level float)\n   ├── Use condition field to make subcharts optional\n   ├── Use alias for multiple instances of same subchart\n   └── Run helm dependency update after changes\n   ```\n\n4. **Generate values.yaml with documentation**\n   - Every value has an inline comment explaining purpose and type\n   - Sensible defaults that work for development\n   - Override-friendly structure (flat where possible, nested only when logical)\n   - No hardcoded cluster-specific values (image registry, domain, storage class)\n\n5. **Validate**\n   ```bash\n   python3 scripts\u002Fchart_analyzer.py mychart\u002F\n   helm lint mychart\u002F\n   helm template mychart\u002F --debug\n   ```\n\n### `\u002Fhelm:review` — Chart Analysis\n\n1. **Check chart structure**\n\n   | Check | Severity | Fix |\n   |-------|----------|-----|\n   | Missing _helpers.tpl | High | Create helpers for common labels and selectors |\n   | No NOTES.txt | Medium | Add post-install instructions |\n   | No .helmignore | Low | Create one to exclude .git, CI files, tests |\n   | Missing Chart.yaml fields | Medium | Add description, appVersion, maintainers |\n   | Hardcoded values in templates | High | Extract to values.yaml with defaults |\n\n2. **Check template quality**\n\n   | Check | Severity | Fix |\n   |-------|----------|-----|\n   | Missing standard labels | High | Use `app.kubernetes.io\u002F*` labels via _helpers.tpl |\n   | No resource requests\u002Flimits | Critical | Add resources section with defaults in values.yaml |\n   | Hardcoded image tag | High | Use `{{ .Values.image.repository }}:{{ .Values.image.tag }}` |\n   | No imagePullPolicy | Medium | Default to `IfNotPresent`, overridable |\n   | Missing liveness\u002Freadiness probes | High | Add probes with configurable paths and ports |\n   | No pod anti-affinity | Medium | Add preferred anti-affinity for HA |\n   | Duplicate template code | Medium | Extract into named templates in _helpers.tpl |\n\n3. **Check values.yaml quality**\n   ```bash\n   python3 scripts\u002Fvalues_validator.py mychart\u002Fvalues.yaml\n   ```\n\n4. **Generate review report**\n   ```\n   HELM CHART REVIEW — [chart name]\n   Date: [timestamp]\n\n   CRITICAL: [count]\n   HIGH:     [count]\n   MEDIUM:   [count]\n   LOW:      [count]\n\n   [Detailed findings with fix recommendations]\n   ```\n\n### `\u002Fhelm:security` — Security Audit\n\n1. **Pod security audit**\n\n   | Check | Severity | Fix |\n   |-------|----------|-----|\n   | No securityContext | Critical | Add runAsNonRoot, readOnlyRootFilesystem |\n   | Running as root | Critical | Set `runAsNonRoot: true`, `runAsUser: 1000` |\n   | Writable root filesystem | High | Set `readOnlyRootFilesystem: true` + emptyDir for tmp |\n   | All capabilities retained | High | Drop ALL, add only specific needed caps |\n   | Privileged container | Critical | Set `privileged: false`, use specific capabilities |\n   | No seccomp profile | Medium | Set `seccompProfile.type: RuntimeDefault` |\n   | allowPrivilegeEscalation true | High | Set `allowPrivilegeEscalation: false` |\n\n2. **RBAC audit**\n\n   | Check | Severity | Fix |\n   |-------|----------|-----|\n   | No ServiceAccount | Medium | Create dedicated SA, don't use default |\n   | automountServiceAccountToken true | Medium | Set to false unless pod needs K8s API access |\n   | ClusterRole instead of Role | Medium | Use namespace-scoped Role unless cluster-wide needed |\n   | Wildcard permissions | Critical | Use specific resource names and verbs |\n   | No RBAC at all | Low | Acceptable if pod doesn't need K8s API access |\n\n3. **Network and secrets audit**\n\n   | Check | Severity | Fix |\n   |-------|----------|-----|\n   | No NetworkPolicy | Medium | Add default-deny ingress + explicit allow rules |\n   | Secrets in values.yaml | Critical | Use external secrets operator or sealed-secrets |\n   | No PodDisruptionBudget | Medium | Add PDB with minAvailable for HA workloads |\n   | hostNetwork: true | High | Remove unless absolutely required (e.g., CNI plugin) |\n   | hostPID or hostIPC | Critical | Never use in application charts |\n\n4. **Generate security report**\n   ```\n   SECURITY AUDIT — [chart name]\n   Date: [timestamp]\n\n   CRITICAL: [count]\n   HIGH:     [count]\n   MEDIUM:   [count]\n   LOW:      [count]\n\n   [Detailed findings with remediation steps]\n   ```\n\n---\n\n## Tooling\n\n### `scripts\u002Fchart_analyzer.py`\n\nCLI utility for static analysis of Helm chart directories.\n\n**Features:**\n- Chart structure validation (required files, directory layout)\n- Template anti-pattern detection (hardcoded values, missing labels, no resource limits)\n- Chart.yaml metadata checks\n- Standard labels verification (app.kubernetes.io\u002F*)\n- Security baseline checks\n- JSON and text output\n\n**Usage:**\n```bash\n# Analyze a chart directory\npython3 scripts\u002Fchart_analyzer.py mychart\u002F\n\n# JSON output\npython3 scripts\u002Fchart_analyzer.py mychart\u002F --output json\n\n# Security-focused analysis\npython3 scripts\u002Fchart_analyzer.py mychart\u002F --security\n```\n\n### `scripts\u002Fvalues_validator.py`\n\nCLI utility for validating values.yaml against best practices.\n\n**Features:**\n- Documentation coverage (inline comments)\n- Type consistency checks\n- Hardcoded secrets detection\n- Default value quality analysis\n- Structure depth analysis\n- Naming convention validation\n- JSON and text output\n\n**Usage:**\n```bash\n# Validate values.yaml\npython3 scripts\u002Fvalues_validator.py values.yaml\n\n# JSON output\npython3 scripts\u002Fvalues_validator.py values.yaml --output json\n\n# Strict mode (fail on warnings)\npython3 scripts\u002Fvalues_validator.py values.yaml --strict\n```\n\n---\n\n## Template Patterns\n\n### Pattern 1: Standard Labels (_helpers.tpl)\n\n```yaml\n{{\u002F*\nCommon labels for all resources.\n*\u002F}}\n{{- define \"mychart.labels\" -}}\nhelm.sh\u002Fchart: {{ include \"mychart.chart\" . }}\napp.kubernetes.io\u002Fname: {{ include \"mychart.name\" . }}\napp.kubernetes.io\u002Finstance: {{ .Release.Name }}\napp.kubernetes.io\u002Fversion: {{ .Chart.AppVersion | quote }}\napp.kubernetes.io\u002Fmanaged-by: {{ .Release.Service }}\n{{- end }}\n\n{{\u002F*\nSelector labels (subset of common labels — must be immutable).\n*\u002F}}\n{{- define \"mychart.selectorLabels\" -}}\napp.kubernetes.io\u002Fname: {{ include \"mychart.name\" . }}\napp.kubernetes.io\u002Finstance: {{ .Release.Name }}\n{{- end }}\n```\n\n### Pattern 2: Conditional Resources\n\n```yaml\n{{- if .Values.ingress.enabled -}}\napiVersion: networking.k8s.io\u002Fv1\nkind: Ingress\nmetadata:\n  name: {{ include \"mychart.fullname\" . }}\n  labels:\n    {{- include \"mychart.labels\" . | nindent 4 }}\n  {{- with .Values.ingress.annotations }}\n  annotations:\n    {{- toYaml . | nindent 4 }}\n  {{- end }}\nspec:\n  {{- if .Values.ingress.tls }}\n  tls:\n    {{- range .Values.ingress.tls }}\n    - hosts:\n        {{- range .hosts }}\n        - {{ . | quote }}\n        {{- end }}\n      secretName: {{ .secretName }}\n    {{- end }}\n  {{- end }}\n  rules:\n    {{- range .Values.ingress.hosts }}\n    - host: {{ .host | quote }}\n      http:\n        paths:\n          {{- range .paths }}\n          - path: {{ .path }}\n            pathType: {{ .pathType }}\n            backend:\n              service:\n                name: {{ include \"mychart.fullname\" $ }}\n                port:\n                  number: {{ $.Values.service.port }}\n          {{- end }}\n    {{- end }}\n{{- end }}\n```\n\n### Pattern 3: Security-Hardened Pod Spec\n\n```yaml\nspec:\n  serviceAccountName: {{ include \"mychart.serviceAccountName\" . }}\n  automountServiceAccountToken: false\n  securityContext:\n    runAsNonRoot: true\n    runAsUser: 1000\n    fsGroup: 1000\n    seccompProfile:\n      type: RuntimeDefault\n  containers:\n    - name: {{ .Chart.Name }}\n      securityContext:\n        allowPrivilegeEscalation: false\n        readOnlyRootFilesystem: true\n        capabilities:\n          drop:\n            - ALL\n      image: \"{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}\"\n      imagePullPolicy: {{ .Values.image.pullPolicy }}\n      resources:\n        {{- toYaml .Values.resources | nindent 8 }}\n      volumeMounts:\n        - name: tmp\n          mountPath: \u002Ftmp\n  volumes:\n    - name: tmp\n      emptyDir: {}\n```\n\n---\n\n## Values Design Principles\n\n```\nSTRUCTURE\n├── Flat over nested (image.tag > container.spec.image.tag)\n├── Group by resource (service.*, ingress.*, resources.*)\n├── Use enabled: true\u002Ffalse for optional resources\n├── Document every key with inline YAML comments\n└── Provide sensible development defaults\n\nNAMING\n├── camelCase for keys (replicaCount, not replica_count)\n├── Boolean keys: use adjectives (enabled, required) not verbs\n├── Nested keys: max 3 levels deep\n└── Match upstream conventions (image.repository, image.tag, image.pullPolicy)\n\nANTI-PATTERNS\n├── Hardcoded cluster URLs or domains\n├── Secrets as default values\n├── Empty strings where null is correct\n├── Deeply nested structures (>3 levels)\n├── Undocumented values\n└── values.yaml that doesn't work without overrides\n```\n\n---\n\n## Dependency Management\n\n```\nSUBCHARTS\n├── Use Chart.yaml dependencies (not requirements.yaml — Helm 3)\n├── Pin versions: version: ~15.x.x (patch float)\n├── Use condition: to make optional: condition: postgresql.enabled\n├── Use alias: for multiple instances of same chart\n├── Override subchart values under subchart name key in values.yaml\n└── Run helm dependency update before packaging\n\nLIBRARY CHARTS\n├── type: library in Chart.yaml — no templates directory\n├── Export named templates only — no rendered resources\n├── Use for shared labels, annotations, security contexts\n└── Version independently from application charts\n```\n\n---\n\n## Proactive Triggers\n\nFlag these without being asked:\n\n- **No _helpers.tpl** → Create one. Every chart needs standard labels and fullname helpers.\n- **Hardcoded image tag in template** → Extract to values.yaml. Tags must be overridable.\n- **No resource requests\u002Flimits** → Add them. Pods without limits can starve the node.\n- **Running as root** → Add securityContext. No exceptions for production charts.\n- **No NOTES.txt** → Create one. Users need post-install instructions.\n- **Secrets in values.yaml defaults** → Remove them. Use placeholders with comments explaining how to provide secrets.\n- **No liveness\u002Freadiness probes** → Add them. Kubernetes needs to know if the pod is healthy.\n- **Missing app.kubernetes.io labels** → Add via _helpers.tpl. Required for proper resource tracking.\n\n---\n\n## Installation\n\n### One-liner (any tool)\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Falirezarezvani\u002Fclaude-skills.git\ncp -r claude-skills\u002Fengineering\u002Fhelm-chart-builder ~\u002F.claude\u002Fskills\u002F\n```\n\n### Multi-tool install\n```bash\n.\u002Fscripts\u002Fconvert.sh --skill helm-chart-builder --tool codex|gemini|cursor|windsurf|openclaw\n```\n\n### OpenClaw\n```bash\nclawhub install cs-helm-chart-builder\n```\n\n---\n\n## Related Skills\n\n- **senior-devops** — Broader DevOps scope (CI\u002FCD, IaC, monitoring). Complementary — use helm-chart-builder for chart-specific work, senior-devops for pipeline and infrastructure.\n- **docker-development** — Container building. Complementary — docker-development builds the images, helm-chart-builder deploys them to Kubernetes.\n- **ci-cd-pipeline-builder** — Pipeline construction. Complementary — helm-chart-builder defines the deployment artifact, ci-cd-pipeline-builder automates its delivery.\n- **senior-security** — Application security. Complementary — helm-chart-builder covers Kubernetes-level security (RBAC, pod security), senior-security covers application-level threats.\n","# Helm Chart Builder\n\n> Production-grade Helm charts. Sensible defaults. Secure by design. No cargo-culting.\n\nOpinionated Helm workflow that turns ad-hoc Kubernetes manifests into maintainable, testable, reusable charts. Covers chart structure, values design, template patterns, dependency management, and security hardening.\n\nNot a Helm tutorial — a set of concrete decisions about how to build charts that operators trust and developers don't fight.\n\n---\n\n## Slash Commands\n\n| Command | What it does |\n|---------|-------------|\n| `\u002Fhelm:create` | Scaffold a production-ready Helm chart with best-practice structure |\n| `\u002Fhelm:review` | Analyze an existing chart for issues — missing labels, hardcoded values, template anti-patterns |\n| `\u002Fhelm:security` | Audit chart for security issues — RBAC, network policies, pod security, secrets handling |\n\n---\n\n## When This Skill Activates\n\nRecognize these patterns from the user:\n\n- \"Create a Helm chart for this service\"\n- \"Review my Helm chart\"\n- \"Is this chart secure?\"\n- \"Design a values.yaml\"\n- \"Add a subchart dependency\"\n- \"Set up helm tests\"\n- \"Helm best practices for [workload type]\"\n- Any request involving: Helm chart, values.yaml, Chart.yaml, templates, helpers, _helpers.tpl, subcharts, helm lint, helm test\n\nIf the user has a Helm chart or wants to package Kubernetes resources → this skill applies.\n\n---\n\n## Workflow\n\n### `\u002Fhelm:create` — Chart Scaffolding\n\n1. **Identify workload type**\n   - Web service (Deployment + Service + Ingress)\n   - Worker (Deployment, no Service)\n   - CronJob (CronJob + ServiceAccount)\n   - Stateful service (StatefulSet + PVC + Headless Service)\n   - Library chart (no templates, only helpers)\n\n2. **Scaffold chart structure**\n\n   ```\n   mychart\u002F\n   ├── Chart.yaml              # Chart metadata and dependencies\n   ├── values.yaml             # Default configuration\n   ├── values.schema.json      # Optional: JSON Schema for values validation\n   ├── .helmignore             # Files to exclude from packaging\n   ├── templates\u002F\n   │   ├── _helpers.tpl        # Named templates and helper functions\n   │   ├── deployment.yaml     # Workload resource\n   │   ├── service.yaml        # Service exposure\n   │   ├── ingress.yaml        # Ingress (if applicable)\n   │   ├── serviceaccount.yaml # ServiceAccount\n   │   ├── hpa.yaml            # HorizontalPodAutoscaler\n   │   ├── pdb.yaml            # PodDisruptionBudget\n   │   ├── networkpolicy.yaml  # NetworkPolicy\n   │   ├── configmap.yaml      # ConfigMap (if needed)\n   │   ├── secret.yaml         # Secret (if needed)\n   │   ├── NOTES.txt           # Post-install usage instructions\n   │   └── tests\u002F\n   │       └── test-connection.yaml\n   └── charts\u002F                 # Subcharts (dependencies)\n   ```\n\n3. **Apply Chart.yaml best practices**\n\n   ```\n   METADATA\n   ├── apiVersion: v2 (Helm 3 only — never v1)\n   ├── name: matches directory name exactly\n   ├── version: semver (chart version, not app version)\n   ├── appVersion: application version string\n   ├── description: one-line summary of what the chart deploys\n   └── type: application (or library for shared helpers)\n\n   DEPENDENCIES\n   ├── Pin dependency versions with ~X.Y.Z (patch-level float)\n   ├── Use condition field to make subcharts optional\n   ├── Use alias for multiple instances of same subchart\n   └── Run helm dependency update after changes\n   ```\n\n4. **Generate values.yaml with documentation**\n   - Every value has an inline comment explaining purpose and type\n   - Sensible defaults that work for development\n   - Override-friendly structure (flat where possible, nested only when logical)\n   - No hardcoded cluster-specific values (image registry, domain, storage class)\n\n5. **Validate**\n   ```bash\n   python3 scripts\u002Fchart_analyzer.py mychart\u002F\n   helm lint mychart\u002F\n   helm template mychart\u002F --debug\n   ```\n\n### `\u002Fhelm:review` — Chart Analysis\n\n1. **Check chart structure**\n\n   | Check | Severity | Fix |\n   |-------|----------|-----|\n   | Missing _helpers.tpl | High | Create helpers for common labels and selectors |\n   | No NOTES.txt | Medium | Add post-install instructions |\n   | No .helmignore | Low | Create one to exclude .git, CI files, tests |\n   | Missing Chart.yaml fields | Medium | Add description, appVersion, maintainers |\n   | Hardcoded values in templates | High | Extract to values.yaml with defaults |\n\n2. **Check template quality**\n\n   | Check | Severity | Fix |\n   |-------|----------|-----|\n   | Missing standard labels | High | Use `app.kubernetes.io\u002F*` labels via _helpers.tpl |\n   | No resource requests\u002Flimits | Critical | Add resources section with defaults in values.yaml |\n   | Hardcoded image tag | High | Use `{{ .Values.image.repository }}:{{ .Values.image.tag }}` |\n   | No imagePullPolicy | Medium | Default to `IfNotPresent`, overridable |\n   | Missing liveness\u002Freadiness probes | High | Add probes with configurable paths and ports |\n   | No pod anti-affinity | Medium | Add preferred anti-affinity for HA |\n   | Duplicate template code | Medium | Extract into named templates in _helpers.tpl |\n\n3. **Check values.yaml quality**\n   ```bash\n   python3 scripts\u002Fvalues_validator.py mychart\u002Fvalues.yaml\n   ```\n\n4. **Generate review report**\n   ```\n   HELM CHART REVIEW — [chart name]\n   Date: [timestamp]\n\n   CRITICAL: [count]\n   HIGH:     [count]\n   MEDIUM:   [count]\n   LOW:      [count]\n\n   [Detailed findings with fix recommendations]\n   ```\n\n### `\u002Fhelm:security` — Security Audit\n\n1. **Pod security audit**\n\n   | Check | Severity | Fix |\n   |-------|----------|-----|\n   | No securityContext | Critical | Add runAsNonRoot, readOnlyRootFilesystem |\n   | Running as root | Critical | Set `runAsNonRoot: true`, `runAsUser: 1000` |\n   | Writable root filesystem | High | Set `readOnlyRootFilesystem: true` + emptyDir for tmp |\n   | All capabilities retained | High | Drop ALL, add only specific needed caps |\n   | Privileged container | Critical | Set `privileged: false`, use specific capabilities |\n   | No seccomp profile | Medium | Set `seccompProfile.type: RuntimeDefault` |\n   | allowPrivilegeEscalation true | High | Set `allowPrivilegeEscalation: false` |\n\n2. **RBAC audit**\n\n   | Check | Severity | Fix |\n   |-------|----------|-----|\n   | No ServiceAccount | Medium | Create dedicated SA, don't use default |\n   | automountServiceAccountToken true | Medium | Set to false unless pod needs K8s API access |\n   | ClusterRole instead of Role | Medium | Use namespace-scoped Role unless cluster-wide needed |\n   | Wildcard permissions | Critical | Use specific resource names and verbs |\n   | No RBAC at all | Low | Acceptable if pod doesn't need K8s API access |\n\n3. **Network and secrets audit**\n\n   | Check | Severity | Fix |\n   |-------|----------|-----|\n   | No NetworkPolicy | Medium | Add default-deny ingress + explicit allow rules |\n   | Secrets in values.yaml | Critical | Use external secrets operator or sealed-secrets |\n   | No PodDisruptionBudget | Medium | Add PDB with minAvailable for HA workloads |\n   | hostNetwork: true | High | Remove unless absolutely required (e.g., CNI plugin) |\n   | hostPID or hostIPC | Critical | Never use in application charts |\n\n4. **Generate security report**\n   ```\n   SECURITY AUDIT — [chart name]\n   Date: [timestamp]\n\n   CRITICAL: [count]\n   HIGH:     [count]\n   MEDIUM:   [count]\n   LOW:      [count]\n\n   [Detailed findings with remediation steps]\n   ```\n\n---\n\n## Tooling\n\n### `scripts\u002Fchart_analyzer.py`\n\nCLI utility for static analysis of Helm chart directories.\n\n**Features:**\n- Chart structure validation (required files, directory layout)\n- Template anti-pattern detection (hardcoded values, missing labels, no resource limits)\n- Chart.yaml metadata checks\n- Standard labels verification (app.kubernetes.io\u002F*)\n- Security baseline checks\n- JSON and text output\n\n**Usage:**\n```bash\n# Analyze a chart directory\npython3 scripts\u002Fchart_analyzer.py mychart\u002F\n\n# JSON output\npython3 scripts\u002Fchart_analyzer.py mychart\u002F --output json\n\n# Security-focused analysis\npython3 scripts\u002Fchart_analyzer.py mychart\u002F --security\n```\n\n### `scripts\u002Fvalues_validator.py`\n\nCLI utility for validating values.yaml against best practices.\n\n**Features:**\n- Documentation coverage (inline comments)\n- Type consistency checks\n- Hardcoded secrets detection\n- Default value quality analysis\n- Structure depth analysis\n- Naming convention validation\n- JSON and text output\n\n**Usage:**\n```bash\n# Validate values.yaml\npython3 scripts\u002Fvalues_validator.py values.yaml\n\n# JSON output\npython3 scripts\u002Fvalues_validator.py values.yaml --output json\n\n# Strict mode (fail on warnings)\npython3 scripts\u002Fvalues_validator.py values.yaml --strict\n```\n\n---\n\n## Template Patterns\n\n### Pattern 1: Standard Labels (_helpers.tpl)\n\n```yaml\n{{\u002F*\nCommon labels for all resources.\n*\u002F}}\n{{- define \"mychart.labels\" -}}\nhelm.sh\u002Fchart: {{ include \"mychart.chart\" . }}\napp.kubernetes.io\u002Fname: {{ include \"mychart.name\" . }}\napp.kubernetes.io\u002Finstance: {{ .Release.Name }}\napp.kubernetes.io\u002Fversion: {{ .Chart.AppVersion | quote }}\napp.kubernetes.io\u002Fmanaged-by: {{ .Release.Service }}\n{{- end }}\n\n{{\u002F*\nSelector labels (subset of common labels — must be immutable).\n*\u002F}}\n{{- define \"mychart.selectorLabels\" -}}\napp.kubernetes.io\u002Fname: {{ include \"mychart.name\" . }}\napp.kubernetes.io\u002Finstance: {{ .Release.Name }}\n{{- end }}\n```\n\n### Pattern 2: Conditional Resources\n\n```yaml\n{{- if .Values.ingress.enabled -}}\napiVersion: networking.k8s.io\u002Fv1\nkind: Ingress\nmetadata:\n  name: {{ include \"mychart.fullname\" . }}\n  labels:\n    {{- include \"mychart.labels\" . | nindent 4 }}\n  {{- with .Values.ingress.annotations }}\n  annotations:\n    {{- toYaml . | nindent 4 }}\n  {{- end }}\nspec:\n  {{- if .Values.ingress.tls }}\n  tls:\n    {{- range .Values.ingress.tls }}\n    - hosts:\n        {{- range .hosts }}\n        - {{ . | quote }}\n        {{- end }}\n      secretName: {{ .secretName }}\n    {{- end }}\n  {{- end }}\n  rules:\n    {{- range .Values.ingress.hosts }}\n    - host: {{ .host | quote }}\n      http:\n        paths:\n          {{- range .paths }}\n          - path: {{ .path }}\n            pathType: {{ .pathType }}\n            backend:\n              service:\n                name: {{ include \"mychart.fullname\" $ }}\n                port:\n                  number: {{ $.Values.service.port }}\n          {{- end }}\n    {{- end }}\n{{- end }}\n```\n\n### Pattern 3: Security-Hardened Pod Spec\n\n```yaml\nspec:\n  serviceAccountName: {{ include \"mychart.serviceAccountName\" . }}\n  automountServiceAccountToken: false\n  securityContext:\n    runAsNonRoot: true\n    runAsUser: 1000\n    fsGroup: 1000\n    seccompProfile:\n      type: RuntimeDefault\n  containers:\n    - name: {{ .Chart.Name }}\n      securityContext:\n        allowPrivilegeEscalation: false\n        readOnlyRootFilesystem: true\n        capabilities:\n          drop:\n            - ALL\n      image: \"{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}\"\n      imagePullPolicy: {{ .Values.image.pullPolicy }}\n      resources:\n        {{- toYaml .Values.resources | nindent 8 }}\n      volumeMounts:\n        - name: tmp\n          mountPath: \u002Ftmp\n  volumes:\n    - name: tmp\n      emptyDir: {}\n```\n\n---\n\n## Values Design Principles\n\n```\nSTRUCTURE\n├── Flat over nested (image.tag > container.spec.image.tag)\n├── Group by resource (service.*, ingress.*, resources.*)\n├── Use enabled: true\u002Ffalse for optional resources\n├── Document every key with inline YAML comments\n└── Provide sensible development defaults\n\nNAMING\n├── camelCase for keys (replicaCount, not replica_count)\n├── Boolean keys: use adjectives (enabled, required) not verbs\n├── Nested keys: max 3 levels deep\n└── Match upstream conventions (image.repository, image.tag, image.pullPolicy)\n\nANTI-PATTERNS\n├── Hardcoded cluster URLs or domains\n├── Secrets as default values\n├── Empty strings where null is correct\n├── Deeply nested structures (>3 levels)\n├── Undocumented values\n└── values.yaml that doesn't work without overrides\n```\n\n---\n\n## Dependency Management\n\n```\nSUBCHARTS\n├── Use Chart.yaml dependencies (not requirements.yaml — Helm 3)\n├── Pin versions: version: ~15.x.x (patch float)\n├── Use condition: to make optional: condition: postgresql.enabled\n├── Use alias: for multiple instances of same chart\n├── Override subchart values under subchart name key in values.yaml\n└── Run helm dependency update before packaging\n\nLIBRARY CHARTS\n├── type: library in Chart.yaml — no templates directory\n├── Export named templates only — no rendered resources\n├── Use for shared labels, annotations, security contexts\n└── Version independently from application charts\n```\n\n---\n\n## Proactive Triggers\n\nFlag these without being asked:\n\n- **No _helpers.tpl** → Create one. Every chart needs standard labels and fullname helpers.\n- **Hardcoded image tag in template** → Extract to values.yaml. Tags must be overridable.\n- **No resource requests\u002Flimits** → Add them. Pods without limits can starve the node.\n- **Running as root** → Add securityContext. No exceptions for production charts.\n- **No NOTES.txt** → Create one. Users need post-install instructions.\n- **Secrets in values.yaml defaults** → Remove them. Use placeholders with comments explaining how to provide secrets.\n- **No liveness\u002Freadiness probes** → Add them. Kubernetes needs to know if the pod is healthy.\n- **Missing app.kubernetes.io labels** → Add via _helpers.tpl. Required for proper resource tracking.\n\n---\n\n## Installation\n\n### One-liner (any tool)\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Falirezarezvani\u002Fclaude-skills.git\ncp -r claude-skills\u002Fengineering\u002Fhelm-chart-builder ~\u002F.claude\u002Fskills\u002F\n```\n\n### Multi-tool install\n```bash\n.\u002Fscripts\u002Fconvert.sh --skill helm-chart-builder --tool codex|gemini|cursor|windsurf|openclaw\n```\n\n### OpenClaw\n```bash\nclawhub install cs-helm-chart-builder\n```\n\n---\n\n## Related Skills\n\n- **senior-devops** — Broader DevOps scope (CI\u002FCD, IaC, monitoring). Complementary — use helm-chart-builder for chart-specific work, senior-devops for pipeline and infrastructure.\n- **docker-development** — Container building. Complementary — docker-development builds the images, helm-chart-builder deploys them to Kubernetes.\n- **ci-cd-pipeline-builder** — Pipeline construction. Complementary — helm-chart-builder defines the deployment artifact, ci-cd-pipeline-builder automates its delivery.\n- **senior-security** — Application security. Complementary — helm-chart-builder covers Kubernetes-level security (RBAC, pod security), senior-security covers application-level threats.\n",{"name":5,"license":15,"metadata":24,"description":7},{"author":25,"updated":26,"version":27,"category":28},"Alireza Rezvani",1773532800000,"1.0.0","engineering","main","4c9acccad4644b62896dcb63e794f0d936b35d94","fabrica-de-livros\u002Fagentic\u002Fskills\u002Fhelm-chart-builder","https:\u002F\u002Fgithub.com\u002FHeverton-web\u002Fskill-manager","https:\u002F\u002Fgithub.com\u002FHeverton-web","2026-08-06 09:12:45",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add Heverton-web\u002Fskill-manager --skill helm-chart-builder",{"tool":41,"command":42},"bunx","bunx skills add Heverton-web\u002Fskill-manager --skill helm-chart-builder",{"tool":44,"command":45},"pnpm","pnpm dlx skills add Heverton-web\u002Fskill-manager --skill helm-chart-builder","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHeverton-web\u002Fskill-manager\u002Fblob\u002Fmain\u002Ffabrica-de-livros\u002Fagentic\u002Fskills\u002Fhelm-chart-builder\u002FSKILL.md",true,[49,55,59,65],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fchart-patterns.md","REFERENCE","参考文档",11818,"https:\u002F\u002Fgithub.com\u002FHeverton-web\u002Fskill-manager\u002Fblob\u002Fmain\u002Ffabrica-de-livros\u002Fagentic\u002Fskills\u002Fhelm-chart-builder\u002Freferences\u002Fchart-patterns.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fvalues-design.md",9736,"https:\u002F\u002Fgithub.com\u002FHeverton-web\u002Fskill-manager\u002Fblob\u002Fmain\u002Ffabrica-de-livros\u002Fagentic\u002Fskills\u002Fhelm-chart-builder\u002Freferences\u002Fvalues-design.md",{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"scripts\u002Fchart_analyzer.py","SCRIPT","脚本",20022,"https:\u002F\u002Fgithub.com\u002FHeverton-web\u002Fskill-manager\u002Fblob\u002Fmain\u002Ffabrica-de-livros\u002Fagentic\u002Fskills\u002Fhelm-chart-builder\u002Fscripts\u002Fchart_analyzer.py",{"path":66,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":67,"sourceHtmlUrl":68},"scripts\u002Fvalues_validator.py",14524,"https:\u002F\u002Fgithub.com\u002FHeverton-web\u002Fskill-manager\u002Fblob\u002Fmain\u002Ffabrica-de-livros\u002Fagentic\u002Fskills\u002Fhelm-chart-builder\u002Fscripts\u002Fvalues_validator.py",[70,77,84,91,98,105],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M79ZW1HMA4KQ5NQKBNATQWYD","youtube-full","Use when the user needs YouTube transcripts, video search, channel browsing, playlist extraction, or content monitoring. Trigger phrases: 'get the transcript for', 'search YouTube for', 'what are the latest videos on', 'list this playlist', 'monitor this channel', or any request involving a YouTube URL, video ID, or @handle. Do NOT use for downloading video or audio files, YouTube engagement data (likes, comments), or private\u002Fage-restricted videos.","https:\u002F\u002Fgithub.com\u002FHeverton-web\u002Fskill-manager\u002Fblob\u002Fmain\u002Ffabrica-de-livros\u002Fagentic\u002Fskills\u002Fyoutube-full\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M79ZVENME42XFYS7F7W7TQYF","x-twitter-growth","X\u002FTwitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X\u002FTwitter, write tweets or threads, analyze their X profile, research competitors on X, plan a posting strategy, or optimize engagement. Complements social-content (generic multi-platform) with X-specific depth: algorithm mechanics, thread engineering, reply strategy, profile optimization, and competitive intelligence via web search.","https:\u002F\u002Fgithub.com\u002FHeverton-web\u002Fskill-manager\u002Fblob\u002Fmain\u002Ffabrica-de-livros\u002Fagentic\u002Fskills\u002Fx-twitter-growth\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M79ZTQW25Y85KSE58B8YTDR4","write-a-skill","Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when user wants to create, write, build, or author a new skill.","https:\u002F\u002Fgithub.com\u002FHeverton-web\u002Fskill-manager\u002Fblob\u002Fmain\u002Ffabrica-de-livros\u002Fagentic\u002Fskills\u002Fwrite-a-skill\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M79ZTJ181TCYK8K995E26VDZ","workflow-builder","Design and write deterministic multi-agent workflow scripts (.js files in .claude\u002Fworkflows\u002F) for Claude Code's Workflow tool. Use when a user wants to build, create, author, scaffold, or run a custom Claude Code workflow, orchestrate sub-agents (fan-out, pipeline, loop, judge-panel), or automate a repeatable multi-step task across fresh-context agents.","https:\u002F\u002Fgithub.com\u002FHeverton-web\u002Fskill-manager\u002Fblob\u002Fmain\u002Ffabrica-de-livros\u002Fagentic\u002Fskills\u002Fworkflow-builder\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M79ZT5Q0B9WNWNQFZRFMK197","weekly-review","Use when someone wants to run a weekly review, close open loops, audit stalled projects and commitments, get their system back to trusted, restart a lapsed review habit, or says \"\u002Fcs:weekly-review\". Walks David Allen's three-phase loop — GET CLEAR, GET CURRENT, GET CREATIVE — with deterministic scripts that inventory open loops, gate the checklist with named gaps, and score commitment health 0-100.","https:\u002F\u002Fgithub.com\u002FHeverton-web\u002Fskill-manager\u002Fblob\u002Fmain\u002Ffabrica-de-livros\u002Fagentic\u002Fskills\u002Fweekly-review\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":19},"01M79ZSS3DTNNTAZYD2CZ9C4Z5","webinar-marketing","When the user wants to plan, promote, run, or improve a webinar or virtual event to generate and convert demand. Use when the user mentions 'webinar,' 'virtual event,' 'online event,' 'live demo,' 'virtual summit,' 'workshop,' 'masterclass,' 'fireside chat,' 'roundtable,' 'registration funnel,' 'show-up rate,' 'attendance rate,' 'webinar promotion,' 'webinar follow-up,' or 'on-demand webinar.' Also use when they have a webinar that isn't converting — low registrations, low show-up, or attendees who don't buy — and want to diagnose and fix it. Covers the full funnel: registration, promotion, show-up, live engagement, live-to-close, and post-event nurture. Distinct from launch-strategy (full product launches) and email-sequence (lifecycle nurture) — this is the end-to-end webinar\u002Fevent motion. NOT for in-person field events logistics, and NOT for generic lifecycle email (use email-sequence).","https:\u002F\u002Fgithub.com\u002FHeverton-web\u002Fskill-manager\u002Fblob\u002Fmain\u002Ffabrica-de-livros\u002Fagentic\u002Fskills\u002Fwebinar-marketing\u002FSKILL.md",[],[]]