Handles Python service delivery, including CI/CD, deployment, and infrastructure tasks.
Install
mkdir -p .claude/skills/devops-python-engineer && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14351" && unzip -o skill.zip -d .claude/skills/devops-python-engineer && rm skill.zipInstalls to .claude/skills/devops-python-engineer
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
DevOps and Python service delivery for repositories that need build or runtime debugging, CI/CD changes, containerization, deployment automation, infrastructure updates, observability improvements, or backend Python code changes. Use when Codex must act like a DevOps engineer who can also implement and verify Python application fixes across local development, testing, packaging, Docker, Terraform, GitHub Actions, and production-oriented operational workflows.Key capabilities
- →Inspect repository for Python entrypoints and dependencies
- →Determine the class of change (application, CI/CD, infrastructure)
- →Propose the smallest change to restore service reliability
- →Verify changes using available repository checks
- →Update both code and deployment paths for Python changes
- →Define monitoring signals, thresholds, and failure modes
How it works
This skill acts as a DevOps engineer to inspect repositories, identify issues, and propose minimal, verified changes for Python services and infrastructure.
Inputs & outputs
When to use devops-python-engineer
- →Setting up CI/CD workflows
- →Containerizing Python applications
- →Optimizing infrastructure and observability
About this skill
DevOps Python Engineer
Overview
Act as a delivery-focused DevOps engineer who can also modify Python code when infrastructure and application work overlap.
Optimize for working software, reproducible verification, and minimal-risk changes.
Workflow
- Inspect the repository before proposing fixes. Identify the Python entrypoints, dependency manager, test commands, container files, CI workflows, and infrastructure files.
- Determine the change class early: application code, packaging, CI/CD, container/runtime, infrastructure, observability, or incident-style debugging.
- Prefer the smallest change that restores a reliable path to build, test, deploy, or operate the service.
- Verify with the nearest realistic checks available in the repo. Run targeted commands first, then broader validation if needed.
- Report the operational impact clearly: what changed, how it was verified, and what still requires a real environment or credentials.
Initial Triage
Start by collecting the delivery-critical facts:
- Python version source:
pyproject.toml,requirements*.txt,.python-version, Dockerfile, CI config - Execution path: service entrypoints, worker scripts, CLI commands, scheduled jobs
- Dependency flow:
uv,poetry,pip,pip-tools, or mixed tooling - Delivery path: GitHub Actions, Docker, Compose, Terraform, shell deploy scripts, cloud config
- Runtime assumptions: env vars, secrets, volumes, ports, health checks, webhooks, cron, external APIs
If the repo contains multiple ways to do the same thing, follow the one already used by automation unless there is a clear defect.
Change Rules
- Preserve existing project conventions unless they are the root cause.
- Treat CI, Docker, and infrastructure edits as user-facing production changes even when the code diff is small.
- Avoid speculative refactors during outage-style or deployment-blocking work.
- When Python changes affect operations, update both the code path and the deployment path in the same pass.
- Prefer explicit failures, health checks, and logs over silent fallback behavior.
Python Engineering
When the task touches Python services:
- Confirm interpreter and dependency expectations before editing code.
- Trace the runtime path from entrypoint to failure point instead of patching isolated functions blindly.
- Add or update targeted tests when the repo already has a test pattern for that area.
- Keep configuration at process boundaries explicit. Favor environment-driven configuration over hardcoded values.
- Tighten error handling only where it improves diagnosis or operational safety.
Read references/python-service-checklist.md when you need a compact checklist for Python runtime, packaging, and service diagnostics.
CI/CD And Containers
When the task touches build or deployment automation:
- Read the pipeline definition and map each step to repo files and expected artifacts.
- Reproduce the failing stage locally when possible using the same commands or close equivalents.
- Check dependency installation, working directory assumptions, cache keys, artifact paths, and secrets usage.
- For Docker changes, verify base image, copy paths, build context, exposed ports, entrypoint, and environment handling.
- Ensure the final image or workflow still matches how the service is invoked in production.
Read references/deployment-checklist.md for a concise preflight list covering CI, Docker, release automation, and infrastructure-adjacent checks.
Infrastructure And Operations
For Terraform, cloud config, or operational changes:
- Separate declarative infrastructure edits from application edits, but validate their integration.
- Confirm names, regions, variables, outputs, and secret references before changing resource definitions.
- Prefer additive or narrowly scoped infrastructure changes over broad rewrites.
- Call out what cannot be verified locally, especially plan or apply steps that require credentials or remote state.
- If a monitoring or alerting task is requested, define the signal, threshold, and failure mode being covered.
Verification
Use the strongest verification available without inventing new tooling:
- Lint or format only if the repo already expects it
- Run targeted tests for changed Python behavior
- Run build steps for packaging or Docker changes
- Run validation commands for infrastructure definitions when available
- State explicitly when verification is partial because secrets, network access, or cloud credentials are unavailable
If you need quick command ideas while validating, read references/deployment-checklist.md.
Output Style
When finishing a task:
- State the root cause or working hypothesis
- State the exact files or systems changed
- State the verification performed
- State remaining operational risk or follow-up work
Keep the summary brief, concrete, and deployment-aware.
When not to use it
- →When speculative refactors are requested during outages
- →When verification requires unavailable secrets or network access
- →When the task does not involve Python or DevOps aspects
Limitations
- →The skill does not invent new tooling for verification.
- →The skill does not perform speculative refactors during critical work.
- →The skill does not provide verification for changes requiring unavailable credentials.
How it compares
This skill provides a structured workflow for diagnosing and fixing Python and DevOps issues, unlike an ad-hoc approach that might introduce larger, unverified changes.
Compared to similar skills
devops-python-engineer side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| devops-python-engineer (this skill) | 0 | 4mo | No flags | Advanced |
| production-dockerfile | 0 | 4mo | Caution | Intermediate |
| deployment-engineer | 4 | 4mo | No flags | Advanced |
| devops-engineer | 1 | 3mo | Review | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
production-dockerfile
phenobarbital
Generate production-ready Dockerfiles with multi-stage builds, security best practices, and optimization. Use when containerizing Python applications for production deployment.
deployment-engineer
sickn33
Expert deployment engineer specializing in modern CI/CD pipelines, GitOps workflows, and advanced deployment automation. Masters GitHub Actions, ArgoCD/Flux, progressive delivery, container security, and platform engineering. Handles zero-downtime deployments, security scanning, and developer experience optimization. Use PROACTIVELY for CI/CD design, GitOps implementation, or deployment automation.
devops-engineer
Jeffallan
Use when setting up CI/CD pipelines, containerizing applications, or managing infrastructure as code. Invoke for pipelines, Docker, Kubernetes, cloud platforms, GitOps.
devops-engineer
I-Synergy
DevOps and CI/CD specialist. Use for building pipelines, containerization, infrastructure as code, or deployment automation. User-invocable only for production deployments.
platform-engineering
villadalmine
>-
add-linux-bootstrap-platform
ponylang
Load when adding a new Linux distro/version (e.g. Alpine 3.24, Ubuntu 26.04) — or both arches for an existing one — as a fully supported ponyup bootstrap-test target. Covers the bootstrap-tester Dockerfile, image build dispatch and tag discovery, CI workflow updates (tier 1 / tier 2), ponyup-init.sh