Skip to content

anbeime/skill / skills/content-creation-publisher

content-creation-publisher

Verified

内容创作者与自媒体创作者在需要将网页素材转化为多平台图文时,使用本技能可自动完成网页提取、Markdown排版美化、智能配图,并一键发布至微信公众号与X/Twitter,轻松实现从采集到发布的一站式自动化工作流。

FileKindSize
SKILL.mdskill md10.5 KB
快速使用指南.mdmarkdown8.5 KB

快速使用指南.md

View on GitHub
# 内容创作与发布全流程 - 快速使用指南

## 🎯 技能概述

**名称**:content-creation-publisher
**功能**:从内容采集到多平台发布的一站式解决方案
**位置**:`D:\tool\skills\content-creation-publisher\`

---

## 📦 包含的子技能

### 1. baoyu-url-to-markdown
- **功能**:网页转Markdown
- **技术**:Chrome CDP
- **用途**:采集文章、论文、新闻

### 2. baoyu-format-markdown
- **功能**:Markdown格式化
- **特点**:中英文间距、标点修正、加粗bug修复
- **用途**:优化文档排版

### 3. article-illustrator
- **功能**:智能文章配图
- **特点**:6种类型 × 8种风格
- **用途**:自动生成插图

### 4. baoyu-post-to-wechat
- **功能**:微信公众号发布
- **模式**:浏览器模式 / API模式
- **用途**:自动发布到公众号

### 5. baoyu-post-to-x
- **功能**:X/Twitter发布
- **类型**:普通推文 / X Articles
- **用途**:自动发布到X

---

## 🚀 快速开始

### 前置要求
```bash
# 1. 检查Node.js
node --version

# 2. 检查Chrome
chrome --version

# 3. 安装依赖(在技能目录下)
cd D:\tool\skills\content-creation-publisher\baoyu-format-markdown\scripts
npm install
```

---

## 💡 使用场景

### 场景1:采集文章并发布
```
输入:网页URL
流程:
1. baoyu-url-to-markdown → 提取内容
2. baoyu-format-markdown → 格式优化
3. article-illustrator → 智能配图
4. baoyu-post-to-wechat → 发布到微信
5. baoyu-post-to-x → 发布到X

命令示例:
"采集这篇文章并发布到微信和X"
URL: https://example.com/article
```

### 场景2:优化现有文章
```
输入:Markdown文件
流程:
1. baoyu-format-markdown → 格式优化
2. article-illustrator → 智能配图
3. 多平台发布

命令示例:
"优化这篇文章并配图"
文件:article.md
```

### 场景3:批量采集
```
输入:多个URL
流程:
1. 批量提取内容
2. 批量格式优化
3. 批量配图
4. 定时发布

命令示例:
"批量采集这些文章"
URLs: [url1, url2, url3...]
```

---

## 🔄 完整工作流示例

### 工作流1:学术论文处理
```
1. 输入arXiv论文URL
   ↓
2. baoyu-url-to-markdown(提取论文)
   ↓
3. paper-analysis-assistant(深度分析)
   ↓
4. baoyu-format-markdown(格式优化)
   ↓
5. ppt-generator(生成PPT)
   ↓
6. baoyu-post-to-wechat(发布解读)
```

### 工作流2:电商内容营销
```
1. product-marketing-copywriter(生成文案)
   ↓
2. baoyu-format-markdown(格式优化)
   ↓
3. pop-up-book-illustration(3D插图)
   ↓
4. baoyu-post-to-x(推广发布)
```

### 工作流3:新闻快讯发布
```
1. baoyu-url-to-markdown(采集新闻)
   ↓
2. baoyu-format-markdown(格式优化)
   ↓
3. stock-analysis(如果是财经新闻)
   ↓
4. 多平台同步发布
```

---

## ⚙️ 配置说明

### 1. 浏览器模式(推荐)
无需配置,直接使用Chrome自动化

**优点**:
- 无需API密钥
- 开箱即用
- 支持所有功能

**使用方法**:
- 首次使用时会打开Chrome
- 手动登录账号
- 后续自动化操作

### 2. API模式(可选)
需要配置微信公众号API

**配置文件**:`~/.baoyu-skills/.env`
```bash
WECHAT_APP_ID=your_app_id
WECHAT_APP_SECRET=your_app_secret
```

**优点**:
- 更稳定
- 更快速
- 适合批量操作

---

## 🎨 配图风格选择

### 6种配图类型
1. **infographic** - 信息图表
2. **scene** - 场景插图
3. **flowchart** - 流程图
4. **comparison** - 对比图
5. **framework** - 框架图
6. **timeline** - 时间线

### 8种视觉风格
1. **notion** - Notion风格
2. **elegant** - 优雅风格
3. **warm** - 温暖风格
4. **minimal** - 极简风格
5. **blueprint** - 蓝图风格
6. **watercolor** - 水彩风格
7. **editorial** - 编辑风格
8. **scientific** - 科学风格

**使用示例**:
```
"用notion风格的infographic为文章配图"
"用watercolor风格的scene插图"
```

---

## 🔧 常用命令

### 采集命令
```
"采集这篇文章"
"提取这个网页的内容"
"把这个URL转成Markdown"
```

### 格式化命令
```
"优化这篇文章的格式"
"格式化这个Markdown文件"
"修复中英文间距"
```

### 配图命令
```
"为文章智能配图"
"用[风格]为文章生成插图"
"在第3段添加[类型]插图"
```

### 发布命令
```
"发布到微信公众号"
"发布到X"
"同时发布到微信和X"
"定时发布"
```

### 组合命令
```
"采集这篇文章,优化格式,配图,然后发布到微信"
"提取这个URL,生成PPT,发布解读"
"批量采集这些URL并优化格式"
```

---

## 📊 与现有技能协同

### 内容创作类
- ecommerce-copywriter → baoyu-format-markdown → baoyu-post-to-x
- product-marketing-copywriter → article-illustrator → baoyu-post-to-wechat
- xiaohongshu-makeup → baoyu-format-markdown → 多平台发布

### 分析类
- paper-analysis-assistant → baoyu-format-markdown → ppt-generator
- stock-analysis → baoyu-format-markdown → baoyu-post-to-wechat
- web-design-analyzer → baoyu-format-markdown → article-illustrator

### 视频类
- viral-video-copywriting → baoyu-format-markdown → baoyu-post-to-x
- pet-commerce-creator → baoyu-format-markdown → 多平台发布

---

## ⚠️ 注意事项

### 1. Chrome依赖
- 确保Chrome已安装
- 首次使用需要手动登录
- 保持Chrome版本更新

### 2. 网络要求
- 采集功能需要稳定网络
- 部分网站可能有反爬虫
- 建议使用等待模式处理登录页面

### 3. 账号安全
- 使用专用账号进行自动化
- 定期检查发布内容
- 遵守平台规则

### 4. 内容审核
- 发布前人工审核
- 确保符合平台规范
- 注意版权和原创性

### 5. 频率限制
- 避免频繁发布
- 设置发布间隔
- 防止账号异常

---

## 🐛 故障排查

### Q1: Chrome无法启动
```
解决方案:
1. 检查Chrome是否安装
2. 更新到最新版本
3. 检查系统权限
```

### Q2: 网页采集失败
```
解决方案:
1. 检查网络连接
2. 尝试等待模式
3. 手动登录后再采集
4. 检查网站是否有反爬虫
```

### Q3: 格式化异常
```
解决方案:
1. 检查Markdown语法
2. 手动调整特殊格式
3. 使用预设模板
```

### Q4: 发布失败
```
解决方案:
1. 检查账号登录状态
2. 确认内容符合规范
3. 检查图片大小和格式
4. 重新登录账号
```

### Q5: 依赖安装失败
```
解决方案:
1. 检查Node.js版本
2. 使用npm install重新安装
3. 清除缓存:npm cache clean --force
4. 使用国内镜像:npm config set registry https://registry.npmmirror.com
```

---

## 📈 性能优化

### 批量处理
- 使用批量命令减少操作次数
- 设置合理的并发数
- 避免同时处理过多内容

### 缓存利用
- 重复采集的内容会使用缓存
- 定期清理缓存释放空间
- 缓存位置:`~/.baoyu-skills/cache`

### 资源管理
- 关闭不必要的Chrome标签
- 及时清理临时文件
- 监控系统资源使用

---

## 🎓 进阶技巧

### 1. 自定义模板
创建常用的格式化模板:
```markdown
---
title: {{title}}
date: {{date}}
tags: {{tags}}
---

# {{title}}

{{content}}
```

### 2. 批量操作脚本
```bash
# 批量采集
for url in urls.txt; do
  baoyu-url-to-markdown $url
done

# 批量格式化
for file in *.md; do
  baoyu-format-markdown $file
done
```

### 3. 定时发布
```bash
# 使用cron定时发布
0 9 * * * cd /path/to/content && baoyu-post-to-wechat article.md
```

### 4. 工作流自动化
创建自定义工作流脚本,组合多个步骤

---

## 📚 相关文档

- [SKILL.md](SKILL.md) - 完整技能文档
- [baoyu-url-to-markdown/SKILL.md](baoyu-url-to-markdown/SKILL.md) - 采集功能
- [baoyu-format-markdown/SKILL.md](baoyu-format-markdown/SKILL.md) - 格式化功能
- [baoyu-post-to-wechat/SKILL.md](baoyu-post-to-wechat/SKILL.md) - 微信发布
- [baoyu-post-to-x/SKILL.md](baoyu-post-to-x/SKILL.md) - X发布
- [article-illustrator/SKILL.md](article-illustrator/SKILL.md) - 智能配图

---

## 🎯 总结

**content-creation-publisher** 是一个强大的内容创作与发布全流程技能,整合了:

✅ 网页内容采集
✅ Markdown格式优化
✅ 智能文章配图
✅ 多平台自动发布
✅ 与44个现有技能协同

**适用场景**:
- 📝 内容创作者
- 📰 新闻编辑
- 🎓 学术研究
- 🛒 电商营销
- 📱 社交媒体运营

**核心优势**:
- 🚀 一站式解决方案
- 🔧 灵活的工作流组合
- 🎨 丰富的配图风格
- 📤 多平台自动发布
- 🤝 与现有技能深度协同

---

**🎉 开始使用,让内容创作与发布更高效!**
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 196kUpdated Claude CodeCodexVerifiedInstall