social-check
Skill8 starsChanged 4 months agoMITView on GitHub
Validate a social post draft against the target platform's real constraints and conventions before it goes out, covering LinkedIn, X, Instagram, Facebook, Threads, Bluesky, and Mastodon. Use when the user says "check this post", asks "will this work on Instagram", says "validate this draft", or asks "is this too long for X". It checks length against hard limits and visible-truncation points, link placement norms, hashtag count and position, media expectations including aspect ratios and alt text, first-comment strategy, engagement-bait patterns, formatting that renders oddly, and accessibility. It reads social-context.md so voice-level checks and house rules match the user's brand voice and platform setup. Every check returns pass, warn, or fix — and every fix comes with the corrected text inline, ready to paste.
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- idkSkill
- social-adSkill
- social-auditSkill
- social-calendarSkill
- social-carouselSkill
- social-contextSkill
- social-crosspostSkill
- social-hookSkill
- social-postSkill
- social-replySkill
- social-repurposeSkill
- social-threadSkill
- social-voiceSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 28
Run a draft through each target platform's real constraints and hand back a pass/warn/fix verdict per check, with the fixed text supplied …
- Distinctive: line 56
Media & alt text: If media is described, check the aspect ratio against the placement's rule in references/platform-limits.md (Media & …
- Distinctive: line 57
First-comment strategy: If a link belongs in the first comment (or the draft says "link in comments"), draft that comment — one line of …
- Distinctive: line 58
Engagement bait: When the linter flags bait, replace it with an ask that requests genuine input, not a reflex.
- Very specific: line 59
Voice: Check the draft against every rule in the Voice section of social-context.md.
- Distinctive: line 65
Check against the real numbers in references/platform-limits.md, not a vague memory of "roughly 280".
- Distinctive: line 71
Run every check for every target platform.
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Run a draft through each target platform's real constraints and hand back a pass/warn/fix verdict per check, with the fixed text supplied inline. A bundled linter does the mechanical counting; you supply the judgment.
Context
Read social-context.md at the project root (also check .agents/social-context.md) for the ## Voice rules, ## Platforms, and the ## Never list. Hashtag, emoji, and link conventions may not be spelled out there — if they aren't, use the inline fallback below. If it's missing, offer to run the social-context skill first, but don't block — ask 2–3 quick inline questions and proceed:
- Which platform(s) is this draft for?
- Does the post have media, and does it have alt text?
- Any house rules on hashtags, emoji, or links?
Workflow
- Establish targets. Confirm which platform(s) the draft is bound for. Evaluate one draft per platform separately — a draft can pass X and fail LinkedIn, and averaging verdicts helps nobody.
Run the linter for the mechanical checks. It computes platform-accurate character counts (X bills URLs at 23 and emoji at 2; Mastodon bills URLs at 23), the truncation point, link count and placement, hashtag count/placement/casing, engagement-bait phrasing, and formatting gotchas — deterministically, so you never eyeball a character count:
bun scripts/lint-post.mjs --platform x --file draft.txt # one platform bun scripts/lint-post.mjs --all --file draft.txt # every platform echo "$DRAFT" | bun scripts/lint-post.mjs --platform linkedinIt prints JSON —
{ counts, checks: [{ check, verdict, detail }], summary }— with eachverdictaspass,warn, orfix, and exits non-zero when any check is afix.nodeworks in place ofbun. Run it with--helpfor options, or--listfor supported platforms. If neither runtime is available, count by hand against references/platform-limits.md.- Read the reasoning when a flag needs it. Load references/platform-limits.md for the full constraint table, the per-platform link and hashtag norms, the media/aspect rules, and the verdict-discipline definitions. Don't restate limits from memory — that reference (and the JSON the linter reads) is the source of truth.
- Add the judgment the linter can't. The script flags mechanics; these are yours:
- Hook. Does the first visible line carry a complete, compelling idea before the truncation point the linter reported? "So I've been thinking about someth…" is a
fix— supply a rewritten opening inline. - Media & alt text. If media is described, check the aspect ratio against the placement's rule in references/platform-limits.md (Media & accessibility), and confirm the alt text actually describes the image — "image" or keyword stuffing is a
fix. - First-comment strategy. If a link belongs in the first comment (or the draft says "link in comments"), draft that comment — one line of context plus the link.
- Engagement bait. When the linter flags bait, replace it with an ask that requests genuine input, not a reflex.
- Voice. Check the draft against every rule in the Voice section of
social-context.md.
- Hook. Does the first visible line carry a complete, compelling idea before the truncation point the linter reported? "So I've been thinking about someth…" is a
- Assemble the verdict. Merge the linter's mechanical verdicts with your judgment calls into one table per platform:
pass/warn/fix, a one-clause reason, and for everyfixthe corrected text inline. If a check doesn't apply (no media, no links), sayn/arather than dropping the row. If anything wasfix, finish with a fully corrected version of the whole post for that platform.
Quality bar
Check against the real numbers in references/platform-limits.md, not a vague memory of "roughly 280". Verdict discipline:
pass— meets the constraint; nothing more to say.warn— will publish but underperform or annoy; give a one-clause reason and a suggested improvement.fix— don't post as-is; supply the corrected text inline. Afixwithout corrected text is an unfinished check.
Run every check for every target platform. A silently skipped check reads as a pass.
Deliverable
Per target platform: a verdict table (check | verdict | note), each fix row followed by the corrected text inline, and — if anything was fix — a complete corrected draft for that platform, plus the drafted first comment if the strategy calls for one. The user copies the corrected draft and posts it wherever and whenever they choose — hand it back and stop.
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
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.

