agentleFS
roslove44roslove44/brand-artisan/skills/linkedin-post/SKILL.md

linkedin-post

Skill4 starsChanged 4 months agoMITView on GitHub

Creates a LinkedIn post image at LinkedIn's dimensions, in the chosen orientation. Use when the user wants a "LinkedIn image", a "LinkedIn post", a "LinkedIn visual" or a "LinkedIn publication" for a project. Asks for the orientation (portrait by default, square, landscape) and produces a .tsx template at the right ratio, aligned with the brand guidelines, rendered as a PNG through the project's engine. Requires a project with its brand.md in place.

26 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use proposal-writer and audit.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • claude-office-skillsSkill

    proposal-writer

    Create compelling business proposals that win deals and partnerships

    Also in 3 projects that use this

  • OpenAISkill

    audit

    Audit or critique a product flow, journey, workflow, funnel, onboarding path, checkout path, settings path, screen, or multi-step product experience by capturing screenshots first, then reporting UX, design, and accessibility findings inline from that evidence. Use Figma only when the user explicitly asks for a board. Use when the user asks to audit, review, critique, inspect, assess, analyze, evaluate, or give feedback on a product experience.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 3 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 23 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Check templates/<project>/ and brands/<project>/brand.md.

    line 27
  2. Distinctive:

    Which orientation?: Ask. Default: portrait (4:5, takes the most height in the feed).

    line 33
  3. Very specific:

    Default slug linkedin-post (or linkedin-post-<orientation> if there are several).

    line 35
  4. Very specific:

    Read brands/<project>/brand.md: palette, type, logo variants, don'ts.

    line 37
  5. Very specific:

    Read brands/<project>/project.md if it exists: set the tone and the

    line 38
  6. Distinctive:

    Ask for the message: short headline + standfirst (1 sentence).

    line 41
  7. Very specific:

    If the project already holds a .tsx, read it as a style reference.

    line 42
  8. Distinctive:

    Check the PNG: exact dimensions for the orientation, opaque background, correct ratio (4:5 / 1:1 / 1.91:1).

    line 107

“Common” is measured: kept by at least 6 in 10 of the 23 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

linkedin-post: LinkedIn post image

Goal: produce the PNG asset of a LinkedIn post image, at the chosen ratio, aligned with the guidelines.

This is a specialization of new-template with the LinkedIn constraints hard-coded. Same conventions: the Template contract (from brand-artisan), assets through brand(), fonts discovered in fonts/, export default ... satisfies Template.

Status of the dimensions. LinkedIn only officially documents one visual, at 1200×627 (1.91:1), for the link preview on Pages. For an image posted directly, LinkedIn publishes no dimensions: the 1080×1080 square and the 1080×1350 portrait are conventions (carried over from the advertising specs), not from the organic documentation.

0. Prerequisites (blocking)

The chain project -> template folder -> guidelines must exist:

  • Resolve <project> (from the arguments, otherwise ask).
  • Check templates/<project>/ and brands/<project>/brand.md.
  • Missing guidelines or project -> STOP: ask for /new-project <project> first. No visual without guidelines (CLAUDE.md rule).

1. Frame it

  • Which orientation? Ask. Default: portrait (4:5, takes the most height in the feed). Otherwise square (1:1) or landscape (1.91:1).
  • Default slug linkedin-post (or linkedin-post-<orientation> if there are several). Check that the target .tsx does not exist.
  • Read brands/<project>/brand.md: palette, type, logo variants, don'ts.
  • Read brands/<project>/project.md if it exists: set the tone and the claims (don't invent figures or promises). If absent -> ask for the tone and the message rather than guessing.
  • Ask for the message: short headline + standfirst (1 sentence). No paragraph.
  • If the project already holds a .tsx, read it as a style reference.

2. LinkedIn constraints (to respect)

OrientationSize (px)RatioStatus
Portrait (default)1080x13504:5Convention (ads specs)
Square1080x10801:1Convention (ads specs)
Landscape1200x6271.91:1Official LinkedIn (link preview)
  • Format: PNG or JPG, opaque background.
  • The post's text (body, link) lives outside the image, in the publication: don't write everything into the visual. One idea per card.
  • Legible when small: the LinkedIn feed displays narrow on mobile. Large headline, short standfirst, strong contrast, safe area of about 80 px.
  • LinkedIn tone: a professional audience. Favor a standfirst carrying added value (an insight, a data point, a business benefit) over an aggressive pitch.

3. Write the template

templates/<project>/<slug>.tsx, with colors as constants taken from the guidelines. Pick SIZE according to the orientation. Skeleton:

import type { ReactNode } from "react";
import { brand, type Template } from "brand-artisan";
// import { readFile } from "node:fs/promises"; // if you load the mark

// Pick according to the orientation:
const SIZE = { width: 1080, height: 1350 }; // Portrait 4:5 (default)
// const SIZE = { width: 1080, height: 1080 }; // Square 1:1
// const SIZE = { width: 1200, height: 627 };  // Landscape 1.91:1

// <Project> guideline palette (from brands/<project>/brand.md).
const INK = "#......";

function render(): ReactNode {
	return (
		<div
			style={{
				width: "100%",
				height: "100%",
				display: "flex",
				flexDirection: "column",
				justifyContent: "center",
				padding: 80, // safe area
				backgroundColor: INK, // opaque background
			}}
		>
			{/* logo + large headline + short standfirst, strong contrast */}
		</div>
	);
}

export default { size: SIZE, title: "<Project> LinkedIn post", render } satisfies Template;

Shared conventions: assets through brand("<project>/..."), fonts discovered in fonts/; a missing font -> the "missing font" appendix in new-template, never silently. Keep the code minimal.

4. Verify

  • npm run typecheck -> green.
  • npm run build -> writes out/<project>/<slug>.png.
  • Check the PNG: exact dimensions for the orientation, opaque background, correct ratio (4:5 / 1:1 / 1.91:1).
  • Preview: npm run dev then /<project>/<slug>; check legibility shrunk to the width of a mobile feed.

Success criterion: a PNG at the dimensions of the chosen orientation, opaque, legible when small, professional in tone, and using only colors and type from brand.md.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.