Install
openclaw skills install tweet-thread-generator将技术文章、博客转换为吸引人的 Twitter/X 推文线程,支持多语言,自动添加话题标签。
openclaw skills install tweet-thread-generator将技术内容转换为吸引人的 Twitter/X 推文线程。
# 基本用法
tweet-thread-generator "你的技术文章内容"
# 指定主题
tweet-thread-generator "文章内容" --topic "AI"
# 输出格式
tweet-thread-generator "内容" --format thread
# 从 Markdown 文件
tweet-thread-generator file.md
# 从 URL
tweet-thread-generator url "https://example.com/article"
# 启动交互式生成
tweet-thread-generator interactive
# 或简写
tweet-thread-generator -i
🧵 关于如何写出更好的代码的 10 个技巧
(1/n)
写代码不仅是完成任务,更是创造艺术品。
以下是我从多年编程经验中总结的 10 条建议👇
(2/n)
1. 先思考,再编码
花时间理解问题再动手,能省下后面几倍的重写时间。
#CodingTips #Programming
(3/n)
2. 命名要有意义
...
---
📝 共 8 条推文
🔥 预计曝光: 10K+
⏱️ 预计发布时间: 5 分钟
| 选项 | 说明 | 默认值 |
|---|---|---|
--topic | 主题标签 | 自动检测 |
--length | 线程长度 | auto |
--tone | 语气 (funny/serious/educational) | educational |
--format | 输出格式 (thread/list) | thread |
--lang | 语言 | en |
# 设置默认主题
tweet-thread-generator config --default-topic "Tech"
# 设置默认语气
tweet-thread-generator config --tone educational
# 设置输出格式
tweet-thread-generator config --format thread
编辑 ~/.tweet-generator/hooks.txt 添加自定义开场白:
🔥 你绝对想不到...
💡 5 年程序员的经验分享
🧵 一个让你效率翻倍的方法
# 无需额外依赖
tweet-thread-generator "如何学习 React" --topic "React" --tone educational
tweet-thread-generator "5 个提升效率的开发工具" --topic "DevTools"
tweet-thread-generator "AI 不会取代程序员,但..." --topic "AI" --tone serious