New to Claude Skills? Learn how to install them →

wshobson on GitHub

Kubernetes Manifest Generator

Free

Easily create production-ready Kubernetes manifests.

by wshobson38.7k stars on wshobson/agents
1 views
Updated Jul 18, 2026
Get this skill

Free · Opens the source repo

What Kubernetes Manifest Generator does

The Kubernetes Manifest Generator skill is designed to assist developers and DevOps engineers in creating production-ready Kubernetes manifests efficiently. It provides step-by-step guidance for generating essential Kubernetes resources such as Deployments, Services, ConfigMaps, Secrets, and PersistentVolumeClaims, ensuring adherence to cloud-native best practices and Kubernetes conventions. This skill is particularly useful for those who are new to Kubernetes or looking to streamline their manifest creation process while maintaining security and performance standards.

By leveraging this skill, users can ensure that their Kubernetes manifests are well-structured and optimized for production environments. It emphasizes the importance of implementing key practices such as setting resource requests and limits, implementing health checks, and using specific image tags to avoid unpredictable deployments. Additionally, the skill encourages the use of ConfigMaps and Secrets to separate configuration from code, which is crucial for maintaining clean and manageable deployments.

The skill also includes troubleshooting tips for common issues that may arise when working with Kubernetes, such as pods not starting or services being inaccessible. This guidance can save users time and effort when diagnosing problems in their Kubernetes clusters. Furthermore, it advises on next steps after creating manifests, including version control and CI/CD pipeline integration, which are essential for modern software development workflows.

Overall, this skill is an invaluable resource for anyone involved in Kubernetes development, from beginners to experienced practitioners, looking to enhance their workflow and ensure the reliability of their applications in a cloud-native environment.

When to use it

Use this skill when you need to generate Kubernetes manifests for various resources and ensure they follow industry best practices.

When not to use it

This skill may not be suitable for users looking for a fully automated solution or those who require advanced customization beyond the provided templates.

What you can build with it

Creating a New Deployment

When launching a new application, use this skill to generate a Deployment manifest that adheres to best practices.

Setting Up Services

Utilize this skill to define Service resources for enabling network connectivity between your application components.

Managing Configuration with ConfigMaps

Generate ConfigMaps and Secrets to manage application configuration separately from the codebase.

How to install Kubernetes Manifest Generator

View source

1. Install with the skills CLI

npx skills add wshobson/agents/k8s-manifest-generator --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by wshobson

Kubernetes Manifest Generator

Step-by-step guidance for creating production-ready Kubernetes manifests including Deployments, Services, ConfigMaps, Secrets, and PersistentVolumeClaims.

Purpose

This skill provides comprehensive guidance for generating well-structured, secure, and production-ready Kubernetes manifests following cloud-native best practices and Kubernetes conventions.

When to Use This Skill

Use this skill when you need to:

  • Create new Kubernetes Deployment manifests
  • Define Service resources for network connectivity
  • Generate ConfigMap and Secret resources for configuration management
  • Create PersistentVolumeClaim manifests for stateful workloads
  • Follow Kubernetes best practices and naming conventions
  • Implement resource limits, health checks, and security contexts
  • Design manifests for multi-environment deployments

Detailed patterns and worked examples

Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.

Best Practices Summary

  1. Always set resource requests and limits - Prevents resource starvation
  2. Implement health checks - Ensures Kubernetes can manage your application
  3. Use specific image tags - Avoid unpredictable deployments
  4. Apply security contexts - Run as non-root, drop capabilities
  5. Use ConfigMaps and Secrets - Separate config from code
  6. Label everything - Enables filtering and organization
  7. Follow naming conventions - Use standard Kubernetes labels
  8. Validate before applying - Use dry-run and validation tools
  9. Version your manifests - Keep in Git with version control
  10. Document with annotations - Add context for other developers

Troubleshooting

Pods not starting:

  • Check image pull errors: kubectl describe pod <pod-name>
  • Verify resource availability: kubectl get nodes
  • Check events: kubectl get events --sort-by='.lastTimestamp'

Service not accessible:

  • Verify selector matches pod labels: kubectl get endpoints <service-name>
  • Check service type and port configuration
  • Test from within cluster: kubectl run debug --rm -it --image=busybox -- sh

ConfigMap/Secret not loading:

  • Verify names match in Deployment
  • Check namespace
  • Ensure resources exist: kubectl get configmap,secret

Next Steps

After creating manifests:

  1. Store in Git repository
  2. Set up CI/CD pipeline for deployment
  3. Consider using Helm or Kustomize for templating
  4. Implement GitOps with ArgoCD or Flux
  5. Add monitoring and observability

Related Skills

  • helm-chart-scaffolding - For templating and packaging
  • gitops-workflow - For automated deployments
  • k8s-security-policies - For advanced security configurations

Frequently asked questions about Kubernetes Manifest Generator

Similar skills