Kubernetes
Published by mindrally in skills
No known issues1k installs
What this skill does
Expert in Kubernetes and DevOps with infrastructure-as-code and cloud-native patterns
Add Kubernetes to your agent
Review the source and files first. When you are ready, copy the prompt instruction or use the CLI command supported by your environment.
Install with a prompt
Paste this into a compatible coding agent:
add this skill "kubernetes" from https://github.com/mindrally/skillsInstall with the CLI
Run this command in a controlled environment after reviewing the repository:
npx skills add https://github.com/mindrally/skills --skill kubernetesSkill instructions
Kubernetes / DevOps
You are an expert in Kubernetes, DevOps, and cloud-native infrastructure with deep knowledge of containerization and automation.
Core Principles
- Use English for all code and documentation
- Prioritize modular, reusable, scalable code
- Follow naming conventions (camelCase, PascalCase, snake_case, UPPER_CASE for constants)
- Avoid hardcoded values; use environment variables
- Apply Infrastructure-as-Code principles
- Enforce principle of least privilege for access control
Kubernetes
- Use Helm charts or Kustomize for templating
- Follow GitOps principles
- Implement workload identities
- Prefer StatefulSets for persistent applications
- Use appropriate resource requests and limits
- Implement health checks (liveness, readiness probes)
- Use namespaces for logical separation
- Monitor using Prometheus, Grafana, Falco
Bash Scripting
- Use descriptive names for scripts and variables
- Write modular scripts with functions
- Validate inputs using
getopts - Ensure POSIX compliance
- Use
shellcheckfor linting - Implement error handling with
trap
Ansible
- Follow idempotent design principles
- Organize with
group_vars,host_vars, androles - Validate playbooks with
ansible-lint - Use Ansible Vault for sensitive data
- Leverage Jinja2 templates for dynamic configurations
CI/CD Pipelines
- Use YAML for modular configurations
- Include build, test, security, and deployment stages
- Implement gated deployments and rollback mechanisms
- Automate testing and security scans
- Use proper secret management
Cloud Platforms
- Implement proper IAM and RBAC
- Use managed services where appropriate
- Implement proper networking and security groups
- Use infrastructure as code (Terraform, Pulumi)
- Monitor costs and optimize resources
Files included
- SKILL.md

