[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72V3X73G92PXTK50KNTH344":3,"skill-same:01M72V3X73G92PXTK50KNTH344":46},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M72V3X73G92PXTK50KNTH344","create-chart",null,"Interactive guide to scaffold a new Helm chart following established repository patterns","fairport-io\u002Ffairport-io","fairport-io","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F216230241?v=4","01M72V3VF5RFRPD26SSG0MY452","fairport.io","01M72V3VFT2EAB0GSFMF208FPD",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Ffairport-io\u002Ffairport-io\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcreate-chart\u002FSKILL.md",[],[],"2026-11-10 22:39:42",false,"---\nname: create-chart\ndescription: Interactive guide to scaffold a new Helm chart following established repository patterns\n---\n\n## What to do\n\nWhen this skill is active, guide the user through creating a new Helm chart. Ask questions interactively and scaffold the chart based on answers.\n\n### Questions to ask (in order)\n\n1. **What is the chart name?** (kebab-case, e.g. `mpi-operator`, `kueue`)\n\n2. **What archetype does this chart follow?**\n   - **bare-operator**: Deploy an operator from a static upstream manifest (renders templates like ServiceAccount, ClusterRole, ClusterRoleBinding, Deployment). Example: `mpi-operator`.\n   - **wrapper**: Thin wrapper around an upstream Helm chart (declares it as a Chart.yaml dependency, optionally adds extra templates). Examples: `kueue`, `slurm-operator`, `nvidia-gpu-operator`.\n   - **platform**: Full platform orchestrator with embedded helmfile (like `fairport`).\n\n3. **For bare-operator:**\n   - What is the URL of the upstream manifest? (e.g. `https:\u002F\u002Fraw.githubusercontent.com\u002Fkubeflow\u002Fmpi-operator\u002Fv0.8.0\u002Fdeploy\u002Fv2beta1\u002Fmpi-operator.yaml`)\n   - Does the manifest define a `CustomResourceDefinition`? If so, extract it into `crds\u002F\u003Cname>-crd.yaml`.\n   - Does it need Kubeflow integration roles (admin\u002Fedit\u002Fview aggregation)? (yes\u002Fno)\n   - Does it use `--lock-namespace` or other operator-specific CLI flags?\n\n4. **For wrapper:**\n   - What is the upstream chart name? (e.g. `kueue`, `gpu-operator`)\n   - What is the upstream chart version? (e.g. `0.14.1`, `v25.10.0`)\n   - What is the upstream chart repository URL? (e.g. `oci:\u002F\u002Fregistry.k8s.io\u002Fkueue\u002Fcharts`, `https:\u002F\u002Fhelm.ngc.nvidia.com\u002Fnvidia`)\n   - Does the upstream chart need an alias in Chart.yaml? (e.g. `gpu-operator` aliased as `nvidia-gpu-operator`)\n   - Does it need extra templates beyond the upstream chart? (e.g. post-install Jobs, PriorityClasses)\n   - Point the user at the upstream chart's values.yaml so they can decide what to expose\u002Foverride.\n\n5. **For platform:**\n   - Refer them to the `fairport` chart as the template and ask what helmfile releases they need.\n\n6. **What initial version?** (default: `0.3.0`, semver X.Y.Z)\n\n7. **What labels should be used?** Default suggestion:\n   ```yaml\n   app: \u003Cchart-name>\n   app.kubernetes.io\u002Fcomponent: \u003Cshort-component>\n   app.kubernetes.io\u002Fname: \u003Cchart-name>\n   ```\n\n### Files to create\n\nAlways create these (follow patterns from existing charts):\n\n| File | Source \u002F Pattern |\n|---|---|\n| `Chart.yaml` | `apiVersion: v2`, `version: 0`, annotation `publish-repository: oci:\u002F\u002Fgcr.io\u002Ffairport-io` |\n| `VERSION` | Single line: `0.3.0` (or user-provided version) |\n| `Makefile` | Symlink to `..\u002FMakefile` |\n| `README.md` | Docs about the app and how to install\u002Fuse it with common parameters |\n| `Dockerfile` | Standard multi-stage alpine\u002Fhelm:3.20 Dockerfile with `helm template \u003Cchart-name> . --namespace \u003Cchart-name>` in the test stage |\n| `.helmignore` | `.\u002F\u003Cchart-name>-*.tgz` |\n| `.dockerignore` | Exactly `Makefile`, `Dockerfile` |\n| `values.yaml` | Top-level key matching chart name, with `enabled`, `image`, `replicaCount`, resources, scheduling fields |\n\n### Bare-operator specific templates\n\nCreate these with `{{- $var := index .Values \"\u003Cchart-name>\" -}}` pattern:\n\n| Template | Contents |\n|---|---|\n| `templates\u002Fserviceaccount.yaml` | Conditional ServiceAccount, guarded by `$var.serviceAccount.create` |\n| `templates\u002Fclusterrole.yaml` | RBAC rules extracted from upstream manifest |\n| `templates\u002Fclusterrolebinding.yaml` | Binds ClusterRole to ServiceAccount in `.Release.Namespace` |\n| `templates\u002Fdeployment.yaml` | Deployment with configurable image, resources, nodeSelector, tolerations, affinity |\n| `templates\u002Fclusterrole-kubeflow.yaml` | (optional) Kubeflow admin\u002Fedit\u002Fview aggregation roles |\n\n### Wrapper specific setup\n\n- Add `dependencies` to `Chart.yaml` pointing at the upstream chart.\n- Run `helm dependency update` (or commit `.tgz` into `charts\u002F` directory for offline builds).\n- Set `condition: \u003Cchart-name>.enabled` on the dependency.\n\n### values.yaml structure for bare-operator\n\n```yaml\n---\n\u003Cchart-name>:\n  enabled: false\n  image: \u003Cupstream-image>:\u003Cversion>\n  imagePullPolicy: IfNotPresent\n  replicaCount: 1\n  serviceAccount:\n    create: true\n    name: \u003Cchart-name>\n  \u003Cany-operator-specific-args-as-fields>\n  resources: {}\n  nodeSelector: {}\n  tolerations: []\n  affinity: {}\n  labels:\n    app: \u003Cchart-name>\n    app.kubernetes.io\u002Fcomponent: \u003Ccomponent>\n    app.kubernetes.io\u002Fname: \u003Cchart-name>\n```\n\n### Post-creation checklist\n\n- [ ] Ensure that the README.md is updated\n- [ ] `make build` passes\n- [ ] `make test` passes\n- [ ] `git diff origin\u002Fmain` shows only the expected new files\n","## What to do\n\nWhen this skill is active, guide the user through creating a new Helm chart. Ask questions interactively and scaffold the chart based on answers.\n\n### Questions to ask (in order)\n\n1. **What is the chart name?** (kebab-case, e.g. `mpi-operator`, `kueue`)\n\n2. **What archetype does this chart follow?**\n   - **bare-operator**: Deploy an operator from a static upstream manifest (renders templates like ServiceAccount, ClusterRole, ClusterRoleBinding, Deployment). Example: `mpi-operator`.\n   - **wrapper**: Thin wrapper around an upstream Helm chart (declares it as a Chart.yaml dependency, optionally adds extra templates). Examples: `kueue`, `slurm-operator`, `nvidia-gpu-operator`.\n   - **platform**: Full platform orchestrator with embedded helmfile (like `fairport`).\n\n3. **For bare-operator:**\n   - What is the URL of the upstream manifest? (e.g. `https:\u002F\u002Fraw.githubusercontent.com\u002Fkubeflow\u002Fmpi-operator\u002Fv0.8.0\u002Fdeploy\u002Fv2beta1\u002Fmpi-operator.yaml`)\n   - Does the manifest define a `CustomResourceDefinition`? If so, extract it into `crds\u002F\u003Cname>-crd.yaml`.\n   - Does it need Kubeflow integration roles (admin\u002Fedit\u002Fview aggregation)? (yes\u002Fno)\n   - Does it use `--lock-namespace` or other operator-specific CLI flags?\n\n4. **For wrapper:**\n   - What is the upstream chart name? (e.g. `kueue`, `gpu-operator`)\n   - What is the upstream chart version? (e.g. `0.14.1`, `v25.10.0`)\n   - What is the upstream chart repository URL? (e.g. `oci:\u002F\u002Fregistry.k8s.io\u002Fkueue\u002Fcharts`, `https:\u002F\u002Fhelm.ngc.nvidia.com\u002Fnvidia`)\n   - Does the upstream chart need an alias in Chart.yaml? (e.g. `gpu-operator` aliased as `nvidia-gpu-operator`)\n   - Does it need extra templates beyond the upstream chart? (e.g. post-install Jobs, PriorityClasses)\n   - Point the user at the upstream chart's values.yaml so they can decide what to expose\u002Foverride.\n\n5. **For platform:**\n   - Refer them to the `fairport` chart as the template and ask what helmfile releases they need.\n\n6. **What initial version?** (default: `0.3.0`, semver X.Y.Z)\n\n7. **What labels should be used?** Default suggestion:\n   ```yaml\n   app: \u003Cchart-name>\n   app.kubernetes.io\u002Fcomponent: \u003Cshort-component>\n   app.kubernetes.io\u002Fname: \u003Cchart-name>\n   ```\n\n### Files to create\n\nAlways create these (follow patterns from existing charts):\n\n| File | Source \u002F Pattern |\n|---|---|\n| `Chart.yaml` | `apiVersion: v2`, `version: 0`, annotation `publish-repository: oci:\u002F\u002Fgcr.io\u002Ffairport-io` |\n| `VERSION` | Single line: `0.3.0` (or user-provided version) |\n| `Makefile` | Symlink to `..\u002FMakefile` |\n| `README.md` | Docs about the app and how to install\u002Fuse it with common parameters |\n| `Dockerfile` | Standard multi-stage alpine\u002Fhelm:3.20 Dockerfile with `helm template \u003Cchart-name> . --namespace \u003Cchart-name>` in the test stage |\n| `.helmignore` | `.\u002F\u003Cchart-name>-*.tgz` |\n| `.dockerignore` | Exactly `Makefile`, `Dockerfile` |\n| `values.yaml` | Top-level key matching chart name, with `enabled`, `image`, `replicaCount`, resources, scheduling fields |\n\n### Bare-operator specific templates\n\nCreate these with `{{- $var := index .Values \"\u003Cchart-name>\" -}}` pattern:\n\n| Template | Contents |\n|---|---|\n| `templates\u002Fserviceaccount.yaml` | Conditional ServiceAccount, guarded by `$var.serviceAccount.create` |\n| `templates\u002Fclusterrole.yaml` | RBAC rules extracted from upstream manifest |\n| `templates\u002Fclusterrolebinding.yaml` | Binds ClusterRole to ServiceAccount in `.Release.Namespace` |\n| `templates\u002Fdeployment.yaml` | Deployment with configurable image, resources, nodeSelector, tolerations, affinity |\n| `templates\u002Fclusterrole-kubeflow.yaml` | (optional) Kubeflow admin\u002Fedit\u002Fview aggregation roles |\n\n### Wrapper specific setup\n\n- Add `dependencies` to `Chart.yaml` pointing at the upstream chart.\n- Run `helm dependency update` (or commit `.tgz` into `charts\u002F` directory for offline builds).\n- Set `condition: \u003Cchart-name>.enabled` on the dependency.\n\n### values.yaml structure for bare-operator\n\n```yaml\n---\n\u003Cchart-name>:\n  enabled: false\n  image: \u003Cupstream-image>:\u003Cversion>\n  imagePullPolicy: IfNotPresent\n  replicaCount: 1\n  serviceAccount:\n    create: true\n    name: \u003Cchart-name>\n  \u003Cany-operator-specific-args-as-fields>\n  resources: {}\n  nodeSelector: {}\n  tolerations: []\n  affinity: {}\n  labels:\n    app: \u003Cchart-name>\n    app.kubernetes.io\u002Fcomponent: \u003Ccomponent>\n    app.kubernetes.io\u002Fname: \u003Cchart-name>\n```\n\n### Post-creation checklist\n\n- [ ] Ensure that the README.md is updated\n- [ ] `make build` passes\n- [ ] `make test` passes\n- [ ] `git diff origin\u002Fmain` shows only the expected new files\n",{"name":5,"description":7},"main","8cb62cf6fed92e7d87681cd6be089c5e231ae3dd",".agents\u002Fskills\u002Fcreate-chart",1,"https:\u002F\u002Fgithub.com\u002Ffairport-io\u002Ffairport-io","https:\u002F\u002Ffairport.io","https:\u002F\u002Fgithub.com\u002Ffairport-io","2026-11-11 04:44:40",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add fairport-io\u002Ffairport-io --skill create-chart",{"tool":38,"command":39},"bunx","bunx skills add fairport-io\u002Ffairport-io --skill create-chart",{"tool":41,"command":42},"pnpm","pnpm dlx skills add fairport-io\u002Ffairport-io --skill create-chart","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ffairport-io\u002Ffairport-io\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcreate-chart\u002FSKILL.md",true,[],[47],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M72V3Z5GAY6XAFDGG09PTD1B","echo-hi","Echo \"hi\"","https:\u002F\u002Fgithub.com\u002Ffairport-io\u002Ffairport-io\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fecho-hi\u002FSKILL.md",[],[]]