artifact-management▌
aj-geddes/useful-ai-prompts · updated Apr 8, 2026
Implement comprehensive artifact management strategies for storing, versioning, and distributing built binaries, Docker images, and packages across environments.
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 /app/node_modules ./node_modules
COPY /app/dist ./dist
COPY package*.json ./
EXPOSE 3000
HEALTHCHECK \
CMD node healthcheck.js
CMD ["node", "dist/server.js"]
// ... (see reference guides for full implementation)
Reference Guides
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| Docker Registry Configuration | Docker Registry Configuration |
| GitHub Container Registry (GHCR) Push | GitHub Container Registry (GHCR) Push |
| npm Package Publishing | npm Package Publishing, Artifact Retention Policy, Artifact Versioning, GitLab Package Registry |
Best Practices
✅ DO
- Use semantic versioning for artifacts
- Implement image scanning before deployment
- Set retention policies for old artifacts
- Use multi-stage builds for Docker images
- Sign and verify artifacts
- Implement artifact immutability
- Document artifact metadata
- Use specific base image versions
- Implement vulnerability scanning
- Cache layers aggressively
- Tag images with commit SHA
- Compress artifacts for storage
❌ DON'T
- Use
latesttag as sole identifier - Store secrets in artifacts
- Push artifacts without scanning
- Use untrusted base images
- Skip artifact verification
- Overwrite published artifacts
- Mix binary and source artifacts
- Ignore image layer optimization
- Store build logs with sensitive data
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.5★★★★★32 reviews- ★★★★★Ava Harris· Dec 28, 2024
Keeps context tight: artifact-management is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Pratham Ware· Dec 16, 2024
Keeps context tight: artifact-management is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Benjamin Gonzalez· Nov 27, 2024
artifact-management reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Arjun White· Nov 19, 2024
artifact-management has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Yash Thakker· Nov 7, 2024
artifact-management has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Dhruvi Jain· Oct 26, 2024
Solid pick for teams standardizing on skills: artifact-management is focused, and the summary matches what you get after install.
- ★★★★★Jin Desai· Oct 18, 2024
Registry listing for artifact-management matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Ava Jain· Oct 10, 2024
Solid pick for teams standardizing on skills: artifact-management is focused, and the summary matches what you get after install.
- ★★★★★Mia Sanchez· Sep 25, 2024
Keeps context tight: artifact-management is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Dev Choi· Sep 25, 2024
I recommend artifact-management for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
showing 1-10 of 32