social-media-generator
This skill generates platform-optimized social media posts for Twitter, Instagram, LinkedIn, and Facebook, tailored to each platform's best practices and character limits. Use it when users need to create coordinated social media campaigns or multi-platform content for events, announcements, or promotions, as it automatically organizes generated posts into platform-specific folders with timestamped filenames.
git clone --depth 1 https://github.com/ailabs-393/ai-labs-claude-skills /tmp/social-media-generator && cp -r /tmp/social-media-generator/packages/skills/social-media-generator ~/.claude/skills/social-media-generatorSKILL.md
# Social Media Generator
## Overview
This skill enables creation of platform-optimized social media content for Twitter, Instagram, LinkedIn, and Facebook. It automatically generates posts tailored to each platform's best practices and saves them in an organized directory structure.
## When to Use This Skill
Use this skill when the user requests:
- Creation of social media posts for multiple platforms
- Content generation for specific events, announcements, or campaigns
- Platform-specific content optimization
- Organized storage of social media content
## Core Workflow
### Step 1: Gather Information
Collect the following details from the user (ask if not provided):
- Event/content name
- Date and time (format: DD-MM-YYYY-HHMM)
- Main message or announcement
- Target audience
- Key details to include
- Call-to-action
- Any specific hashtags or mentions
- Brand voice/tone preferences
### Step 2: Generate Platform-Specific Content
Create content for each platform using the templates in `assets/`:
**Twitter** (`assets/twitter_template.md`)
- Keep under 280 characters
- Concise and punchy
- 1-3 relevant hashtags
- Clear call-to-action
- Consider emojis for engagement
**Instagram** (`assets/instagram_template.md`)
- Engaging caption with hook in first line
- More detailed description
- 5-15 relevant hashtags
- Visual-focused messaging
- Line breaks for readability
- Encourage engagement
**LinkedIn** (`assets/linkedin_template.md`)
- Professional and informative tone
- Value-driven content
- Industry insights or takeaways
- 3-5 professional hashtags
- Bullet points for key information
- Discussion-prompting questions
**Facebook** (`assets/facebook_template.md`)
- Conversational and engaging
- Keep concise (under 250 chars for best engagement)
- 2-3 relevant hashtags
- Visual-focused
- Encourage comments and shares
- Include event details if applicable
### Step 3: Create Organized File Structure
Create the following directory structure in the project:
```
social-media/
├── twitter/
│ └── event-name-DD-MM-YYYY-HHMM.md
├── instagram/
│ └── event-name-DD-MM-YYYY-HHMM.md
├── linkedin/
│ └── event-name-DD-MM-YYYY-HHMM.md
└── facebook/
└── event-name-DD-MM-YYYY-HHMM.md
```
**Filename Format:** `event-name-DD-MM-YYYY-HHMM.md`
- Use lowercase with hyphens for spaces
- Include date in format: day-month-year-time
- Example: `product-launch-15-03-2025-1400.md`
### Step 4: Write Content to Files
For each platform:
1. Generate platform-optimized content based on the templates
2. Create the platform-specific subdirectory if it doesn't exist
3. Write the content to the appropriately named markdown file
4. Include metadata at the bottom (platform, date, character count)
### Step 5: Review and Confirm
After generating all posts:
1. Provide a summary of created files
2. Highlight key points for each platform
3. Note any character count warnings
4. Offer to make revisions if needed
## Content Optimization Guidelines
### Character Limits
- Twitter: 280 characters
- Instagram: 2,200 characters (but concise is better)
- LinkedIn: 3,000 characters
- Facebook: Unlimited (but under 250 for best engagement)
### Hashtag Strategy
- Twitter: 1-3 focused hashtags
- Instagram: 5-15 relevant hashtags
- LinkedIn: 3-5 professional hashtags
- Facebook: 2-3 hashtags
### Tone Adaptation
- Twitter: Casual, conversational, timely
- Instagram: Visual-first, engaging, lifestyle-focused
- LinkedIn: Professional, insightful, value-driven
- Facebook: Friendly, community-focused, conversational
### Call-to-Action Best Practices
- Make it clear and specific
- Use action verbs
- Create urgency when appropriate
- Match platform conventions
## Example Usage
**User Request:**
"Create social media posts for our product launch event on March 15, 2025 at 2 PM. The product is an AI-powered productivity tool called TaskFlow."
**Execution:**
1. Gather additional details (key features, target audience, website link)
2. Generate four platform-specific posts
3. Create directory structure: `social-media/twitter/`, `social-media/instagram/`, etc.
4. Write files: `taskflow-launch-15-03-2025-1400.md` in each platform folder
5. Provide summary with file locations and key points
## Assets
This skill includes template files in the `assets/` directory:
- `twitter_template.md` - Twitter post structure and best practices
- `instagram_template.md` - Instagram caption format and guidelines
- `linkedin_template.md` - LinkedIn post structure and professional tone guide
- `facebook_template.md` - Facebook post format and engagement tips
These templates serve as reference for platform-specific requirements and best practices when generating content.This skill should be used when the user requests brand analysis, brand guidelines creation, brand audits, or establishing brand identity and consistency standards. It provides comprehensive frameworks for analyzing brand elements and creating actionable brand guidelines based on requirements.
This skill should be used when analyzing business sales and revenue data from CSV files to identify weak areas, generate statistical insights, and provide strategic improvement recommendations. Use when the user requests a business performance report, asks to analyze sales data, wants to identify areas of weakness, or needs recommendations on business improvement strategies.
This skill should be used when the user requests to create professional business documents (proposals, business plans, or budgets) from templates. It provides PDF templates and a Python script for generating filled documents from user data.
This skill should be used when creating or configuring CI/CD pipeline files for automated testing, building, and deployment. Use this for generating GitHub Actions workflows, GitLab CI configs, CircleCI configs, or other CI/CD platform configurations. Ideal for setting up automated pipelines for Node.js/Next.js applications, including linting, testing, building, and deploying to platforms like Vercel, Netlify, or AWS.
This skill should be used when writing documentation for codebases, including README files, architecture documentation, code comments, and API documentation. Use this skill when users request help documenting their code, creating getting-started guides, explaining project structure, or making codebases more accessible to new developers. The skill provides templates, best practices, and structured approaches for creating clear, beginner-friendly documentation.
This skill should be used when working with CSV files to create interactive data visualizations, generate statistical plots, analyze data distributions, create dashboards, or perform automatic data profiling. It provides comprehensive tools for exploratory data analysis using Plotly for interactive visualizations.
This skill should be used when analyzing CSV datasets, handling missing values through intelligent imputation, and creating interactive dashboards to visualize data trends. Use this skill for tasks involving data quality assessment, automated missing value detection and filling, statistical analysis, and generating Plotly Dash dashboards for exploratory data analysis.
This skill should be used when containerizing applications with Docker, creating Dockerfiles, docker-compose configurations, or deploying containers to various platforms. Ideal for Next.js, React, Node.js applications requiring containerization for development, production, or CI/CD pipelines. Use this skill when users need Docker configurations, multi-stage builds, container orchestration, or deployment to Kubernetes, ECS, Cloud Run, etc.