aj-geddes avatar

Artifact Management

Handles the full lifecycle of build artifacts, from Docker images to npm packages across different registries. You get multi-stage build patterns, registry configurations for Docker Hub, GHCR, and GitLab, plus versioning strategies and retention policies. The coverage is solid on container optimization and security scanning workflows. Most useful when you're setting up CI/CD pipelines and need standardized approaches to artifact storage and distribution. The examples lean heavily toward Docker and npm, so if you're working with Maven or other ecosystems, you'll need to adapt the patterns yourself.

skills.sh installs
439
GitHub stars
379
last updated
Aug 21, 2026

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill artifact-management --agent claude-code

Installs into .claude/skills of the current project.

Files

Artifact Management

Table of Contents

Overview

Implement comprehensive artifact management strategies for storing, versioning, and distributing built binaries, Docker images, and packages across environments.

When to Use

  • Docker image registry management
  • Package publication and versioning
  • Build artifact storage and retrieval
  • Container image optimization
  • Artifact retention policies
  • Multi-registry distribution
  • Dependency caching

Quick Start

Minimal working example:

# Dockerfile with multi-stage build for optimization
FROM node:18-alpine AS dependencies
WORKDIR /app
COPY package*.json ./
RUN npm ci --only=production

FROM node:18-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build

FROM node:18-alpine AS runtime
WORKDIR /app
COPY --from=dependencies /app/node_modules ./node_modules
COPY --from=builder /app/dist ./dist
COPY package*.json ./

Sponsors

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
DevOps & CI/CD, AI & Agent Building
First seen
Jun 3, 2026

More from aj-geddes/useful-ai-prompts

All 258
1aj-geddes avatarcorrelation-tracingaj-geddes/useful-ai-promptsImplement distributed tracing with correlation IDs, trace propagation, and span tracking across microservices. Use when debugging distributed systems, monitorin429skills.sh installs
2depot avatardepot-generaldepot/skillsHandles Depot CLI installation, authentication, login, project setup, organization management, and API access. Use when installing the Depot CLI, logging in wit429skills.sh installs
3wedsamuel1230 avatararduino-project-builderwedsamuel1230/arduino-skillsBuild complete, production-ready Arduino projects (environmental monitors, robot controllers, IoT devices, automation systems). Assembles multi-component system421skills.sh installs
4secondsky avatarhealth-check-endpointssecondsky/claude-skillsHealth check endpoints for liveness, readiness, dependency monitoring. Use for Kubernetes, load balancers, auto-scaling, or encountering probe failures, startup420skills.sh installs
5tencentcloudbase avatarcloudbase-agent-tstencentcloudbase/skillsBuild and deploy AI agents with Cloudbase Agent (TypeScript), a TypeScript SDK implementing the AG-UI protocol. Use when: (1) deploying agent servers with @clou420skills.sh installs
6brightdata avatarscraper-builderbrightdata/skillsBuild production-ready web scrapers for any website using Bright Data infrastructure. Guides you through site analysis, API selection, selector extraction, pagi415skills.sh installs