[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F18WZVJJAGDHVC8Z024YH2":3,"skill-same:01M7F18WZVJJAGDHVC8Z024YH2":75},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7F18WZVJJAGDHVC8Z024YH2","k8s-manifest-generator",null,"Create production-ready Kubernetes manifests for Deployments, Services, ConfigMaps, and Secrets following best practices and security standards. Use when generating Kubernetes YAML manifests, creating K8s resources, or implementing production-grade Kubernetes configurations.","shotcowboystyle\u002Fag-skills","shotcowboystyle","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F62471?v=4","01M7EZTCFCZJ6K3MYW8BPM4X6R","Curtis Blanton","01M7EZTCG1S5M04J90A931X9BX",0,"MIT","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fkubernetes-operations\u002Fskills\u002Fk8s-manifest-generator\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: k8s-manifest-generator\ndescription: Create production-ready Kubernetes manifests for Deployments, Services, ConfigMaps, and Secrets following best practices and security standards. Use when generating Kubernetes YAML manifests, creating K8s resources, or implementing production-grade Kubernetes configurations.\nlast_verified: 2026-10-27\n---\n\n# Kubernetes Manifest Generator\n\nStep-by-step guidance for creating production-ready Kubernetes manifests including Deployments, Services, ConfigMaps, Secrets, and PersistentVolumeClaims.\n\n## Purpose\n\nThis skill provides comprehensive guidance for generating well-structured, secure, and production-ready Kubernetes manifests following cloud-native best practices and Kubernetes conventions.\n\n## When to Use This Skill\n\nUse this skill when you need to:\n\n- Create new Kubernetes Deployment manifests\n- Define Service resources for network connectivity\n- Generate ConfigMap and Secret resources for configuration management\n- Create PersistentVolumeClaim manifests for stateful workloads\n- Follow Kubernetes best practices and naming conventions\n- Implement resource limits, health checks, and security contexts\n- Design manifests for multi-environment deployments\n\n## Procedure\n\n1. **Gather requirements**: workload type (stateless, stateful, batch), image\n   and an immutable tag or digest, ports, config and secrets, storage, CPU and\n   memory, replica count, health endpoints, and whether it is exposed outside\n   the cluster. Ask for anything missing rather than inventing it.\n2. **Pick the workload kind**: Deployment for stateless services, StatefulSet\n   for stable identity or per-replica storage, Job or CronJob for batch.\n3. **Write the workload** from `assets\u002Fdeployment-template.yaml`. Every\n   container gets resource requests (and a memory limit), readiness and\n   liveness probes, and a restricted security context: `runAsNonRoot: true`,\n   `allowPrivilegeEscalation: false`, `capabilities.drop: [\"ALL\"]`,\n   `seccompProfile.type: RuntimeDefault`. That is what a namespace at the\n   `restricted` Pod Security level admits.\n4. **Expose it** with a Service from `assets\u002Fservice-template.yaml`: ClusterIP\n   by default, LoadBalancer only for direct external access. The Service\n   selector must match the pod template labels exactly.\n5. **Externalise configuration**: ConfigMaps from\n   `assets\u002Fconfigmap-template.yaml`; Secrets never committed in plain text (use\n   External Secrets, Sealed Secrets or SOPS).\n6. **Add storage** if needed: a PersistentVolumeClaim with an explicit\n   `storageClassName` and access mode.\n7. **Label consistently** with the `app.kubernetes.io\u002F*` recommended labels\n   (`name`, `instance`, `version`, `component`, `part-of`, `managed-by`).\n8. **Validate offline** against the target Kubernetes version, then\n   server-side when a cluster is available:\n\n   ```bash\n   kubeconform -strict -summary -kubernetes-version 1.37.0 manifests\u002F\n   kubectl apply --dry-run=server -f manifests\u002F\n   ```\n\n   kubeconform replaces kubeval, which is unmaintained and has no schemas for\n   current Kubernetes. CRDs need extra `-schema-location` entries (see\n   `references\u002Fdetails.md`, step 10).\n\n## References\n\n- `references\u002Fdetails.md`: the full step-by-step workflow with worked examples,\n  multi-resource layout and common patterns\n- `references\u002Fdeployment-spec.md`: every Deployment field worth setting\n- `references\u002Fservice-spec.md`: Service types, traffic policies, headless\n  Services and external endpoints\n\n## Best Practices Summary\n\n1. **Always set resource requests and limits** - Prevents resource starvation\n2. **Implement health checks** - Ensures Kubernetes can manage your application\n3. **Use specific image tags** - Avoid unpredictable deployments\n4. **Apply security contexts** - Run as non-root, drop capabilities\n5. **Use ConfigMaps and Secrets** - Separate config from code\n6. **Label everything** - Enables filtering and organization\n7. **Follow naming conventions** - Use standard Kubernetes labels\n8. **Validate before applying** - `kubeconform -strict`, then server-side dry-run\n9. **Version your manifests** - Keep in Git with version control\n10. **Document with annotations** - Add context for other developers\n\n## Troubleshooting\n\n**Pods not starting:**\n\n- Check image pull errors: `kubectl describe pod \u003Cpod-name>`\n- Verify resource availability: `kubectl get nodes`\n- Check events: `kubectl get events --sort-by='.lastTimestamp'`\n\n**Service not accessible:**\n\n- Verify selector matches pod labels: `kubectl get endpointslices -l kubernetes.io\u002Fservice-name=\u003Cservice-name>` (no ready endpoints means no matching ready pods)\n- Check service type and port configuration\n- Test from within cluster: `kubectl run debug --rm -it --image=busybox:1.37 -- sh`\n\n**ConfigMap\u002FSecret not loading:**\n\n- Verify names match in Deployment\n- Check namespace\n- Ensure resources exist: `kubectl get configmap,secret`\n\n## Next Steps\n\nAfter creating manifests:\n\n1. Store in Git repository\n2. Set up CI\u002FCD pipeline for deployment\n3. Consider using Helm or Kustomize for templating\n4. Implement GitOps with ArgoCD or Flux\n5. Add monitoring and observability\n\n## Related Skills\n\n- `helm-chart-scaffolding` - For templating and packaging\n- `gitops-workflow` - For automated deployments\n- `k8s-security-policies` - For advanced security configurations\n","# Kubernetes Manifest Generator\n\nStep-by-step guidance for creating production-ready Kubernetes manifests including Deployments, Services, ConfigMaps, Secrets, and PersistentVolumeClaims.\n\n## Purpose\n\nThis skill provides comprehensive guidance for generating well-structured, secure, and production-ready Kubernetes manifests following cloud-native best practices and Kubernetes conventions.\n\n## When to Use This Skill\n\nUse this skill when you need to:\n\n- Create new Kubernetes Deployment manifests\n- Define Service resources for network connectivity\n- Generate ConfigMap and Secret resources for configuration management\n- Create PersistentVolumeClaim manifests for stateful workloads\n- Follow Kubernetes best practices and naming conventions\n- Implement resource limits, health checks, and security contexts\n- Design manifests for multi-environment deployments\n\n## Procedure\n\n1. **Gather requirements**: workload type (stateless, stateful, batch), image\n   and an immutable tag or digest, ports, config and secrets, storage, CPU and\n   memory, replica count, health endpoints, and whether it is exposed outside\n   the cluster. Ask for anything missing rather than inventing it.\n2. **Pick the workload kind**: Deployment for stateless services, StatefulSet\n   for stable identity or per-replica storage, Job or CronJob for batch.\n3. **Write the workload** from `assets\u002Fdeployment-template.yaml`. Every\n   container gets resource requests (and a memory limit), readiness and\n   liveness probes, and a restricted security context: `runAsNonRoot: true`,\n   `allowPrivilegeEscalation: false`, `capabilities.drop: [\"ALL\"]`,\n   `seccompProfile.type: RuntimeDefault`. That is what a namespace at the\n   `restricted` Pod Security level admits.\n4. **Expose it** with a Service from `assets\u002Fservice-template.yaml`: ClusterIP\n   by default, LoadBalancer only for direct external access. The Service\n   selector must match the pod template labels exactly.\n5. **Externalise configuration**: ConfigMaps from\n   `assets\u002Fconfigmap-template.yaml`; Secrets never committed in plain text (use\n   External Secrets, Sealed Secrets or SOPS).\n6. **Add storage** if needed: a PersistentVolumeClaim with an explicit\n   `storageClassName` and access mode.\n7. **Label consistently** with the `app.kubernetes.io\u002F*` recommended labels\n   (`name`, `instance`, `version`, `component`, `part-of`, `managed-by`).\n8. **Validate offline** against the target Kubernetes version, then\n   server-side when a cluster is available:\n\n   ```bash\n   kubeconform -strict -summary -kubernetes-version 1.37.0 manifests\u002F\n   kubectl apply --dry-run=server -f manifests\u002F\n   ```\n\n   kubeconform replaces kubeval, which is unmaintained and has no schemas for\n   current Kubernetes. CRDs need extra `-schema-location` entries (see\n   `references\u002Fdetails.md`, step 10).\n\n## References\n\n- `references\u002Fdetails.md`: the full step-by-step workflow with worked examples,\n  multi-resource layout and common patterns\n- `references\u002Fdeployment-spec.md`: every Deployment field worth setting\n- `references\u002Fservice-spec.md`: Service types, traffic policies, headless\n  Services and external endpoints\n\n## Best Practices Summary\n\n1. **Always set resource requests and limits** - Prevents resource starvation\n2. **Implement health checks** - Ensures Kubernetes can manage your application\n3. **Use specific image tags** - Avoid unpredictable deployments\n4. **Apply security contexts** - Run as non-root, drop capabilities\n5. **Use ConfigMaps and Secrets** - Separate config from code\n6. **Label everything** - Enables filtering and organization\n7. **Follow naming conventions** - Use standard Kubernetes labels\n8. **Validate before applying** - `kubeconform -strict`, then server-side dry-run\n9. **Version your manifests** - Keep in Git with version control\n10. **Document with annotations** - Add context for other developers\n\n## Troubleshooting\n\n**Pods not starting:**\n\n- Check image pull errors: `kubectl describe pod \u003Cpod-name>`\n- Verify resource availability: `kubectl get nodes`\n- Check events: `kubectl get events --sort-by='.lastTimestamp'`\n\n**Service not accessible:**\n\n- Verify selector matches pod labels: `kubectl get endpointslices -l kubernetes.io\u002Fservice-name=\u003Cservice-name>` (no ready endpoints means no matching ready pods)\n- Check service type and port configuration\n- Test from within cluster: `kubectl run debug --rm -it --image=busybox:1.37 -- sh`\n\n**ConfigMap\u002FSecret not loading:**\n\n- Verify names match in Deployment\n- Check namespace\n- Ensure resources exist: `kubectl get configmap,secret`\n\n## Next Steps\n\nAfter creating manifests:\n\n1. Store in Git repository\n2. Set up CI\u002FCD pipeline for deployment\n3. Consider using Helm or Kustomize for templating\n4. Implement GitOps with ArgoCD or Flux\n5. Add monitoring and observability\n\n## Related Skills\n\n- `helm-chart-scaffolding` - For templating and packaging\n- `gitops-workflow` - For automated deployments\n- `k8s-security-policies` - For advanced security configurations\n",{"name":5,"description":7,"last_verified":24},1793059200000,"main","f846d9a97082ff30d613b55a085cef425d822473","plugins\u002Fkubernetes-operations\u002Fskills\u002Fk8s-manifest-generator","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle","https:\u002F\u002Fshotcowboystyle.github.io","Building smarter with AI, automation & modern tools. Exploring how far one person can go without a big team using today’s AI.","2026-11-10 04:58:27",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add shotcowboystyle\u002Fag-skills --skill k8s-manifest-generator",{"tool":39,"command":40},"bunx","bunx skills add shotcowboystyle\u002Fag-skills --skill k8s-manifest-generator",{"tool":42,"command":43},"pnpm","pnpm dlx skills add shotcowboystyle\u002Fag-skills --skill k8s-manifest-generator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fkubernetes-operations\u002Fskills\u002Fk8s-manifest-generator\u002FSKILL.md",true,[47,53,57,61,67,71],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"assets\u002Fconfigmap-template.yaml","ASSET","资产文件",6222,"https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fkubernetes-operations\u002Fskills\u002Fk8s-manifest-generator\u002Fassets\u002Fconfigmap-template.yaml",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"assets\u002Fdeployment-template.yaml",5286,"https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fkubernetes-operations\u002Fskills\u002Fk8s-manifest-generator\u002Fassets\u002Fdeployment-template.yaml",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"assets\u002Fservice-template.yaml",3711,"https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fkubernetes-operations\u002Fskills\u002Fk8s-manifest-generator\u002Fassets\u002Fservice-template.yaml",{"path":62,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fdeployment-spec.md","REFERENCE","参考文档",17698,"https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fkubernetes-operations\u002Fskills\u002Fk8s-manifest-generator\u002Freferences\u002Fdeployment-spec.md",{"path":68,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Fdetails.md",11365,"https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fkubernetes-operations\u002Fskills\u002Fk8s-manifest-generator\u002Freferences\u002Fdetails.md",{"path":72,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fservice-spec.md",14356,"https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fkubernetes-operations\u002Fskills\u002Fk8s-manifest-generator\u002Freferences\u002Fservice-spec.md",[76,82,89,96,103,110],{"skillNo":77,"name":78,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7F1YRY5S5QRJ1V0BJS130QX","no-description","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fno-description\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7F1Y9BV2FJNQJ3NB32JS5CM","good-skill","Fixture skill that satisfies every rule.","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fgood-skill\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7F1XXBQ3NQRXZSS0KAGAR9V","broken-link","Links to a reference file that does not exist.","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fbroken-link\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M7F1XBX4R46NR9W0HXQ7XCDX","Bad_Name","Name violates the kebab-case rule and does not match the directory.","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fbad-name\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":19},"01M7F1WNAF8WNEQ7S5HKT5VK0D","skill-authoring","Write, review, and validate portable agent skills in SKILL.md format. Use when creating a new skill, editing an existing one, or asked whether a skill follows the Agent Skills spec.","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Fskills\u002Fskill-authoring\u002FSKILL.md",[],[],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":19},"01M7F1W30TC0XFNSF7YBRGETK2","weigh-bags","Record scale readings for each bag — empty (tare), outbound, current, final — and reconcile them against the itemised inventory to find unaccounted weight. Use when the user gives a bag weight, says how heavy something is, weighs their luggage, or asks how close to the limit they are. Appends to bags.yaml and runs scripts\u002Freconcile.py.","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Fplugins\u002Ftravel-packing-assistant\u002Fskills\u002Fweigh-bags\u002FSKILL.md",[],[]]