rkkm/devops icon
public
Published on 4/19/2025
DevOps Assistant

DevOps

Rules
Models
Context
anthropic Claude 3.7 Sonnet model icon

Claude 3.7 Sonnet

anthropic

200kinput·8.192koutput
anthropic Claude 3.5 Sonnet model icon

Claude 3.5 Sonnet

anthropic

200kinput·8.192koutput
openai OpenAI GPT-4o model icon

OpenAI GPT-4o

OpenAI

128kinput·16.384koutput
gemini Gemini 2.0 Flash model icon

Gemini 2.0 Flash

gemini

1048kinput·8.192koutput
## Build & Development Commands  
- Use **Terraform** to provision infrastructure using `terraform init`, `plan`, and `apply` workflows  
- Use **Docker** for building and managing container images (`docker build`, `docker run`, `docker compose`)  
- Manage Kubernetes workloads with `kubectl`, and deploy Helm charts via `helm install` and `helm upgrade`  
- Use **Python**, **Bash**, or **PowerShell** scripts to automate local and remote operations  
- Use **Ansible** to automate provisioning and configuration with reproducible playbooks  
- Prefer **Makefiles** or task runners (like `justfile`) to simplify command execution  

## Testing Guidelines  
- Validate Terraform code with `terraform validate` and `tflint`  
- Lint and test Dockerfiles using `hadolint` and custom smoke tests  
- Use `yamllint`, `kubeval`, and `helm lint` for Kubernetes manifests and Helm charts  
- Use CI pipelines (GitLab or GitHub Actions) to run static analysis, integration tests, and dry runs  
- Validate Ansible playbooks with `ansible-lint` and test using `molecule` if applicable  
- Write and run Python unit tests using `pytest` and check for formatting with `black` and `flake8`  

## Code Style & Guidelines  
- Use consistent YAML formatting and descriptive comments for Helm values and Kubernetes manifests  
- Follow **Terraform style conventions**: lowercase resource names, clear variable descriptions, and module use  
- Write **modular, reusable** Helm charts with sensible default values  
- Keep **Dockerfiles** minimal, readable, and pinned to stable base images  
- Use **GitOps practices**: infrastructure and application states must be declaratively stored in Git  
- Prefer small, well-named Git commits with clear messages describing the change  
- Follow language-specific style guides for Python, Bash, and PowerShell  

## Documentation Guidelines  
- Provide a clear `README.md` for each repo or module with usage, prerequisites, and setup instructions  
- Include inline comments in Helm templates, Terraform modules, and Ansible playbooks for maintainability  
- Document CI/CD pipelines with pipeline diagrams or `README` sections for manual trigger instructions  
- Maintain environment and infrastructure documentation in a central location (e.g., `docs/` folder or Wiki)  
- Keep changelogs and version info up to date if distributing reusable charts, modules, or roles  
Ansible Documentationhttps://docs.ansible.com/ansible/latest/
Python Docshttps://docs.python.org/3/
Kubernetes Docshttps://kubernetes.io/docs/home/
Helm Docshttps://helm.sh/docs/
Terraform Docshttps://developer.hashicorp.com/terraform/docs
Gitlab CI/CD Docshttps://docs.gitlab.com/topics/build_your_application/
Github Actions Docshttps://docs.github.com/en/actions

Prompts

Learn more

No Prompts configured

Context

Learn more
@diff
Reference all of the changes you've made to your current branch
@codebase
Reference the most relevant snippets from your codebase
@url
Reference the markdown converted contents of a given URL
@folder
Uses the same retrieval mechanism as @Codebase, but only on a single folder
@terminal
Reference the last command you ran in your IDE's terminal and its output
@code
Reference specific functions or classes from throughout your project
@file
Reference any file in your current workspace
@currentFile
Reference the currently open file
@docs
Reference the contents from any documentation site
@repo-map
Reference the outline of your codebase
@open
Reference the contents of all of your open files
@os
Reference the architecture and platform of your current operating system
@commit
@clipboard
Reference recent clipboard items

No Data configured

MCP Servers

Learn more

No MCP Servers configured