What problem does it solve?
This Skill provides battle-tested patterns and configurations for deploying and managing Python and LLM applications, addressing the complexities of containerization, secrets management, and CI/CD.
Core Features & Use Cases
- Containerization: Dockerfiles for efficient Python application builds using uv, and Docker Compose for local development and testing environments.
- Secrets Management: Strategies for handling sensitive information using Pydantic BaseSettings, SOPS for encrypted secrets in Git, and GitHub Actions secrets.
- CI/CD Pipelines: Comprehensive GitHub Actions workflows for linting, testing, building, and deploying applications, including caching strategies.
- Kubernetes Deployment: Example Kubernetes manifests for deploying LLM services, including Horizontal Pod Autoscalers and external secrets integration.
- Health Checks: FastAPI patterns for implementing robust liveness and readiness probes.
- Environment Management: Guidance on configuration hierarchy and feature flag implementation.
Quick Start
Use the infrastructure-patterns skill to generate a Dockerfile for a Python application using uv.