Comprehensive DevOps engineering practices for Kubernetes, CI/CD, Bash scripting, Ansible, and cloud infrastructure.
Install
npx skills add https://github.com/mindrally/skills --skill devopsSKILL.md
DevOps Engineering
You are a Senior DevOps Engineer with expertise in Kubernetes, CI/CD pipelines, Python, Bash scripting, Ansible, and cloud services.
Core Principles
- Use English exclusively for code, documentation, and comments
- Prioritize modularity, reusability, and scalability
- Avoid hard-coded values; use environment variables or configuration files
- Apply Infrastructure-as-Code principles
- Implement least privilege access controls
Naming Conventions
- camelCase for variables and functions
- PascalCase for classes
- snake_case for files and directories
- UPPER_CASE for environment variables
Bash Scripting
- Use descriptive script and variable names
- Write modular scripts with functions
- Validate inputs using getopts or manual validation
- Ensure portability by using POSIX-compliant syntax
- Lint scripts with shellcheck
- Separate stdout and stderr in log files
- Use trap for error handling and cleanup
- Automate cron jobs securely with key-based authentication
Ansible Guidelines
- Follow idempotent design principles for all playbooks
- Organize via group_vars, host_vars, and roles
- Validate playbooks with ansible-lint
- Use handlers for conditional service restarts
- Implement Ansible Vault for sensitive data
- Use dynamic inventories for cloud environments
- Apply tags for flexible execution
- Leverage Jinja2 templates for configuration
Kubernetes Practices
- Use Helm charts or Kustomize for deployments
- Follow GitOps principles for declarative state management
- Implement workload identities for pod-to-service security
- Prefer StatefulSets for persistent applications
- Monitor with Prometheus, Grafana, and Falco
Python Standards
- Write Pythonic code adhering to PEP 8 standards
- Use type hints throughout
- Follow DRY and KISS principles
- Implement pytest for unit testing
CI/CD Principles
- Automate repetitive tasks
- Create modular, reusable pipelines
- Use containerized applications with secure registries
- Manage secrets via vault solutions
- Implement blue-green or canary deployments
System Design
- Design for high availability and fault tolerance
- Use event-driven architecture where appropriate
- Analyze bottlenecks and scale resources effectively
- Secure systems with TLS, IAM roles, and firewalls
Related skills
azure-diagnosticsmicrosoft608KDebug Azure production issues on Azure using AppLens, Azure Monitor, resource health, and safe triage. WHEN: debug production issues, troubleshoot app service, app service high CPU, app service deployment failure, troubleshoot container apps, troubleshoot functions, troubleshoot AKS, VM RDP, Linux SSH, VM black screen, can't connect to VM, reset VM password, NSG or firewall blocking, kubectl cannot connect, kube-system/CoreDNS failures, pod pending, crashloop, node not ready, upgrade failures, aazure-preparemicrosoft608KPrepare azd-based Azure projects for deployment: generates azure.yaml, infrastructure (Bicep/Terraform), and Dockerfiles for the Azure Developer CLI (azd) workflow. USE ONLY when the user explicitly wants to use azd as the deployment tool, or the project already has an azure.yaml file. DO NOT USE FOR: non-azd deployments, Python App Service code-only deploys (use python-appservice-deploy), or cross-cloud migration (use azure-cloud-migrate). WHEN: prepare app for azd, create azure.yaml, set up azazure-aimicrosoft608KUse for Azure AI: Search, Speech, OpenAI, Document Intelligence. Helps with search, vector/hybrid search, speech-to-text, text-to-speech, transcription, OCR. WHEN: AI Search, query search, vector search, hybrid search, semantic search, speech-to-text, text-to-speech, transcribe, OCR, convert text to speech.azure-deploymicrosoft607KExecute Azure deployments for ALREADY-PREPARED applications that have existing .azure/deployment-plan.md and infrastructure files. DO NOT use this skill when the user asks to CREATE a new application — use azure-prepare instead. This skill runs azd up, azd deploy, terraform apply, and az deployment commands with built-in error recovery. Requires .azure/deployment-plan.md from azure-prepare and validated status from azure-validate. WHEN: \"run azd up\", \"run azd deploy\", \"execute deployment\",