From aj-geddes-useful-ai-prompts-4
Manage container registries (Docker Hub, ECR, GCR) with image scanning, retention policies, and access control.
How this skill is triggered — by the user, by Claude, or both
Slash command
/aj-geddes-useful-ai-prompts-4:container-registry-managementThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- [Overview](#overview)
Implement comprehensive container registry management including image scanning, vulnerability detection, retention policies, access control, and multi-region replication.
Minimal working example:
# ecr-setup.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: ecr-management
namespace: operations
data:
setup-ecr.sh: |
#!/bin/bash
set -euo pipefail
REGISTRY_NAME="myapp"
REGION="us-east-1"
ACCOUNT_ID="123456789012"
echo "Setting up ECR repository..."
# Create ECR repository
aws ecr create-repository \
--repository-name "$REGISTRY_NAME" \
--region "$REGION" \
--encryption-configuration encryptionType=KMS,kmsKey=arn:aws:kms:$REGION:$ACCOUNT_ID:key/12345678-1234-1234-1234-123456789012 \
--image-tag-mutability IMMUTABLE \
--image-scanning-configuration scanOnPush=true || true
// ... (see reference guides for full implementation)
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| AWS ECR Setup and Management | AWS ECR Setup and Management |
| Container Image Build and Push | Container Image Build and Push |
| Image Signing with Notary | Image Signing with Notary |
| Registry Access Control | Registry Access Control |
| Registry Monitoring | Registry Monitoring |
latest tag in productionnpx claudepluginhub joshuarweaver/cascade-code-languages-misc-1 --plugin aj-geddes-useful-ai-prompts-4Manages container registries including Docker Hub, AWS ECR, GCP Artifact Registry, Azure ACR; automates tagging, lifecycle policies, replication, scanning, and access control.
Configures container image registries (ghcr.io, Docker Hub, Harbor) with automated scanning, tagging strategies, retention policies, and CI/CD integration. Use for private registries, migration, or vulnerability scanning.
Secures container registry images via Trivy/Grype vulnerability scanning, Cosign/Sigstore signing, access controls, and CI/CD pipelines blocking unscanned/unsigned deploys.