scbe-npm-prepublish-autopublish

Automate npm prepublish cleanup and auto-publish gating for SCBE-AETHERMOORE.

6|1|Updated Jan 17, 2026
One-click install
npx skills add https://github.com/issdandavis/SCBE-AETHERMOORE --skill scbe-npm-prepublish-autopublish
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scbe-npm-prepublish-autopublish
Source: https://github.com/issdandavis/SCBE-AETHERMOORE/tree/main/external/codex-skills-live/scbe-npm-prepublish-autopublish
Command: npx skills add https://github.com/issdandavis/SCBE-AETHERMOORE --skill scbe-npm-prepublish-autopublish

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Enforce deterministic npm prepublish cleanup and strict auto-publish gating to ensure clean package contents and reliable releases for SCBE-AETHERMOORE.

Core Features & Use Cases

  • Deterministic prepublish cleanup: removes extraneous files before packaging.
  • Tarball guard checks: ensures required artifacts exist and disallowed artifacts are excluded.
  • CI and local gates: wires into local workflows and GitHub Actions to validate releases prior to publishing.
  • Use Case: Before releasing an npm package, run the local release guard to validate the tarball and script integrity.

Quick Start

Run the local release gate to validate your package before publishing.

Frequently Asked Questions about scbe-npm-prepublish-autopublish

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

FAQPage Schema
How do I automate npm prepublish cleanup to remove extraneous files before packaging?

Automating npm prepublish cleanup removes extraneous files before packaging by wiring deterministic gates into your package.json scripts. This ensures clean package contents and validates tarball integrity prior to publishing.

How do I gate npm releases in GitHub Actions to validate tarball integrity?

Gating npm releases in GitHub Actions validates tarball integrity by applying auto-publish workflow configurations and strict prepublish checks. This ensures required artifacts exist and disallowed artifacts are excluded before release.

What npm scripts do I need to configure for deterministic release management?

Deterministic release management requires configuring specific package.json scripts including clean:release, publish:prepare, publish:check:strict, prepublishOnly, and prepack to enforce proper auto-publish gating.

Does npm prepublish gating work for both local development and CI pipelines?

npm prepublish gating works for both local development and CI pipelines by applying deterministic cleanup and strict auto-publish checks across environments. This ensures reliable releases regardless of where the workflow executes.

Why do my npm package releases include disallowed artifacts despite using prepublishOnly?

npm package releases include disallowed artifacts when prepublishOnly lacks deterministic cleanup gates. Implementing strict tarball guard checks ensures required artifacts exist and disallowed artifacts are excluded before publishing.