Based on your brand tone and content topic, AI generates professional LinkedIn posts, with a feedback loop for optimization until satisfied.
Trigger Conditions
Activate this skill when the user says the following:
- "Write a LinkedIn post"
- "Help me post on LinkedIn"
- "LinkedIn post"
- "Generate LinkedIn content"
- "Write a workplace update"
Workflow
┌─────────────────────┐
│ 获取品牌简介 │
│ (用户输入/配置) │
└──────────┬──────────┘
│
▼
┌─────────────────────┐
│ 确定内容主题 │
│ (用户指定/AI建议) │
└──────────┬──────────┘
│
▼
┌─────────────────────┐
│ AI 生成初稿 │
│ (基于品牌调性) │
└──────────┬──────────┘
│
▼
┌─────────────────────┐
│ AI 自我反馈 │◄───┐
│ (检查质量问题) │ │
└──────────┬──────────┘ │
│ │
▼ │
┌─────────────────────┐ │
│ 优化修改 │────┘
│ (根据反馈改进) │ (循环2-3次)
└──────────┬──────────┘
│
▼
┌─────────────────────┐
│ 输出最终版本 │
│ 保存到本地 │
└─────────────────────┘
Execution Steps
Step 1: Get Brand Profile
Ask the user or read from the configuration file:
Brand Information:
- Brand/Personal Positioning (one sentence)
- Target Audience (position/industry/pain points)
- Content Style (professional/relaxed/inspiring/educational)
- Core Value Proposition
- Taboo Words/Topics
Configuration File Location:~/.claude/cache/linkedin/brand-brief.json
Example Configuration:
{
"brand_name": "AI产品经理老王",
"positioning": "帮助产品经理理解和应用AI技术",
"target_audience": "互联网产品经理、创业者、技术管理者",
"content_style": "专业但接地气,案例驱动,有干货",
"value_proposition": "让AI落地不再难",
"tone": ["务实", "有洞察", "不说空话"],
"avoid": ["过度营销", "贩卖焦虑", "无根据预测"]
}
Step 2: Determine Content Topic
User-specified topic:
用户: 写个关于 AI Agent 最新进展的帖子
Or AI-suggested topics:
Generate topic suggestions based on the following sources:
- Industry hot topics (WebSearch for the latest updates)
- User's historical post topics (avoid repetition)
- Holiday/Event calendar
Topic Structure:
{
"topic": "AI Agent 的2025现状",
"angle": "从实践者角度分析,不是科普",
"hook": "为什么99%的AI Agent项目失败了",
"target_emotion": "共鸣+好奇"
}
Step 3: Generate First Draft
Generate using the following prompt:
Post Generation Prompt:
你是一位专业的 LinkedIn 内容创作专家,擅长写高互动的职场内容。
【品牌简介】
{brand_brief}
【本次主题】
{topic}
【LinkedIn 帖子最佳实践】
1. 开头3行决定生死 - 必须有强钩子,引发好奇或共鸣
2. 使用短段落 - 每段1-2句,留白增加可读性
3. 加入个人观点 - 不要只陈述事实,要有态度
4. 故事>道理 - 用案例和故事说话
5. 结尾有CTA - 邀请互动(提问/投票/分享经历)
6. 适当用emoji - 增加视觉节奏,但不过度
7. 长度:150-300字(中文)/ 1000-1500字符(英文)
【输出格式】
直接输出帖子内容,不需要解释。使用换行分段。
Step 4: AI Self-Feedback Loop
After generating the first draft, review it from a second AI perspective:
Feedback Prompt:
你是一位 LinkedIn 内容专家,请审核以下帖子:
【帖子内容】
{draft}
【品牌简介】
{brand_brief}
【审核维度】
1. 开头吸引力 (1-10):前3行是否能留住读者?
2. 品牌一致性 (1-10):是否符合品牌调性?
3. 价值密度 (1-10):读者能学到什么?
4. 互动潜力 (1-10):是否能引发评论/转发?
5. 专业度 (1-10):是否有深度,不是泛泛而谈?
【输出格式】
{
"scores": {
"hook": 8,
"brand_fit": 9,
"value": 7,
"engagement": 6,
"depth": 8
},
"overall": 7.6,
"issues": [
"开头可以更具体,加入数字或案例",
"结尾CTA太弱,可以提一个具体问题"
],
"suggestions": [
"把'很多公司'改成'我见过的30+公司'",
"结尾加一个投票或提问"
]
}
Step 5: Optimize and Revise
Optimize the post based on feedback:
Optimization Prompt:
请根据以下反馈优化帖子:
【原帖】
{draft}
【反馈】
{feedback}
【要求】
1. 针对性修改 issues 中提到的问题
2. 采纳 suggestions 中合理的建议
3. 保持原有的核心观点和结构
4. 不要过度修改导致失去原有风格
【输出】
直接输出优化后的完整帖子。
Loop Conditions:
- If the overall score < 8, continue optimizing
- Maximum of 3 loops
- The user can accept the current version at any time
Step 6: Output the Final Version
Output Format:
# LinkedIn 帖子 - {主题}
**生成时间**: YYYY-MM-DD HH:MM
**主题**: {topic}
**质量评分**: {overall}/10
---
## 📝 帖子内容
{final_post}
---
## 📊 质量评估
| 维度 | 得分 |
|------|------|
| 开头吸引力 | ⭐ {hook}/10 |
| 品牌一致性 | ⭐ {brand_fit}/10 |
| 价值密度 | ⭐ {value}/10 |
| 互动潜力 | ⭐ {engagement}/10 |
| 专业度 | ⭐ {depth}/10 |
## 💡 发布建议
- **最佳发布时间**: 周二-周四 早8点/午12点/晚6点
- **配图建议**: {image_suggestion}
- **话题标签**: {hashtags}
---
*由 Claude Code linkedin-post-creator 技能生成*
Usage Examples
Example 1: Generate with a specified topic
用户: 帮我写个LinkedIn帖子,主题是远程办公的利弊
Claude:
1. 读取品牌配置(如没有则询问)
2. 生成初稿
3. AI反馈评分 7.2/10
4. 优化后评分 8.5/10
5. 输出最终版本
Example 2: AI-suggested topics
用户: 帮我想几个LinkedIn帖子主题
Claude:
1. 搜索用户领域最新热点
2. 生成 5 个主题建议
3. 用户选择后生成帖子
Example 3: Batch generation
用户: 帮我生成这周的5篇LinkedIn帖子
Claude:
1. 根据内容日历规划主题
2. 批量生成5篇
3. 统一输出到文件
LinkedIn Post Template Library
Template 1: Experience Sharing Type
我在 [领域] 工作了 [X] 年。
这是我希望早点知道的 [N] 件事:
1️⃣ [洞察1]
→ [一句话解释]
2️⃣ [洞察2]
→ [一句话解释]
3️⃣ [洞察3]
→ [一句话解释]
最让我意外的是第 [X] 条。
你的经验是什么?👇
Template 2: Counterintuitive Viewpoint Type
[常见观点] 是错的。
我来解释为什么:
[论点1]
[论点2]
[论点3]
真正重要的是:[核心洞察]
同意还是反对?评论区见 💬
Template 3: Story Type
去年这个时候,我 [困境描述]。
我试过:
❌ [失败尝试1]
❌ [失败尝试2]
直到我发现了 [转折点]。
现在:[成果]
这件事教会我:[核心教训]
你有过类似经历吗?
Template 4: Data Insight Type
📊 一个让我震惊的数据:
[具体数据]
这意味着什么?
1. [解读1]
2. [解读2]
3. [解读3]
我的建议:[行动建议]
你怎么看这个趋势?
Data Storage
- Brand configuration:
~/.claude/cache/linkedin/brand-brief.json - Generated posts:
~/.claude/cache/linkedin/posts/ - Post naming:
{YYYY-MM-DD}-{topic-slug}.md
Dependencies
- Read: Read brand configuration
- Write: Save generated posts
- WebSearch: Search hot topics (optional)
Best Practices
Increase Engagement Rate
- Start with a number or a counterintuitive viewpoint
- End with a specific question rather than a vague "What do you think"
- Use lists and paragraphs to improve readability
- The first comment can add content or ask a question
Posting Time
- Best: Tuesday-Thursday, 8 AM / 12 PM / 6 PM
- Avoid: weekends, holidays
- Actively reply to comments within 30 minutes after posting
Hashtag Strategy
- Use 3-5 hashtags
- Mix broad hashtags (#leadership) and niche hashtags (#productmanagement)
- Avoid creating new tags that no one uses
Limitations
- This skill generates post content and is not responsible for actual publishing
- Users need to manually copy it to LinkedIn to publish
- AI scoring is for reference only; final quality requires human judgment