util-preparek8senv

Generate Kubernetes environment manifests for 3rd party applications from CLAUDE.md.

3|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/rashidee/co2-skills --skill util-preparek8senv
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: util-preparek8senv
Source: https://github.com/rashidee/co2-skills/tree/main/skills/util-preparek8senv
Command: npx skills add https://github.com/rashidee/co2-skills --skill util-preparek8senv

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill orchestrates the end-to-end preparation of Kubernetes environment infrastructure by parsing CLAUDE.md, syncing environment-specific configurations, and generating manifests for all 3rd party supporting applications in a single target environment, ensuring idempotent updates and environment isolation.

Core Features & Use Cases

  • Automatically reads CLAUDE.md to extract project code, environments, and 3rd party apps.
  • Creates or updates ENVIRONMENT.md with per-environment configs, credentials, and Docker image overrides.
  • Generates Kubernetes manifests in the environment/ folder, including namespace, PVCs per service, StatefulSets, ConfigMaps, Secrets, and NodePort Services, with deterministic NodePort assignments.
  • Ensures manifests reference environments and credentials from ENVIRONMENT.md and uses Declarative rules from CLAUDE.md for defaults and credentials.
  • Supports idempotent re-runs with no removal or reordering of existing resources.

Quick Start

Run util-preparek8senv [environment] to parse CLAUDE.md, sync ENVIRONMENT.md, and generate Kubernetes manifests for the selected target environment.

Frequently Asked Questions about util-preparek8senv

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

FAQPage Schema
How do I generate Kubernetes manifests for 3rd party applications across an environment?

To generate Kubernetes manifests for 3rd party applications, this skill parses CLAUDE.md for deployment rules and syncs ENVIRONMENT.md to create namespaces, PVCs, StatefulSets, and NodePort Services in your target environment folder. It ensures deterministic NodePort mapping and namespace isolation.

How does environment synchronization work when generating Kubernetes manifests?

Environment synchronization works by parsing CLAUDE.md to extract environments and 3rd party apps, then updating ENVIRONMENT.md with per-environment configs and Docker image overrides. Generated manifests reference these synced credentials and configurations for deterministic deployments.

Can I re-run manifest generation without overwriting existing Kubernetes resources?

You can safely re-run manifest generation because the skill applies idempotent logic that preserves existing resources. It updates configurations without removing or reordering existing Kubernetes manifests in your environment directory.

What Kubernetes resources are generated for 3rd party supporting applications?

Generated Kubernetes resources include namespaces, PVCs per service, StatefulSets, ConfigMaps, Secrets, and NodePort Services. These manifests are created in the environment folder using safe defaults and image overrides from ENVIRONMENT.md.

Do I need to manually assign NodePorts when generating Kubernetes environment manifests?

You do not need to manually assign NodePorts because the skill applies deterministic NodePort mapping logic. It automatically calculates and assigns NodePorts for your 3rd party applications during manifest generation.