Create a complete LinkedIn post for Lexumsoft -- orchestrates the full pipeline from writing copy to generating images. Use /linkedin-post followed by the topic or angle.
Create a complete LinkedIn post for Lexumsoft's plumbing/HVAC content series.
Topic/Angle: $ARGUMENTS
This pipeline produces a self-contained post directory at linkedin/posts/<slug>/ with:
post.md -- Complete post with copy, first comment, and deployment notesimage-prompts.md -- 4 AI image generation promptsimages/ -- Generated imagesOptional reference files: You can include paths to markdown files or folders after the topic. These will be read and used as source material for the post. Useful for topics the AI doesn't know about (new products, specific case studies, industry data, etc.).
Usage: /linkedin-post "topic" [file.md] [folder/]
Examples:
/linkedin-post "ServiceTitan integration benefits" linkedin/research/servicetitan-notes.md/linkedin-post "new drain camera technology" docs/drain-cameras//linkedin-post "Q1 case study results" linkedin/research/q1-results.md linkedin/research/client-data.mdRead these files before doing anything else:
linkedin/calendar.md --Check used CTA keywords, client names, angles${CLAUDE_SKILL_DIR}/references/brand-guide.md --Brand constants and rules${CLAUDE_SKILL_DIR}/references/post-template.md --Post structure${CLAUDE_SKILL_DIR}/references/image-prompt-template.md --Image prompt structurelinkedin/posts/*/post.md to understand the established voice$ARGUMENTS, read all of them now. These contain domain knowledge the AI doesn't have -- product specs, case study data, industry reports, technical details, etc. Extract the key facts, stats, and angles from these files. This extracted knowledge will be passed to both sub-agents.docs/agency-bible.md -- Comprehensive business reference with ICP, services, pricing, case studies, stats bank, objection handling, and competitive advantages. Use this for deeper business context when writing the post.Based on the topic "$ARGUMENTS" and the content calendar:
monday-ad-waste, thursday-reviews, saturday-trends) -- prefix with the day name for sortingPresent your proposal to the user:
Wait for user approval before proceeding.
Delegate to the linkedin-post-writer sub-agent. In your delegation, include:
${CLAUDE_SKILL_DIR}/references/linkedin/posts/<slug>/post.mdIf reference files were provided, include a summary of the key facts, stats, and talking points extracted from those files. Tell the agent which claims come from the reference material vs. general industry knowledge.
The agent should also read docs/agency-bible.md for deep business context -- case studies, stats, pricing, ICP details, and competitive advantages that can inform the post's anecdote, math section, and solution bridge.
The sub-agent will write the complete post file following the established format.
Run the validation script:
python scripts/validate-post.py linkedin/posts/<slug>/post.md
Check the JSON output for failures:
If validation fails, fix the issues (trim character count, add missing sections, etc.) and re-validate.
Present the complete post copy to the user. Show:
Ask the user:
Apply any requested edits. Re-run validation after edits.
Wait for user approval before proceeding to images.
Delegate to the linkedin-image-prompter sub-agent. In your delegation, include:
${CLAUDE_SKILL_DIR}/references/linkedin/posts/<slug>/image-prompts.mdIf reference files contained visual details (product photos, diagrams, specific equipment), mention these to help the agent ground the images in reality.
The sub-agent will create 4 image prompts following the established format.
Present the 4 image concepts as a summary table:
| # | Concept | Difficulty | Description |
|---|
Ask the user:
Wait for user approval before generating images.
For each approved concept, in the user's priority order:
python scripts/generate-post-image.py --file linkedin/posts/<slug>/image-prompts.md --concept N --variations 2 --output linkedin/posts/<slug>/images
After each concept generates, present the images to the user. Ask:
Continue until the user has at least 1 approved image.
For each approved image, generate SEO-optimized alt text:
linkedin/posts/<slug>/post.md with the final 4 concept names, difficulties, and descriptionslinkedin/calendar.md with the new post entry:
linkedin/posts/<slug>/post.mdlinkedin/posts/<slug>/image-prompts.md