跳到正文
cccskills
免费在 GitHub 公开

helm-chart-builder

This skill should be used when the user asks to "analyze Helm charts", "validate Helm values", "review chart structure", "check Kubernetes Helm templates", or "audit chart dependencies and configuration".

中文简介正在准备中。当前显示原文说明。

集成工具Kubernetes
查看安装方法

包含的文件(6)

  • SKILL.md5.6 KB
  • examples/Chart.yaml931 B
  • examples/values.yaml2.6 KB
  • references/helm-best-practices.md2.7 KB
  • scripts/chart_analyzer.py15.6 KB
  • scripts/values_validator.py16.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Helm Chart Builder

Category: Engineering Domain: Kubernetes & Helm

Overview

The Helm Chart Builder skill provides automated analysis of Helm charts including structure validation, values checking, template inspection, and dependency review. It helps teams maintain high-quality charts with correct configurations, proper security contexts, and complete documentation.

Clarify First

Before analyzing the chart, confirm these inputs. If any is unknown or vague, ASK — do not assume:

  • Chart path — which chart directory to analyze (sets --path/--chart)
  • Values files — which environment values files to validate (sets --values and what gets checked against best practices)
  • Strictness — strict/lint mode and JSON for CI (sets --strict --format json and whether findings gate the pipeline)

Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.

Quick Start

# Analyze chart structure and quality
python scripts/chart_analyzer.py --path ./charts/my-app

# Validate values.yaml against chart requirements
python scripts/values_validator.py --chart ./charts/my-app --values values-prod.yaml

# JSON output for CI
python scripts/chart_analyzer.py --path ./charts/my-app --format json

# Validate multiple values files
python scripts/values_validator.py --chart ./charts/my-app --values values-dev.yaml values-prod.yaml

Tools Overview

chart_analyzer.py

Analyzes Helm chart structure, metadata, templates, and dependencies.

FeatureDescription
Structure validationChecks required files exist (Chart.yaml, values.yaml, templates/)
Metadata checkValidates Chart.yaml fields, version format, appVersion
Template reviewInspects templates for common patterns and issues
Dependency analysisReviews subchart dependencies and version constraints
Documentation checkVerifies NOTES.txt and README presence

values_validator.py

Validates values files against chart expectations and Kubernetes best practices.

FeatureDescription
Resource limitsChecks for CPU/memory requests and limits
Security contextValidates runAsNonRoot, readOnlyRootFilesystem
Replica countChecks for production-appropriate replica counts
Image tagsFlags use of latest or missing image tags
Ingress configValidates ingress annotations and TLS settings

Workflows

Chart Review Workflow

  1. Analyze structure - Run chart_analyzer.py to check chart organization
  2. Validate defaults - Run values_validator.py against default values.yaml
  3. Check environments - Validate each environment's values file
  4. Review findings - Address critical issues first, then warnings
  5. Re-check - Confirm fixes pass validation

Pre-Release Workflow

  1. Bump version - Update Chart.yaml version and appVersion
  2. Lint chart - Run chart_analyzer.py in strict mode
  3. Validate all values - Check every environment's values file
  4. Check dependencies - Ensure subchart versions are pinned
  5. Package - Chart is ready for helm package

CI Integration

# Structure check
python scripts/chart_analyzer.py --path ./charts/my-app --format json --strict

# Values validation for all environments
for env in dev staging production; do
  python scripts/values_validator.py \
    --chart ./charts/my-app \
    --values "values-${env}.yaml"
done

Reference Documentation

Common Patterns Quick Reference

Required Chart Structure

my-chart/
  Chart.yaml          # Required: chart metadata
  values.yaml         # Required: default values
  templates/          # Required: template directory
    deployment.yaml
    service.yaml
    _helpers.tpl      # Recommended: template helpers
    NOTES.txt         # Recommended: post-install notes
  charts/             # Optional: subchart dependencies

Values Best Practices

SettingRequirementWhy
resources.limitsRequiredPrevents resource exhaustion
resources.requestsRequiredEnables proper scheduling
securityContext.runAsNonRootRequiredSecurity baseline
image.tagRequired (not latest)Reproducible deployments
replicaCount >= 2Recommended for prodHigh availability
ingress.tlsRecommendedEncrypted traffic

Chart.yaml Required Fields

FieldDescription
apiVersionv2 for Helm 3
nameChart name (lowercase)
versionSemVer chart version
appVersionApplication version
descriptionBrief chart description

Common Issues

IssueSeverityFix
Missing Chart.yamlCriticalAdd required chart metadata
No resource limitsWarningSet CPU/memory limits
Latest image tagWarningPin specific version
No security contextWarningAdd runAsNonRoot: true
Missing NOTES.txtInfoAdd post-install notes
Unpinned dependenciesWarningPin subchart versions

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

This skill should be used when the user asks to "check accessibility", "audit WCAG compliance", "scan HTML for a11y issues", "check color contrast", or "find accessibility violations in web pages".

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9512026年10月7日 更新

Design and analyze A/B tests: sample size, test duration, and statistical significance for conversion experiments. Use when setting up an A/B test, calculating sample size, designing an experiment, or analyzing results.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9512026年10月7日 更新

Design and run statistically rigorous A/B tests and experiments. Use when planning experiments, calculating sample sizes, designing test variants, selecting metrics, analyzing results, or when someone says "let's test that."

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9512026年10月7日 更新

Sales execution across pipeline, discovery, demos, negotiation, and closing. Use when qualifying opportunities, running MEDDIC discovery, building account plans, handling objections, structuring proposals, or forecasting pipeline.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9512026年10月7日 更新

Design ad creative across Google, Meta, LinkedIn, Twitter/X, and TikTok with platform format specs, headline formulas, and A/B testing. Use when writing ad copy, generating headline variations, creating ad sets, or validating creative.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9512026年10月7日 更新

aeo

免费

Answer Engine Optimization (AEO): optimize content to be cited by LLMs (ChatGPT, Claude, Perplexity, Gemini) in their answers. Use when designing content for LLM citation, auditing citability, or structuring Q&A schema.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9512026年10月7日 更新

查看 borghei 的全部技能

报告此技能的问题