Skip to content

docs(social): launch kit for X, LinkedIn and Instagram - #7

Merged
imgul merged 1 commit into
mainfrom
arena/e768a700-env-compare
Oct 20, 2026
Merged

imgul merged 1 commit into
mainfrom
arena/e768a700-env-compare

Conversation

@imgul

@imgul imgul commented Oct 20, 2026

Copy link
Copy Markdown
Member

Ten Instagram slides, a square LinkedIn card and a 16:9 X card, generated from one design system in scripts/build-social.mjs, plus the copy that goes with them in docs/social/CAPTIONS.md.

What is in it

Platform Images Design size Upload file
Instagram 10 slides 1080 × 1350 (4:5) 2160 × 2700 PNG
LinkedIn 1 card 1200 × 1200 (1:1) 2400 × 2400 PNG
X 1 card 1600 × 900 (16:9) 3200 × 1800 PNG
  • The carousel is an argument, not a feature list: the symptom → why it happens (agents will not touch .env) → how it drifts → the failures a presence check cannot see → why a line diff is the wrong instrument → the product → the six states → N files → the fix, not the diagnosis → nothing leaves your tab.
  • SVG first, PNG second. Text stays text, so the copy is reviewable in a diff and editable without an image editor; scripts/render-social.py (resvg, 2× zoom) produces the uploads.
  • docs/social/CAPTIONS.md carries the Instagram caption with 20 hashtags and per-slide alt text, the LinkedIn long post, the 5-post X thread, the posting order, timing notes and a pre-flight checklist. X copy is measured: the main post is 250 characters (244 as X counts it).
  • tests/unit/social.test.ts (6 tests) pins the set together: slide order, unique alt text quoted verbatim in the captions file, every PNG at 2× its platform's shape and under the upload ceiling, and no embedded bitmaps.

Verification

  • npm run check — 395 tests / 21 files, tsc clean, build ✓, privacy guard ✓
  • Every card was measured, not eyeballed: a pixel scan confirms the ink stays inside the designed margins (96px Instagram/LinkedIn, 72px X), which is how three overflow bugs were found and fixed.

The suite grew 389 → 395, so the generated tests badge and the README line were regenerated in the same commit.

Ten Instagram slides, a square LinkedIn card and a 16:9 X card, generated
from one design system in scripts/build-social.mjs, plus the copy that goes
with them in docs/social/CAPTIONS.md.

The carousel is an argument, not a feature list: the symptom, why it happens,
how it drifts, the failures a presence check cannot see, why a line diff is
the wrong instrument, the product, the six states, N files, the fix, and
nothing leaves your tab.

Images are SVG first — text stays text, reviewable in a diff and editable
without an image editor — and scripts/render-social.py rasterises the
uploadable PNGs at 2x.

docs/social/CAPTIONS.md carries the Instagram caption with 20 hashtags and
per-slide alt text, the LinkedIn long post, the 5-post X thread, posting
order, timing and a pre-flight checklist.

tests/unit/social.test.ts pins the set together: slide order, unique alt text
quoted verbatim in the captions file, every PNG at 2x its platform's shape,
and no embedded bitmaps. The suite is 395 tests now, so the generated badge
and the README line were regenerated with it.
@imgul
imgul merged commit ec58875 into main Oct 20, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant