Skills k8s-manifest-generator
☸️

k8s-manifest-generator

Safe ⚑ Contains scripts🌐 Network access

Generate Kubernetes manifests

Creating Kubernetes manifests requires understanding many fields and best practices. This skill provides guided templates and security-focused examples for Deployments, Services, ConfigMaps, and Secrets.

Supports: Claude Codex Code(CC)
πŸ₯‰ 74 Bronze
1

Download the skill ZIP

2

Upload in Claude

Go to Settings β†’ Capabilities β†’ Skills β†’ Upload skill

3

Toggle on and start using

Test it

Using "k8s-manifest-generator". Create production manifests for a payments API using image registry/payments:2.1.0, port 8080, and external access.

Expected outcome:

  • Deployment with three replicas, resource limits, and liveness and readiness probes
  • LoadBalancer Service exposing ports 80 and 443
  • ConfigMap and Secret references wired into the Deployment
  • Security context set to non-root with dropped capabilities

Using "k8s-manifest-generator". Create a ConfigMap with nginx configuration for a web server.

Expected outcome:

  • ConfigMap named web-nginx-config with nginx.conf content
  • Example nginx.conf with worker processes, log paths, and proxy settings
  • Instructions for mounting as a volume or exposing as environment variables

Security Audit

Safe
v4 β€’ 1/17/2026

This is a pure documentation and YAML template skill. No executable code is present. The skill provides guided templates and best practices for Kubernetes manifests. All static findings are false positives: backticks in markdown are code formatting, not command execution; embedded scripts in YAML are template examples, not executable code; cryptographic mentions are documentation references, not actual weak crypto usage.

7
Files scanned
2,903
Lines analyzed
2
findings
4
Total audits

Risk Factors

⚑ Contains scripts (1)
🌐 Network access (1)
Audited by: claude View Audit History β†’

Quality Score

55
Architecture
100
Maintainability
85
Content
29
Community
100
Security
87
Spec Compliance

What You Can Build

Standardize app manifests

Create consistent Deployment and Service YAML with security and resource settings.

Bootstrap new service

Draft manifests for a new API with ConfigMap, Secret, and basic networking.

Review YAML quality

Check team manifests against recommended probes, labels, and security context.

Try These Prompts

Basic web app
Generate a Deployment and ClusterIP Service for app web-api using image repo/web:1.2.3, port 8080, and namespace dev.
Config and secrets
Create manifests for app billing with a ConfigMap for settings, a Secret reference for credentials, a Deployment, and a Service.
Stateful storage
Create a Deployment and PersistentVolumeClaim for app reports with 20Gi storage and mount it at /var/lib/app.
Hardened production
Generate production manifests with non-root security context, read-only filesystem, resource limits, and health probes for app payments.

Best Practices

  • Provide exact image tags and resource limits in your request
  • Specify ports, protocols, and exposure type clearly
  • Describe ConfigMap and Secret requirements explicitly

Avoid

  • Requesting secrets to be placed in plain text in manifests
  • Using :latest image tags in production deployments
  • Omitting health probes and security context settings

Frequently Asked Questions

Which Kubernetes versions are supported?
Templates use stable APIs and should work on most current Kubernetes clusters from 1.19 onwards.
Are there limits on manifest size or complexity?
No enforced limits, but very large manifests may need manual organization into separate files.
Can I use this with Helm or Kustomize?
Yes, but you must adapt the YAML into charts or overlays manually.
Does the skill access or store my data?
No, it provides guidance and templates only within the chat session.
What if kubectl validation fails?
Use the dry-run and lint steps listed in the skill to pinpoint missing fields or errors.
How is this different from a generator tool?
It focuses on best practice guidance, not automated scaffolding or cluster actions.