twelve-factor

Automate 12-factor web app conversion into Kubernetes-backed Juju charms.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Build and automate end-to-end workflows for turning a 12-factor web application into a Juju charm, coordinating framework assessment, rockcraft generation, and charmcraft packaging to accelerate production-grade deployments.

Core Features & Use Cases

  • Automated fit assessment to determine framework, scope, and deployment context.
  • Guided rock and charm generation with formal handoff payloads.
  • End-to-end build, push, deploy, and verify cycle with integrated tooling.
  • Use Case: teams can convert a monorepo web service into a Kubernetes-backed Juju charm with minimal manual intervention.

Quick Start

Inspect the repository, run analyse_framework to determine a fit, and proceed to tailor the 12-factor workflow for the backend charm.

Frequently Asked Questions about twelve-factor

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

FAQPage Schema
How do I automate Juju charm generation for a 12-factor web application?

Automating Juju charm generation for a 12-factor web application involves assessing the repository framework, generating a rock with rockcraft, and packaging the charm with charmcraft. This Skill coordinates that end-to-end workflow to accelerate production-grade deployments on Kubernetes-backed Juju models.

What is the best way to convert a monorepo web service into a Kubernetes-backed Juju charm?

Converting a monorepo web service into a Kubernetes-backed Juju charm requires running an automated fit assessment to determine the framework and deployment context. This Skill then guides rock and charm generation using a structured handoff payload with minimal manual intervention.

Do I need paas-charm tooling to build 12-factor Juju charms end-to-end?

Yes, building 12-factor Juju charms end-to-end requires the paas-charm rockcraft and charmcraft tooling. These tools handle the packaging and generation steps guided by a structured handoff payload to complete the build, push, deploy, and verify cycle.

How does framework assessment work when packaging a 12-factor app as a Juju charm?

Framework assessment for packaging a 12-factor app as a Juju charm works by inspecting the repository to determine the application's framework, scope, and deployment context. This automated fit assessment ensures the web service is suitable before proceeding to rock and charm generation.

Can I use this 12-factor charm workflow for applications not deployed on Kubernetes-backed Juju models?

The 12-factor charm workflow applies specifically to web-service apps deployed on Kubernetes-backed Juju models. It is not designed for non-Kubernetes contexts, as the end-to-end build, push, deploy, and verify cycle relies on Kubernetes-backed deployment infrastructure.

What is a structured handoff payload in the context of rock and charm generation?

A structured handoff payload in rock and charm generation is a data contract that guides the transition from framework assessment to packaging. It ensures the rockcraft and charmcraft tooling receive the necessary context to formally generate the rock and charm for the 12-factor application.