operations-workflows

Coordinate Kubernetes operations workflows for logs, exec, debug, port-forward, and node maintenance.

411|21|Updated Dec 18, 2025
One-click install
npx skills add https://github.com/luxury-yacht/app --skill operations-workflows
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: operations-workflows
Source: https://github.com/luxury-yacht/app/tree/main/.agents/skills/operations-workflows
Command: npx skills add https://github.com/luxury-yacht/app --skill operations-workflows

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It reduces the risk and confusion of performing live Kubernetes actions—like viewing logs, exec/debugging containers, port-forwarding, draining nodes, and managing long-running operations—by enforcing consistent lifecycle, cleanup, and permission-gated behavior.

Core Features & Use Cases

  • Log, exec, and debug workflows: Handles cluster- and object-scoped operations for pod logs, shell sessions, debug containers, and stream lifecycles.
  • Port-forward and node maintenance: Manages interactive network access and node drain/maintenance state, including progress and history surfaced to the UI.
  • Operation lifecycle, cancellation, and cleanup tests: Ensures runtime operation registry behavior, idempotent stop paths, and cleanup across close/disconnect/cluster removal/auth failure/app shutdown.

Quick Start

Use the operations-workflows skill to design and verify a permission-gated workflow for logs, shell exec, debug containers, port-forwarding, and node drain with correct cleanup and cancellation behavior.

Frequently Asked Questions about operations-workflows

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely manage Kubernetes operations like port-forwarding and node drain without losing session state?

Safely manage Kubernetes operations by enforcing consistent operation lifecycle, deterministic cleanup, and permission-gated behavior across logs, shell exec, port-forwarding, and node drain tasks. This ensures session state remains correct during cluster removal, auth failure, and cancellation.

What happens to long-running Kubernetes debug containers when a cluster is removed or auth fails?

Long-running Kubernetes debug containers trigger idempotent stop paths and deterministic cleanup when cluster removal, auth failure, or app shutdown occurs. The operation registry preserves correct session lifecycle semantics and cleans up resources automatically across these disconnect scenarios.

Can I use this to coordinate Kubernetes log workflows across multiple clusters?

Yes, you can coordinate Kubernetes log workflows across multi-cluster environments. The skill handles cluster-scoped targeting metadata, object-scoped operations for pod logs, and stream lifecycles while maintaining visible permission and capability reasons for each operation.

What's the best way to handle Kubernetes node drain maintenance state and surface progress to the UI?

Handle Kubernetes node drain maintenance by managing interactive maintenance state, tracking progress, and surfacing operation history to the UI. The workflow maintains correct frontend and backend state ownership boundaries aligned with documented workflow contracts.

Why do my Kubernetes shell exec sessions stay open after disconnect instead of cleaning up?

Kubernetes shell exec sessions stay open when cleanup paths lack idempotent stop logic or proper operation registry behavior. The skill enforces deterministic cleanup across close, disconnect, cluster removal, auth failure, and app shutdown to prevent orphaned sessions.

Do I need permission checks before running Kubernetes debug container workflows?

Yes, Kubernetes debug container workflows require visible permission and capability checks before execution. The skill enforces permission-gated behavior with cluster-scoped targeting metadata, ensuring only authorized operations proceed with correct lifecycle semantics.