publish-package-registry

Automate secure library publication to npm, PyPI, and crates.io with OIDC provenance.

9|3|Updated Jun 13, 2026
One-click install
npx skills add https://github.com/Sir-chawakorn/sanook-cli --skill publish-package-registry
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: publish-package-registry
Source: https://github.com/Sir-chawakorn/sanook-cli/tree/main/skills/publish-package-registry
Command: npx skills add https://github.com/Sir-chawakorn/sanook-cli --skill publish-package-registry

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill eliminates the risks of manual, error-prone package publishing by enforcing a strict pre-publish gate, ensuring correct artifact generation, and automating releases via secure OIDC-based CI workflows.

Core Features & Use Cases

  • Pre-publish Validation: Automatically verifies git status, build integrity, type-checking, and file allowlists before any release.
  • Secure Provenance: Implements OIDC-based trusted publishing to eliminate the need for long-lived secrets and provide cryptographically verifiable artifacts.
  • Dual-Module Support: Ensures libraries are correctly configured for both ESM and CJS with proper type definitions to prevent common installation failures.

Quick Start

Run the publish-package-registry skill to validate the current repository state and trigger a secure release to the configured package registry.

Frequently Asked Questions about publish-package-registry

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate npm publishing with OIDC provenance in CI?▼

Automate npm publishing with OIDC provenance by enforcing build gates, semver compliance, and file allowlists to trigger secure, cryptographically verifiable releases without long-lived CI credentials.

What is OIDC-based trusted publishing for software libraries?▼

OIDC-based trusted publishing is a secure release mechanism that eliminates long-lived secrets by generating cryptographically verifiable artifacts during automated library publication to registries like npm, PyPI, and crates.io.

Does this automated release workflow support dual-module ESM and CJS packages?▼

Yes, the automated release workflow supports dual-module ESM and CJS packages by verifying proper type definitions and module configurations during the pre-publish validation phase to prevent common installation failures.

What's the best way to eliminate long-lived CI credentials for package registry releases?▼

Eliminate long-lived CI credentials for package registry releases by enforcing strict pre-publish gates and automating releases via secure OIDC-based CI workflows that generate verifiable provenance artifacts.

Why does my automated package publishing fail during pre-publish validation?▼

Automated package publishing fails during pre-publish validation when the strict release gates detect uncommitted git status, build integrity issues, type-checking errors, or files violating the strict allowlist.

Can I use this secure publishing workflow for PyPI and crates.io?▼

Yes, you can use this secure publishing workflow for PyPI and crates.io, as it automates secure library publication across multiple registries using OIDC-based trusted publishing and semver compliance.