k8s-conventions

Enforce Kubernetes manifest conventions with kubeconform and kube-score validation.

Updated Feb 7, 2026
One-click install
npx skills add https://github.com/jsamuelsen11/claude-config --skill k8s-conventions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: k8s-conventions
Source: https://github.com/jsamuelsen11/claude-config/tree/main/plugins/ccfg-kubernetes/skills/k8s-conventions
Command: npx skills add https://github.com/jsamuelsen11/claude-config --skill k8s-conventions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Establishing and enforcing Kubernetes manifest conventions to ensure deployments that are secure, maintainable, and consistent across environments.

Core Features & Use Cases

  • Standardized manifest structure and metadata using the app.kubernetes.io/* label taxonomy.
  • Guidelines for resource requests/limits, security contexts, Pod Security Standards, RBAC, and default-deny NetworkPolicies.
  • Use Case: When creating deployments, services, namespaces, and config maps, apply these conventions to prevent misconfigurations and security gaps.

Quick Start

Configure CI to validate manifests with kubeconform and kube-score before merging.

Frequently Asked Questions about k8s-conventions

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

FAQPage Schema
What are the best practices for securing Kubernetes manifests in production?

Securing Kubernetes manifests requires setting resource requests and limits, applying Pod Security Standards, configuring security contexts, implementing default-deny NetworkPolicies, and enforcing RBAC roles to prevent misconfigurations and security gaps.

How do I validate Kubernetes manifests for security and best practices in CI?

You validate Kubernetes manifests in CI by running validation tools like kubeconform and kube-score against your YAML files before merging to enforce conventions, check schema validity, and catch security gaps early in the deployment pipeline.

Does this Skill work with Kubernetes RBAC and NetworkPolicies?

Yes, the Skill applies conventions across Deployments, Services, RBAC, and NetworkPolicies to guide review and implementation in production clusters, ensuring proper access control and default-deny network traffic rules are enforced.

What Kubernetes label taxonomy should I use for standardizing deployments?

You should use the app.kubernetes.io/* label taxonomy to standardize manifest structure and metadata. This ensures consistent labeling across Deployments, Services, Namespaces, and ConfigMaps for maintainable production cluster resources.

How do I enforce Kubernetes Pod Security Standards and resource limits?

You enforce Pod Security Standards and resource limits by applying manifest conventions that require proper security contexts, define resource requests and limits, and validate configurations using kube-score and kubeconform before merging changes.

When should I apply Kubernetes manifest conventions to prevent misconfigurations?

You should apply Kubernetes manifest conventions when creating Deployments, Services, Namespaces, and ConfigMaps to prevent misconfigurations, enforce default-deny NetworkPolicies, and maintain secure, consistent environments across production clusters.