aj-geddes/useful-ai-prompts8 files

Container Registry Management

>

Specification
Skill ID
aj-geddes/useful-ai-prompts/container-registry-management
Publisher
aj-geddes
Repository
useful-ai-prompts
Installs
0
Files
8
Synced
Sep 23, 2026
How to use it

Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.

aj-geddes/useful-ai-prompts/container-registry-managementInstalls these files
  • SKILL.md
  • references/aws-ecr-setup-and-management.md
  • references/container-image-build-and-push.md
  • references/image-signing-with-notary.md
  • references/registry-access-control.md
  • references/registry-monitoring.md
  • scripts/validate-config.sh
  • templates/config-starter.yaml

What this skill tells the agent

Container Registry Management

Table of Contents

  • Overview
  • When to Use
  • Quick Start
  • Reference Guides
  • Best Practices

Overview

Implement comprehensive container registry management including image scanning, vulnerability detection, retention policies, access control, and multi-region replication.

When to Use

  • Container image storage and distribution
  • Security scanning and compliance
  • Image retention and cleanup
  • Registry access control
  • Multi-region deployments
  • Image signing and verification
  • Cost optimization

Quick Start

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)

Reference Guides

Detailed implementations in the references/ directory:

GuideContents
AWS ECR Setup and ManagementAWS ECR Setup and Management
Container Image Build and PushContainer Image Build and Push
Image Signing with NotaryImage Signing with Notary
Registry Access ControlRegistry Access Control
Registry MonitoringRegistry Monitoring

Best Practices

✅ DO

  • Scan images before deployment
  • Use image tag immutability
  • Implement retention policies
  • Control registry access with IAM
  • Sign images for verification
  • Replicate across regions
  • Monitor registry storage
  • Use private registries

❌ DON'T

  • Push to public registries
  • Use latest tag in production
  • Allow anonymous pulls
  • Store secrets in images
  • Keep old images indefinitely
  • Push without scanning
  • Use default credentials
  • Share registry credentials

Use this skill in a project

Open any RiverX project, search the Skills panel for aj-geddes/useful-ai-prompts/container-registry-management, and install it in one click.

Use this skill