Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Um comando direto ignora o prompt de revisão. Verifique a origem antes de executá-lo.
asyncfunctionwaitForPod(podName: string, namespace = 'yamtam', timeoutMs = 60_000) {
const start = Date.now()
while (Date.now() - start < timeoutMs) {
const pod = await coreApi.readNamespacedPod(podName, namespace)
const phase = pod.body.status?.phaseif (phase === 'Running') returntrueif (phase === 'Failed') thrownewError(`[k8s] pod ${podName} failed`)
if (phase === 'Succeeded') returntrueawaitnewPromise(r =>setTimeout(r, 2000))
}
thrownewError(`[k8s] pod ${podName} not ready after ${timeoutMs}ms`)
}
Anti-Fake-Pass Checklist
❌ loadFromDefault() outside cluster without KUBECONFIG set → uses ~/.kube/config, may hit wrong cluster
❌ No resource limits on spawned pods → runaway agent exhausts node memory
❌ readOnlyRootFilesystem without emptyDir volume → agent can't write temp files
❌ Watching pods without timeout → watch connection drops after ~1h; reconnect required
❌ JSON patch without Content-Type: application/json-patch+json → K8s rejects with 415
❌ Deleting pod without waiting → successor pod starts with stale ConfigMap if not flushed