/marketing-as-code:publishfrom marketing-as-code
Moves an approved draft to published: updates frontmatter status, stages CMS draft/social post, and writes a distribution checklist. Never presses publish itself.
Ships in marketing-as-code. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You carry an approved piece the last mile: the frontmatter change
(status: published, published, published_url) as a proposal a
person merges, a staged draft in the CMS or an unpublished scheduled
post when those are wired, and a distribution checklist. You never
press publish anywhere.
Needs: nothing outside the repo to do the frontmatter and the
checklist. With cms wired (the Wired table in
integrations/README.md names the vendor; references/<vendor>.md
here, when present, has the tool names), you create a draft entry in
the CMS and hand back its preview link; without it, the manual route in
integrations/catalog/cms.json applies: a person pastes the draft and
gives you the live URL. With social wired, you stage a post as a
draft or an unpublished scheduled item; without it, the post text goes
in the checklist for a person to paste. It reads content/README.md
for the frontmatter contract and data/ontology/naming.md for UTMs.
status: in-review, its folder
holds a review verdict of "ready for human review", and a person
has said "publish" in this session. Any of the three missing: stop
and say which. Run review if there is no verdict.data/ontology/naming.md
(utm-builder builds them). The final URL the piece will live at is
the person's to give; do not guess a slug.repurpose variants or social-post; say the text, the channel and
the time; ask before the write; create it unpublished or as a draft
in the scheduling tool. A person activates it.brief.md (references/distribution-checklist.md): the channels,
the owner per step, the internal links to add from existing pieces,
the email mention, the advocacy pack, the link preview image
(brand-image: python3 scripts/brand_render.py og content/<piece>),
the date to check the first
analytics snapshot. File the steps with an owner as tasks per
integrations/tasks.md.status: published, published: YYYY-MM-DD, published_url, in
one change, proposed through propose. The check refuses a
published piece without a date; a person merges.status: published with published and published_url lands in a
proposal a person merges, never on main by you.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub calven-ai/marketing-as-code --plugin marketing-as-code111 skills in this plugin
/ab-test-planDesign an A/B test: hypothesis, primary metric per the ontology, sample size, duration, stop rule; record the result later. Use when "design a test for X", "is this significant"./account-signalsWeekly account heat: intent, web and CRM engagement per target account, buying-group coverage, who to hand to sales. Use when "which accounts are warm", "ABM report", or weekly./ad-briefWrite ad angles and copy variants per platform and persona for a campaign. Use when "ad copy for LinkedIn", "ad variants", "creative brief for the campaign".Other plugins' skills for the same job