Skip to content
Back to skills

Omnidist

ASecurity

Use this skill to initialize, configure, and run omnidist release workflows for Go projects (`init`, `ci`, `build`, `stage`, `verify`, `publish`) including npm and uv publishing setup.

  • 24 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 6, 2026
devopsgogit

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add metalagman/agent-skills --skill omnidist --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Omnidist?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Omnidist
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/metalagman-omnidist/badge)](https://www.skillsdirectory.com/skills/metalagman-omnidist)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: omnidist
description: Use this skill to initialize, configure, and run omnidist release workflows for Go projects (`init`, `ci`, `build`, `stage`, `verify`, `publish`) including npm and uv publishing setup.
metadata:
  short-description: Expert workflow for omnidist-based multi-registry releases.
---

# omnidist

Expert guidance for bootstrapping and running `@omnidist/omnidist` in a Go repository.

## When to trigger
- The user mentions omnidist or asks for `omnidist init`, `omnidist ci`, or release pipeline setup.
- The task involves distributing Go binaries through npm and/or uv (PyPI-style index).
- The user needs generated release workflow files for GitHub Actions.

## Core rules
- Run commands from the repository root.
- Use `npx -y @omnidist/omnidist@latest` for all omnidist commands to avoid stale versions and global install assumptions.
- Treat generated files as templates: review and customize before committing.
- Before generating CI, set `tool.main` to the project's real command path (for example `./cmd/<project-binary>`), never leave `./cmd/omnidist` unless that is truly the project command.
- Before generating CI, set distribution package names to the project's real packages:
  - `distributions.npm.package` must match the intended npm scoped package (for example `@org/project`).
  - `distributions.uv.package` must match the intended uv/PyPI package name.
- Do not keep omnidist defaults for package names when they do not match the project.

## Workflow
1. **Initialize omnidist**
   - Run `npx -y @omnidist/omnidist@latest init`.
   - Confirm generated files and output; examples are in [references/quickstart.md](references/quickstart.md).
2. **Review generated config**
   - Open `.omnidist/omnidist.yaml`.
   - Update required fields first:
     - `tool.main` to the correct project command path.
     - `distributions.npm.package` to the real npm scoped package name.
     - `distributions.uv.package` to the real uv/PyPI package name.
   - Then update:
     - `version.source` strategy as needed.
     - `targets` matrix for required OS/arch support.
     - `distributions` registries/tags/access settings.
   - Verify these three fields are correct before running `npx -y @omnidist/omnidist@latest ci`: `tool.main`, `distributions.npm.package`, `distributions.uv.package`.
3. **Generate CI workflow**
   - Run `npx -y @omnidist/omnidist@latest ci`.
   - Verify `.github/workflows/omnidist-release.yml` matches your release policy.
4. **Validate release steps locally**
   - Run `npx -y @omnidist/omnidist@latest build`.
   - Run `npx -y @omnidist/omnidist@latest stage`.
   - Run `npx -y @omnidist/omnidist@latest verify`.
5. **Prepare publishing in CI**
   - Ensure required secrets exist before tag-based releases:
     - `NPM_PUBLISH_TOKEN`
     - `UV_PUBLISH_TOKEN`
   - Use tag pushes (for example `v1.2.3`) to trigger the generated workflow.

## Output expectations
- Provide exact commands to run in order.
- Call out every file generated or modified by omnidist commands.
- If the repository is already configured, avoid re-running `init` unless the user explicitly wants regeneration.

## References
- Command outputs and generated defaults: [references/quickstart.md](references/quickstart.md)

Files in this skill

  • SKILL.md3.2 KB
  • references/quickstart.md1.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.