publishing

Validate, package, and release Juju charms to Charmhub channels.

1|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/tonyandrewmeyer/cantrip --skill publishing-tonyandrewmeyer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: publishing
Source: https://github.com/tonyandrewmeyer/cantrip/tree/main/src/cantrip/skills/publishing
Command: npx skills add https://github.com/tonyandrewmeyer/cantrip --skill publishing-tonyandrewmeyer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Publishing charms to Charmhub simplifies the end-to-end process of validating, packaging, authenticating, and releasing Juju charms across channels, reducing manual steps and errors.

Core Features & Use Cases

  • Validation-driven workflow: ensure charm tests pass and workload metadata is aligned before release.
  • Upload and release: generate a README from charm metadata, pack the charm, upload to Charmhub, and release to a chosen channel.
  • Channel strategy and versioning: manage revisions across latest/edge, latest/beta, latest/candidate, and latest/stable with clear provenance.

Quick Start

Publish your charm to Charmhub by validating, packaging, and releasing with Charmcraft.

Frequently Asked Questions about publishing

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

FAQPage Schema
How do I publish Juju charms to Charmhub?

Publishing Juju charms to Charmhub requires validating tests, generating a README from metadata, packing with charmcraft, authenticating, and releasing to a chosen channel.

How does charmcraft channel-based releasing work for charms?

Channel-based releasing manages charm revisions across latest/edge, latest/beta, latest/candidate, and latest/stable, ensuring clear provenance and version control for each uploaded revision.

Do I need to validate charm tests before uploading to Charmhub?

Yes, validating that charm tests pass and workload metadata is aligned is an enforced requirement before you can pack, upload, and release the charm revision to Charmhub.

What is the best way to automate Juju charm packaging and uploading?

Streamlining the end-to-end publishing workflow automates charmcraft packaging, README generation from metadata, authentication via charmcraft login, and channel-based releases to reduce manual steps.

Can I release a charm revision to multiple channels like edge and stable?

Yes, channel strategy and versioning allow you to manage revisions across latest/edge, latest/beta, latest/candidate, and latest/stable, releasing uploaded revisions to your chosen channels.