xiaohongshu
xiaohongshu
goreleaser
Initialize or update GoReleaser configuration for automated Go releases with multi-architecture Docker builds, binary distribution, and Homebrew publishing
Full skill instructions
Automate Go project releases with cross-platform binaries, multi-architecture Docker images, and package distribution.
GoReleaser handles complete release automation for Go projects:
This skill provides templates and guidance for professional release automation.
brew install goreleaser or see https://goreleaser.com/install/docker buildx version)v1.0.0)cmd/ directory (or adjust dir field)Understand your project:
# Check for existing configuration
ls -la .goreleaser.yml .goreleaser.yaml
# Identify build entry point
find . -name "main.go" -type f
# Verify Go module
cat go.mod
Copy templates from assets/ directory:
# Copy GoReleaser config
cp assets/.goreleaser.yml .
# Copy Dockerfile
cp assets/Dockerfile .
# Copy resources (for Docker)
mkdir -p resources/etc
cp assets/resources/etc/passwd resources/etc/
Update .goreleaser.yml with project-specific values:
PROJECT_NAME with actual namedir if main.go is not in cmd/ldflags for version injectionghcr.io/OWNER/PROJECTregistry.gitlab.com/OWNER/PROJECTdocker.io/OWNER/PROJECTCustomize the Dockerfile:
PROJECT_BINARY with actual binary nameresources/etc/passwdAdd environment variables to CI/CD:
# GitHub Actions
GITHUB_TOKEN # Automatic in GitHub Actions
HOMEBREW_TAP_TOKEN # If publishing to Homebrew
# GitLab CI
GITLAB_TOKEN # Automatic in GitLab CI
HOMEBREW_TAP_TOKEN # If publishing to Homebrew
Validate before tagging:
# Check configuration
goreleaser check
# Create snapshot build (no release)
goreleaser build --snapshot --clean
# Test full release process
goreleaser release --snapshot --clean --skip=publish
When ready:
# Create and push tag
git tag -a v1.0.0 -m "Release v1.0.0"
git push origin v1.0.0
# Run GoReleaser (usually in CI/CD)
goreleaser release --clean
Templates in assets/ directory:
.goreleaser.yml - Complete config with multi-arch Docker, Homebrew, archivesDockerfile - Optimized multi-stage Docker buildresources/etc/passwd - Non-root container user configFor simpler patterns (binary-only, Docker-only, private registries), see REFERENCE.md.
Integrate with Taskfile.yml:
version: '3'
tasks:
release:check:
desc: Validate GoReleaser config
cmds:
- goreleaser check
release:snapshot:
desc: Test release build
cmds:
- goreleaser release --snapshot --clean --skip=publish
release:
desc: Create production release
cmds:
- goreleaser release --clean
After using this skill, the project will have:
.goreleaser.yml configured for the projectDockerfile for multi-architecture buildsresources/etc/passwd for non-root container userUsers can then create releases by simply pushing Git tags.
assets/ directoryv1.2.3 format for tags--snapshot before taggingxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience