/b2b-pmm-skills:social-generatorfrom b2b-pmm-skills
Generates platform-native social media captions (LinkedIn, X, Instagram) and matching AI image prompts (Midjourney, DALL-E) from an article, URL, or topic brief. Reads brand kit for voice, positioning, and hashtags.
Ships in b2b-pmm-skills. 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.
Produce a complete social package from one source: platform-native captions, the bold text overlay that goes on the graphic, the graphic headline, and paired image prompts for Midjourney and DALL-E.
Read these first. They are the source of truth and this skill does not invent around them.
brand-kit/brand.md: name, palette, fonts, CTAsbrand-kit/voice.md: house style and banned constructionsbrand-kit/positioning.md: the frame, pillars, traps, stats, vocabularybrand-kit/capabilities.md: read before making any product claimTwo shared references carry structure this skill does not own:
docs/writing-templates.md: the LinkedIn post beats and its length targetdocs/messaging-patterns.md: the eight structural patterns, one per captionIf brand-kit/ is missing or still has its template placeholders, stop and tell
the user to run brand-kit-setup. Do not proceed with invented positioning.
If house-style is installed, run it as the final voice pass over every caption
before delivery. Do not hand-copy voice rules into this skill.
Never name the framework. The qualities in The Pillars in
brand-kit/positioning.md are internal scaffolding. Pick one to lean on and let
it shape which claim you lead with, then throw the label away. A caption that
says "our three pillars", "our messaging framework", or any pillar name by
title has failed. AI Tells to Avoid in brand-kit/voice.md calls this
scaffolding exposure and the quality panel penalizes it.
Hashtags come from Hashtags in brand-kit/brand.md. Never invent one.
That section splits them into branded and topical and gives a count per
platform; use those tags and those counts. If the section is missing or its
table is empty, ask the user for the set once, tell them it belongs under
Hashtags in brand-kit/brand.md so every skill finds it, and ship the posts
without hashtags in the meantime. Do not guess at a branded tag that may not
exist. If the section says in words that the company does not use hashtags,
that is an answer: ship without them and do not ask again.
Seven questions. Ask for anything the user has not already given you. If they gave you a URL and nothing else, ask the rest in one message rather than one at a time.
The Pillars or which entry from Named Traps
in brand-kit/positioning.md this post leans on, and which pattern from
docs/messaging-patterns.md delivers it. One pattern per caption. Internal
answer only.Tone in brand-kit/voice.md either way.Calls to Action in brand-kit/brand.md, social
context row. Optional on X and Instagram, expected on LinkedIn.Surface the numbers you found from the source and confirm which one leads. A
real statistic outperforms a general claim on every platform. Check any number
you plan to state as a house claim against Headline Stats in
brand-kit/positioning.md. If it is not there, attribute it to the source
instead of asserting it.
LinkedIn post in docs/writing-templates.md. Do
not restate them here and do not invent a character budget.Hashtags in brand-kit/brand.md, one branded.Hashtags in brand-kit/brand.md, topical unless the
post is company news.Hashtags in brand-kit/brand.md, mixing branded and
topical in the proportion that section sets.These are two different things and both get delivered.
Accent role from Palette in
brand-kit/brand.md.Both obey Banned Words and Phrases in brand-kit/voice.md. Short copy is
where banned words hide best, so scan them specifically.
Produce a Midjourney prompt and a DALL-E prompt for every graphic. They are not interchangeable. Midjourney takes comma-separated fragments and flags. DALL-E takes plain declarative sentences and ignores flags entirely.
Read Illustration Style in brand-kit/brand.md and build both prompts from it.
That description, not this skill, defines what the picture looks like.
If the brand kit has no Illustration Style section, stop and help the user
write one using the guide below, then add it to brand-kit/brand.md under its
own heading. Do not substitute a house style of your own invention. Two
different graphics generated from two different guesses is worse than waiting.
Four decisions. Write two or three sentences on each and the description is done.
Three contrasting worked examples. Any of these is a valid answer, and the point is that they are visibly different from each other.
Example A: technical line diagram. Thin, precise pen lines with slight hand-drawn imperfection, roughly uniform weight throughout. Outlines only, no fills, no gradients, no shading. Subject is an interconnected system diagram in isometric perspective: nodes, arrows, gears, documents, servers, queues. Never people, never photographic objects. The drawing bleeds off the lower-right edge with no border or frame.
Example B: flat editorial shapes. No outlines at all. Form comes from flat, hard-edged color blocks in two palette colors plus the background, with no line work anywhere. Subject is a single oversized metaphorical object per graphic, cropped tight, rendered as simplified geometry. Human figures appear as silhouettes only, never with facial features. The composition sits inside a generous even margin on all four sides.
Example C: rendered dimensional objects. No visible outlines. Soft-shadowed three-dimensional forms with matte surfaces and a single consistent light source from the upper left. Subject is one abstract sculptural object per graphic: stacked planes, tubes, spheres, nothing that names a real product. No text inside the art. The object floats centered with clear space around it, full-bleed background behind it.
Pick a background role, then take the line and text colors from the same row.
Every value here is a role from Palette in brand-kit/brand.md. Look up
the hex there at generation time. Never hardcode a hex into this skill or into
a saved prompt.
| Background role | Line colors | Text colors |
|---|---|---|
Background | Body text primary, Accent secondary | Body text headline, Accent highlight |
Background soft | Body text primary, Primary secondary | Body text headline, Primary highlight |
Primary dark | Accent primary, Accent soft secondary | Background headline, Accent highlight |
Primary | Background primary, Accent soft secondary | Background headline, Accent soft highlight |
Accent | Primary dark primary, Background secondary | Primary dark headline, Background body |
Accent soft | Primary dark primary, Primary secondary | Primary dark headline, Primary highlight |
Muted text as a mid-tone ground | Background primary, Accent secondary | Background headline, Accent highlight |
Success / positive | Primary dark primary, Background secondary | Primary dark headline, Background body |
Two rules on top of the table:
Fill the brackets from the brand kit and the user's answers.
[background role color], [illustration style summary from the brand kit],
[line color roles resolved to their hex], [fill rule from the style],
[subject: name the actual objects], [edge behavior from the style],
[composition notes] --ar 1:1 --style raw --stylize 450 --no photography, gradients, text, watermark, logo
What the flags do. Get these right or the output drifts.
--ar sets aspect ratio. --ar 1:1 for a feed square, --ar 4:5 for the
taller LinkedIn and Instagram portrait crop, --ar 16:9 for a link card or a
video thumbnail. Set it per platform, not once.--style raw turns off Midjourney's default aesthetic pass. Use it for any
graphic that has to match an existing brand look. Omit it only when you want
the model's own taste, which for brand work is almost never.--stylize controls how far the model may depart from the prompt, from 0 to
1000. Low values follow the words literally and look plainer. High values look
better and obey less. Around 400 to 500 keeps a defined illustration style
intact while still producing a usable image. Move it down when the model keeps
adding elements you did not ask for.--no lists what to exclude. Always exclude text and watermark, because
generated lettering is unusable and you are adding real type in the overlay.
Add exclusions that contradict the style: gradients and color fills for a
line style, outlines for a flat-shape style, photography for both.These flags use a double hyphen. That is Midjourney syntax, not punctuation, and it is the one place the no-em-dash scan should not flag a double hyphen.
Plain sentences. No flags, no comma-fragment stacking, no weights. State the constraints positively where you can, because negations are followed loosely.
[Background role color] background. [Illustration style described in full
sentences from the brand kit.] [Line colors named by their resolved hex and
what each is used for.] [Fill rule stated as a positive instruction.]
[Subject: the actual objects and their arrangement.] [Edge behavior.]
[Two or three exclusions at the end, phrased simply.]
Set the size in the request rather than the prompt: square for a feed post, portrait for LinkedIn and Instagram, wide for a link card.
Group by platform, then the image section.
## LinkedIn
**Text overlay:** [3 to 7 words]
**Caption:** [beats and length per `LinkedIn post` in `docs/writing-templates.md`]
**Hashtags:** [3 to 4 from `Hashtags` in `brand-kit/brand.md`]
## X
**Caption:** [under 280 chars] (count: __ / 280)
**Hashtags:** [1 to 2 from `Hashtags` in `brand-kit/brand.md`]
## Instagram
**Text overlay:** [3 to 7 words]
**Caption:** [~400 chars, hook first]
**Hashtags:** [6 to 8 from `Hashtags` in `brand-kit/brand.md`]
## Image
**Graphic headline:** [4 to 8 words, accent words marked]
**Palette row:** [background role, line roles, text roles, with resolved hex]
**Midjourney:** [prompt with flags]
**DALL-E:** [prompt in sentences]
What We Do in brand-kit/capabilities.md. Short copy
is where unsupported claims slip through, because there is no room for the
qualifier that would have made them true.Superseded Names in brand-kit/voice.md before writing any product
name into a caption.brand-visuals is installed, mark the accent words in the graphic headline
with asterisks, *like this*, and offer to render the headline and overlay as
finished square or portrait cards. It reads the same Palette roles as
the table in Step 3, so the card and the image prompt stay on one palette row.
Image prompts still go to whatever image model the user runs.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub thescottking/b2b-pmm-skills --plugin b2b-pmm-skills10 skills in this plugin
/brand-kit-setupFill in the shared brand kit that every other skill in this repo reads, then produce one real deliverable from it. Use when the user says "set up my brand kit," "configure this for my company," "onboard me," "fill in the brand kit," "get started," "customize these skills for us," "I just cloned this," "make this write like my company," "import our positioning from our website," "start from the example," "update our brand kit," "our positioning changed," "add a named trap," "change our ICP," or "who are we again." Also use it whenever another skill reports that `brand-kit/` is missing, empty, or still full of template placeholders. It interviews the user, writes `brand-kit/brand.md`, `capabilities.md`, `icp.md`, `positioning.md`, and `voice.md`, validates its own output, and hands off to `content-writer` or `company-recon` for a first artifact./brand-visualsRender on-brand visual assets from the brand kit: featured images and Open Graph cards, LinkedIn and Instagram feed graphics, profile banners, avatars, title slides, LinkedIn carousels, and print-ready PDF reports. Use when the user says "make a featured image," "OG card," "social card," "link preview image," "LinkedIn banner," "make a carousel," "stat card," "quote card," "announcement graphic," "title slide," "render the graphic headline," "turn this into a PDF," "export this report to PDF," "brand this document," "make this look like us," "check our brand colors," "contrast check," or "is our palette accessible." Also use after `social-generator` writes a graphic headline or text overlay, and when an audit's markdown fallback should go out as a branded PDF.Other plugins' skills for the same job