manifest
Skill0 starsChanged 8 months agoMITView on GitHub
Generate Kubernetes manifests from a plain-English description of what to deploy. Use when the user asks to write a Deployment, Service, Ingress, ConfigMap, Secret, HorizontalPodAutoscaler, StatefulSet, or Job, or asks to turn a docker-compose file into Kubernetes manifests.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- Alexander-Tyagunov/magiciantheir own version, first seen Sep 28, 2026
- flowing-abyss/obsidian-vault-skillstheir own version, first seen Sep 19, 2026
- atelier-fashion/adlc-toolkittheir own version, first seen Sep 9, 2026
- cavi-ai/obsidian-agenttheir own version, first seen Aug 17, 2026
- auth-02/skillstheir own version, first seen Jun 12, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- atelier-fashion/adlc-toolkit★ 171same name
- Alexander-Tyagunov/magician★ 14same name
- flowing-abyss/obsidian-vault-skills★ 9same name
- cavi-ai/obsidian-agent★ 3same name
- auth-02/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository6 other files it gives its agents.
- composeSkill
- docker-debugSkill
- dockerfileSkill
- helm-reviewSkill
- k8s-debugSkill
- rbac-reviewSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. 0 are common, 5 are distinctive, and 10 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 10
Write clean, idiomatic Kubernetes YAML for the workload described.
- Very specific: line 20
If $ARGUMENTS is vague, ask a small number of focused questions before generating anything:
- Distinctive: line 30
Every manifest you produce must follow these rules:
- Very specific: line 32
Labels and selectors: use app.kubernetes.io/name and app.kubernetes.io/instance consistently across Deployment, Service, and related …
- Very specific: line 33
Resource requests and limits: every container must have resources.requests and resources.limits.
- Very specific: line 35
Security context: run as a non-root user (runAsNonRoot: true, runAsUser: <uid>), drop all capabilities, and set readOnlyRootFilesystem: …
- Very specific: line 36
Image tag: never latest. Always a specific version or digest.
- Distinctive: line 39
Namespace: if the user specified one, use it.
- Very specific: line 40
API versions: use the latest stable API versions: apps/v1, networking.k8s.io/v1, autoscaling/v2, policy/v1.
- Very specific: line 45
Write each manifest as a separate YAML file, or a single file with --- separators if the user prefers.
- Distinctive: line 283
Never commit real Secret values to git.
- Distinctive: line 320
Do not set resource limits lower than requests.
- Very specific: line 321
Do not use image: <name> without a tag or digest.
- Very specific: line 322
Do not default to runAsUser: 0 or leave runAsNonRoot unset.
- Very specific: line 323
Do not use deprecated API versions such as extensions/v1beta1, apps/v1beta1, or networking.k8s.io/v1beta1.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Generate Kubernetes manifests
Write clean, idiomatic Kubernetes YAML for the workload described.
Inputs
$ARGUMENTS is a description of what to deploy. Examples:
a Node app called api that talks to Postgres, 3 replicas, behind an Ingress at api.example.coma Redis statefulset with 10Gi persistent storageturn our docker-compose.yml into manifests for staging
If $ARGUMENTS is vague, ask a small number of focused questions before generating anything:
- Image name and tag.
- Replica count.
- Ports the app listens on.
- Whether it needs persistent storage.
- Whether it needs to be reachable from outside the cluster.
Required characteristics
Every manifest you produce must follow these rules:
- Labels and selectors: use
app.kubernetes.io/nameandapp.kubernetes.io/instanceconsistently across Deployment, Service, and related resources. - Resource requests and limits: every container must have
resources.requestsandresources.limits. Use reasonable defaults if the user did not specify. - Probes: include
readinessProbeandlivenessProbewhen the app exposes an HTTP endpoint. UsestartupProbefor slow-starting apps. - Security context: run as a non-root user (
runAsNonRoot: true,runAsUser: <uid>), drop all capabilities, and setreadOnlyRootFilesystem: truewhere the app allows it. - Image tag: never
latest. Always a specific version or digest. - PodDisruptionBudget: include one for workloads with more than one replica.
- ConfigMap vs Secret: non-sensitive config goes in a ConfigMap, secrets go in a Secret. Never put secrets in ConfigMaps.
- Namespace: if the user specified one, use it. Otherwise omit the namespace field so manifests stay namespace-agnostic.
- API versions: use the latest stable API versions:
apps/v1,networking.k8s.io/v1,autoscaling/v2,policy/v1.
Output steps
- Decide how to split the manifests. Default: one file per kind, grouped in a
k8s/ormanifests/directory. If there is an existing layout, follow it. - Write each manifest as a separate YAML file, or a single file with
---separators if the user prefers. - Show the commands to apply and verify:
kubectl apply -f k8s/
kubectl rollout status deployment/<name>
kubectl get pods -l app.kubernetes.io/name=<name>,app.kubernetes.io/instance=<instance>Example: simple web API
apiVersion: apps/v1
kind: Deployment
metadata:
name: api
labels:
app.kubernetes.io/name: api
app.kubernetes.io/instance: api
spec:
replicas: 3
selector:
matchLabels:
app.kubernetes.io/name: api
app.kubernetes.io/instance: api
template:
metadata:
labels:
app.kubernetes.io/name: api
app.kubernetes.io/instance: api
spec:
securityContext:
runAsNonRoot: true
runAsUser: 1000
fsGroup: 1000
containers:
- name: api
image: ghcr.io/example/api:1.4.2
ports:
- containerPort: 3000
name: http
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 512Mi
readinessProbe:
httpGet:
path: /healthz
port: http
initialDelaySeconds: 5
periodSeconds: 5
livenessProbe:
httpGet:
path: /healthz
port: http
initialDelaySeconds: 15
periodSeconds: 10
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
---
apiVersion: v1
kind: Service
metadata:
name: api
labels:
app.kubernetes.io/name: api
app.kubernetes.io/instance: api
spec:
selector:
app.kubernetes.io/name: api
app.kubernetes.io/instance: api
ports:
- name: http
port: 80
targetPort: http
type: ClusterIP
---
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: api
spec:
minAvailable: 2
selector:
matchLabels:
app.kubernetes.io/name: api
app.kubernetes.io/instance: apiExample: Ingress with TLS
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: api
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
ingressClassName: nginx
tls:
- hosts:
- api.example.com
secretName: api-tls
rules:
- host: api.example.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: api
port:
name: httpExample: HorizontalPodAutoscaler
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: api
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: api
minReplicas: 3
maxReplicas: 20
metrics:
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: 70
behavior:
scaleDown:
stabilizationWindowSeconds: 300Example: StatefulSet with persistent storage
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: redis
labels:
app.kubernetes.io/name: redis
app.kubernetes.io/instance: redis
spec:
serviceName: redis
replicas: 3
selector:
matchLabels:
app.kubernetes.io/name: redis
app.kubernetes.io/instance: redis
template:
metadata:
labels:
app.kubernetes.io/name: redis
app.kubernetes.io/instance: redis
spec:
securityContext:
runAsNonRoot: true
runAsUser: 999
fsGroup: 999
containers:
- name: redis
image: redis:7.2-alpine
ports:
- containerPort: 6379
name: redis
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 500m
memory: 512Mi
volumeMounts:
- name: data
mountPath: /data
volumeClaimTemplates:
- metadata:
name: data
spec:
accessModes: ["ReadWriteOnce"]
storageClassName: standard
resources:
requests:
storage: 10GiPair a StatefulSet with a headless Service (clusterIP: None) so pods can be addressed individually by DNS.
Example: ConfigMap and Secret
apiVersion: v1
kind: ConfigMap
metadata:
name: api-config
data:
LOG_LEVEL: info
FEATURE_FLAGS: "new-ui,beta-search"
---
apiVersion: v1
kind: Secret
metadata:
name: api-secrets
type: Opaque
stringData:
DATABASE_URL: postgres://app:CHANGEME@db.default.svc.cluster.local:5432/app
JWT_SECRET: CHANGEMEReference them from the Deployment:
containers:
- name: api
envFrom:
- configMapRef:
name: api-config
- secretRef:
name: api-secretsNever commit real Secret values to git. Use Sealed Secrets, SOPS, or an external secrets operator for production.
Example: CronJob
apiVersion: batch/v1
kind: CronJob
metadata:
name: nightly-cleanup
spec:
schedule: "0 2 * * *"
concurrencyPolicy: Forbid
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 1
jobTemplate:
spec:
backoffLimit: 2
template:
spec:
restartPolicy: OnFailure
securityContext:
runAsNonRoot: true
runAsUser: 1000
containers:
- name: cleanup
image: ghcr.io/example/cleanup:1.0.0
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
cpu: 200m
memory: 128MiDo not
- Do not set resource limits lower than requests.
- Do not use
image: <name>without a tag or digest. - Do not default to
runAsUser: 0or leaverunAsNonRootunset. - Do not use deprecated API versions such as
extensions/v1beta1,apps/v1beta1, ornetworking.k8s.io/v1beta1.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

