Kubernetes Manifest Writer skill for Claude and Codex
Valid Kubernetes YAML for a Deployment, Service, and optional Ingress, with probes, resource limits, and labels that line up so kubectl apply works first time.
Install it once and Claude or Codex runs it for you. When your request matches, your AI loads the skill, asks for anything it is missing, and works through the template itself. Prefer to fill it in by hand? See the full prompt template.
Download the skill (.zip) · View SKILL.md
When it is used
Use when a developer needs Kubernetes YAML for a containerised web app and wants a Deployment, Service, or Ingress that applies cleanly. Do not use for Helm charts, cluster setup, or Dockerfiles. Related topics: devops, cloud, coding.
What it will ask you for
- App name (free text, e.g. "my-web-app")
- Container image (free text, e.g. "nginx:1.27")
- Container port (number from 1 to 65535)
- Resources to generate (choose any: Deployment, Service, Ingress, ConfigMap, Secret)
- Replicas (number from 1 to 100)
- Service type (choose one: ClusterIP, NodePort, LoadBalancer)
- CPU and memory limits (choose one: Yes, No)
How it works
- Define one label set and use it identically in the Deployment selector, pod template, and Service selector.
- Write each requested resource with stable apiVersions and the chosen replicas and service type.
- Add readiness and liveness probes and resource requests and limits if chosen, done when every container has probes.
- Reference secrets as placeholders only.
- List the apply and verify commands, including rollout status and port-forward.
What you get
A single multi-document YAML file separated by dashes, followed by the kubectl commands to apply and verify it.
What it watches out for
- Mismatched selector and pod labels, which leave the Service with no endpoints.
- Limits set below what the app needs at start-up, causing restarts.
- Real secret values committed in a Secret manifest instead of placeholders.
How to install
Claude.ai and the Claude desktop app
- Download the skill .zip.
- Open Settings, then Capabilities, and find Skills.
- Choose Upload skill and select the .zip.
- Ask Claude for help with the task. It loads the skill when your request matches.
Claude Code
- Download the skill .zip.
- Unzip it into ~/.claude/skills/ (or .claude/skills/ inside a project).
- Start a new session. Claude Code loads the skill when your request matches.
Codex
- Download the skill .zip.
- Unzip it into ~/.agents/skills/ (or .agents/skills/ inside a project).
- Codex picks it up on its own. Type $ and the skill name to use it, or just ask for the task.
Cursor
- Download the Cursor rule (.mdc).
- Save it in .cursor/rules/ inside your project.
- Cursor's agent applies the rule when your request matches its description.
AGENTS.md (Codex, Cursor, and other coding agents)
- Copy the AGENTS.md section.
- Paste it into AGENTS.md at the root of your repository, creating the file if needed.
- Coding agents that read AGENTS.md follow it when your request fits.