Agent Skills: Packaging

>-

UncategorizedID: adaptive-enforcement-lab/claude-skills/packaging

Install this agent skill to your local

pnpm dlx add-skill https://github.com/adaptive-enforcement-lab/claude-skills/tree/HEAD/plugins/build/skills/packaging

Skill Files

Browse the full folder contents for packaging.

Download Skill

Loading file tree…

plugins/build/skills/packaging/SKILL.md

Skill Metadata

Name
packaging
Description
>-

Packaging

When to Use This Skill

Packaging a Go CLI involves creating distributable artifacts that run anywhere. This section covers:


Implementation

See the full implementation guide in the source documentation.

Key Principles

| Practice | Description | | ---------- | ------------- | | Static binaries | Use CGO_ENABLED=0 for portable builds | | Non-root user | Always run as non-root in containers | | Read-only filesystem | Set readOnlyRootFilesystem: true | | Drop capabilities | Remove all capabilities with drop: ALL | | Version in binary | Inject version at build time | | Multi-arch support | Build for both amd64 and arm64 |


Ship binaries that run anywhere Kubernetes runs.

References