zkp2p-contracts-publish

Automate ZKP2P smart contract package releases with preflight validation and registry publication.

24|14|Updated Dec 2, 2024
One-click install
npx skills add https://github.com/zkp2p/zkp2p-contracts --skill zkp2p-contracts-publish
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: zkp2p-contracts-publish
Source: https://github.com/zkp2p/zkp2p-contracts/tree/main/.agents/skills/zkp2p-contracts-publish
Command: npx skills add https://github.com/zkp2p/zkp2p-contracts --skill zkp2p-contracts-publish

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill mitigates the risks of manual contract releases by providing a standardized, audit-ready, and secure pipeline for publishing ZKP2P smart contract packages to the npm registry.

Core Features & Use Cases

  • Trusted Publication: Orchestrates releases through GitHub Actions with OIDC provenance, eliminating the need for local developer credentials.
  • Release Verification: Automates preflight checks, including Foundry version gating, package manifest validation, and registry integrity verification.
  • Use Case: When a new version of the ZKP2P v2 contracts is ready, use this Skill to perform a dry-run, validate the release against the canonical main branch, and dispatch the secure publishing workflow.

Quick Start

Use the zkp2p-contracts-publish skill to initiate a release audit for the current repository state.

Frequently Asked Questions about zkp2p-contracts-publish

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

FAQPage Schema
How do I automate smart contract package publishing to npm using GitHub Actions?

Automating smart contract package publishing to npm involves orchestrating releases through GitHub Actions with OIDC provenance, eliminating local developer credentials. This pipeline manages preflight validation, registry publication, and post-publish recovery for production-grade deployments.

Why do I need OIDC provenance for smart contract release management?

OIDC provenance for smart contract release management is needed to satisfy strict security requirements for contract integrity and authorized release-line management. It eliminates the risks of manual contract releases by providing a standardized, audit-ready, and secure publishing pipeline.

How do I validate Foundry version and package manifests before publishing smart contracts?

Validating Foundry version and package manifests before publishing smart contracts requires automated preflight release verification checks. This ensures pinned dependency gating and registry integrity verification pass before dispatching the secure publishing workflow.

Can I perform a dry-run for smart contract releases against the canonical main branch?

Performing a dry-run for smart contract releases against the canonical main branch is supported. When a new version is ready, initiate a release audit for the current repository state to validate the release before dispatching the secure publishing workflow.

What are the security limitations of manual smart contract package releases?

Security limitations of manual smart contract package releases include risks to contract integrity and the lack of immutable versioning. Manual releases lack standardized audit trails and authorized release-line management, which secure automated pipelines with GitHub OIDC provenance are designed to mitigate.

Does the zkp2p-contracts-publish skill support post-publish recovery for npm packages?

The zkp2p-contracts-publish skill supports post-publish recovery for npm packages as part of its end-to-end release lifecycle automation. It applies to production-grade deployment pipelines requiring immutable versioning and strict contract integrity verification.