rollout-check
Installation
SKILL.md
Rollout Health Check
Read-only deployment inspection. Lead with the health dashboard table.
1. Prerequisites
command -v kubectl-- REQUIRED. Abort immediately if missing.- Run
kubectl cluster-info --request-timeout=5sto confirm cluster access. If unreachable, stop and report. - Print the current context (
kubectl config current-context). - If
--contextis in$ARGUMENTS, pass--context <value>to every subsequent kubectl command.
2. Input
Parse $ARGUMENTS for:
- Deployment name -- first positional arg. REQUIRED. Abort if missing.
--namespace/-n-- optional. Default: current context namespace.--context-- optional. Default: current context.
Store the namespace flag as NS_FLAG (e.g., -n production) and context flag as CTX_FLAG for reuse.