Skip to content
Back to skills

Validate And Deploy Kubernetes

ASecurity

Use when validating, diffing, applying, rolling back, or health-checking Kubernetes manifests. Defaults to read-only validation and dry-run behavior; cluster mutations require explicit confirmation.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 17, 2026
ai-agentskubernetessecurity

Works with

  • cli

Security analysis

A100/100

Scanned October 17, 2026

npx -y skills add ByronScottJones/Agents --skill validate-and-deploy-kubernetes --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Validate And Deploy Kubernetes?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Validate And Deploy Kubernetes
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/byronscottjones-validate-and-deploy-kubernetes/badge)](https://www.skillsdirectory.com/skills/byronscottjones-validate-and-deploy-kubernetes)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: validate-and-deploy-kubernetes
user-invocable: false
description: "Use when validating, diffing, applying, rolling back, or health-checking Kubernetes manifests. Defaults to read-only validation and dry-run behavior; cluster mutations require explicit confirmation."
---

# Validate and Deploy Kubernetes

Implement `kubernetes.md` as a manifest and rollout workflow.

## Parameters

- `manifestPath`: default `k8s/` or `manifests/`.
- `clusterContext`: required for `apply` and `rollback`; current kubectl context
   may be used only for read-only validation and diff operations.
- `namespace`: default `default`.
- `mode`: `validate`, `diff`, `apply`, or `rollback`; default `validate`.
- `checkPolicy`, `checkSecurity`, `checkResources`: default `true`.
- `waitForHealth`: default `true` for apply.
- `rolloutTimeout`: default `10m`.
- `format`: `summary` or `json`; default `summary`.

## Workflow

1. Parse YAML and validate Kubernetes schemas and kinds.
2. Check labels, requests and limits, probes, security contexts, service
   accounts, secrets, network exposure, and policy rules.
3. Run client-side and server-side dry runs when available.
4. Produce a diff before apply.
5. For apply, require an explicit context and confirmation, apply the reviewed manifests, wait
   for rollout, and run health checks.
6. For rollback, identify the target revision, confirm scope, roll back, and verify health.

## Safety

- Never apply to a cluster without naming the context and namespace.
- Never delete resources implicitly.
- Never print secret values.
- Stop on failed rollout or degraded health unless rollback was explicitly enabled.

## Output

Return cluster target, resources checked, policy findings, diff summary, rollout
status, health checks, rollback status, and remaining risks.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.