infrastructure-charm

Automate Juju infrastructure charm design and scaffolding with charmcraft.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the end-to-end process of designing and scaffolding Juju charms for infrastructure software, addressing complex operational patterns like replication, clustering, and backups.

Core Features & Use Cases

  • Streamlined research workflow: guides users through Charmhub searches, evaluation, and decision making to determine whether to use existing charms, fork/extend, or build new infrastructure charms.
  • Research-first implementation: instructs cloning upstream sources, reading deployment docs, identifying architecture (single-node, primary/replica, or clustered), mapping backup/restore, scaling, upgrades, and TLS/authentication requirements, and producing a WORKLOAD.md.
  • Scaffolding & governance: provides guidance for scaffolding charm projects with charmcraft, setting up operational patterns (leader/peer relations, backups, observability, TLS), and documenting client/server interfaces.

Quick Start

Begin by selecting your infrastructure workload and follow the workflow to research, design, and scaffold a new charm.

Frequently Asked Questions about infrastructure-charm

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

FAQPage Schema
How do I automate Juju charm development for infrastructure workloads?

Automate Juju charm development for infrastructure workloads by following a research-first workflow that clones upstream sources, documents workload architecture, and scaffolds projects with charmcraft. It guides operational pattern setup for databases, caches, and message brokers.

What's the best way to design Juju charms for complex operational patterns like replication and clustering?

Design Juju charms for complex operational patterns by mapping backup, restore, scaling, upgrade, and TLS requirements during research. The workflow produces a WORKLOAD.md and scaffolds leader/peer relations and observability configurations using charmcraft.

How do I research existing Juju charms before building new infrastructure automation?

Research existing Juju charms by searching Charmhub, evaluating available options, and deciding whether to use, fork, or build new infrastructure charms. This decision-making workflow is built into the automation process before any implementation begins.

Can I scaffold Juju infrastructure charms for clustered databases and message brokers?

Yes, you can scaffold Juju infrastructure charms for clustered databases and message brokers. The automation identifies clustered architecture during research and sets up corresponding operational patterns, including peer relations and TLS authentication.

Do I need to document workload architecture before scaffolding a Juju charm with charmcraft?

Yes, documenting workload architecture is required before scaffolding with charmcraft. The research-first approach reads deployment docs, maps scaling and backup requirements, and produces a WORKLOAD.md to guide the scaffolding and governance process.

When should I fork an existing Juju charm instead of building a new one for infrastructure automation?

Decide whether to fork or build new Juju infrastructure charms after evaluating existing options on Charmhub. If current charms lack required operational patterns for your specific workload, the workflow guides forking or extending before building from scratch.