troubleshoot
Troubleshoot a specific infrastructure component — resolve namespace, check pods, events, logs, and Argo CD sync status
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Troubleshoot a specific infrastructure component — resolve namespace, check pods, events, logs, and Argo CD sync status
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Longhorn の健全性チェック — volume robustness(degraded 検出)、node 容量、R2 バックアップの鮮度、recurring job の動作状況を一括診断
Scaffold a new infrastructure component, choosing the right layout (Helm multi-source / raw YAML / ApplicationSet) for its category
Create a new Sealed Secret — generates raw secret, seals it with kubeseal, and places it in the correct resources/ directory
全 Helm Application の chart バージョン鮮度を一括チェック — 各 app.yaml の targetRevision を upstream 最新と突き合わせ、更新候補を優先度付きでレポート(/helm-upgrade の前段)
Secret 管理 4 方式(Vault dynamic / Vault static via ESO / Vault Transit / SealedSecret)の健全性を一括チェック — Vault seal 状態、ESO 同期、SealedSecret 復号、関連 cert をまとめて診断
OpenAI Codex に作業を委譲する。コードレビュー、セカンドオピニオン、別解の生成、調査・分析を Codex にやらせたいとき(「Codex にレビューさせて」「Codex に聞いて」「Codex の意見も欲しい」等)に使う。
| name | troubleshoot |
| description | Troubleshoot a specific infrastructure component — resolve namespace, check pods, events, logs, and Argo CD sync status |
| argument-hint | <component> |
Diagnose issues with $ARGUMENTS[0].
Resolve component → namespace:
| Component | Namespace |
|---|---|
| cilium | kube-system |
| istio, istiod | istio-system |
| argocd | argocd |
| prometheus, grafana, loki, tempo, otel-collector | monitoring |
| cert-manager | cert-manager |
| sealed-secrets | sealed-secrets |
| keycloak | platform-auth-prod |
| backstage | backstage |
If component is an app name, check app-prod (per-app namespaces such as app-kensan may also exist).
Check Argo CD Application status:
kubectl get application $ARGUMENTS[0] -n argocd -o yaml
Check pods:
kubectl get pods -n <namespace> -l app.kubernetes.io/name=$ARGUMENTS[0]
kubectl get pods -n <namespace>Check events:
kubectl get events -n <namespace> --sort-by='.lastTimestamp' | tail -20
Check logs (if pods exist but unhealthy):
kubectl logs -n <namespace> <pod-name> --tail=50
Diagnosis: