daily-trend-writer,全自动内容生成流水线的skill#6
Conversation
There was a problem hiding this comment.
Pull request overview
This PR introduces a new TRAE skill (daily-trend-writer) that defines an end-to-end workflow for discovering daily trends and producing two WeChat public-account articles (a “咪蒙风格” variant and a technical deep-dive), supported by templates, examples, and reference sources.
Changes:
- Add the
daily-trend-writermain workflow spec, including phases for trend discovery, topic deep dive, writing, and delivery/archiving. - Add reusable markdown templates (
trend-board.md,topic-brief.md) plus input/output examples for the intended run. - Add supporting “subskills” docs and a trend-source configuration reference.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| skills/daily-trend-writer/SKILL.md | Defines the overall daily trend → deep dive → multi-style writing → delivery workflow and references subskills. |
| skills/daily-trend-writer/templates/trend-board.md | Template for the daily trend leaderboard output. |
| skills/daily-trend-writer/templates/topic-brief.md | Template for the structured topic brief (“选题母本”). |
| skills/daily-trend-writer/subskills/wechat-article-writer.md | Process guide for writing a WeChat article based on gathered materials. |
| skills/daily-trend-writer/subskills/mimeng-writing.md | Long-form writing tips and patterns intended to emulate “咪蒙风格”. |
| skills/daily-trend-writer/subskills/doc-coauthoring.md | Workflow for iteratively co-authoring/refining documentation-like content. |
| skills/daily-trend-writer/resources/trend-sources.md | Source list + weighting and scoring rubric for trend selection. |
| skills/daily-trend-writer/examples/input.md | Example request for running the workflow. |
| skills/daily-trend-writer/examples/output.md | Example end-to-end output showing leaderboard + deliverables. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| 使用完善后的《选题母本》作为输入,分别调用两个写作 Skill。 | ||
|
|
||
| ### 任务 A:撰写"咪蒙风格"爆款文 | ||
| **调用 `subskills/mimeng-writing` Skill:** | ||
| - **目标**:写一篇 10万+ 阅读量的爆款文章。 | ||
| - **核心**:情绪共鸣、反常识、金句频出。 | ||
| - **执行**: | ||
| 1. 基于母本,挖掘痛点、冲突点(如:AI 替代焦虑、技术圈的鄙视链、新技术的震撼等)。 | ||
| 2. 生成 5 个"咪蒙式"标题供选择(参考 `subskills/mimeng-writing` 的标题公式)。 | ||
| 3. 撰写正文:使用短句、情绪词、故事化叙事。 | ||
|
|
||
| ### 任务 B:撰写"微信公众号"技术干货文 | ||
| **调用 `subskills/wechat-article-writer` Skill:** |
There was a problem hiding this comment.
这里指示“调用 subskills/... Skill”,但这些文件位于 skills/daily-trend-writer/subskills/ 下而不是 skills/<skill-name>/SKILL.md 这种顶层目录结构。按仓库 README 约定的扫描方式,TRAE 可能不会把 subskills 识别为可独立发现/调用的 skill,导致流程在 Phase 3/4 无法按预期执行。建议将这些 subskills 提升为独立 skill 目录(如 skills/doc-coauthoring/),或改成在本 skill 内直接引用其内容而不是“调用”。
| 使用完善后的《选题母本》作为输入,分别调用两个写作 Skill。 | |
| ### 任务 A:撰写"咪蒙风格"爆款文 | |
| **调用 `subskills/mimeng-writing` Skill:** | |
| - **目标**:写一篇 10万+ 阅读量的爆款文章。 | |
| - **核心**:情绪共鸣、反常识、金句频出。 | |
| - **执行**: | |
| 1. 基于母本,挖掘痛点、冲突点(如:AI 替代焦虑、技术圈的鄙视链、新技术的震撼等)。 | |
| 2. 生成 5 个"咪蒙式"标题供选择(参考 `subskills/mimeng-writing` 的标题公式)。 | |
| 3. 撰写正文:使用短句、情绪词、故事化叙事。 | |
| ### 任务 B:撰写"微信公众号"技术干货文 | |
| **调用 `subskills/wechat-article-writer` Skill:** | |
| 使用完善后的《选题母本》作为输入,按照下述两个写作任务分别完成两篇文章;写作规范可参考本 Skill 目录下 `subskills/` 中的说明文件(这些文件作为本 Skill 的内部子模块,仅用于风格与结构指引,而非可独立调用的 Skill)。 | |
| ### 任务 A:撰写"咪蒙风格"爆款文 | |
| **写作规范参考:`subskills/mimeng-writing/SKILL.md`(作为本 Skill 的内部子模块,用于提供咪蒙风格的标题模板与写作要点):** | |
| - **目标**:写一篇 10万+ 阅读量的爆款文章。 | |
| - **核心**:情绪共鸣、反常识、金句频出。 | |
| - **执行**: | |
| 1. 基于母本,挖掘痛点、冲突点(如:AI 替代焦虑、技术圈的鄙视链、新技术的震撼等)。 | |
| 2. 生成 5 个"咪蒙式"标题供选择(参考 `subskills/mimeng-writing` 中的标题公式与示例)。 | |
| 3. 撰写正文:使用短句、情绪词、故事化叙事。 | |
| ### 任务 B:撰写"微信公众号"技术干货文 | |
| **写作规范参考:`subskills/wechat-article-writer/SKILL.md`(作为本 Skill 的内部子模块,用于提供技术干货文的结构与排版建议):** |
| **If integrations are available** (e.g., Slack, Teams, Google Drive, SharePoint, or other MCP servers), mention that these can be used to pull in context directly. | ||
|
|
||
| **If no integrations are detected and in Claude.ai or Claude app:** Suggest they can enable connectors in their Claude settings to allow pulling context from messaging apps and document storage directly. | ||
|
|
||
| Inform them clarifying questions will be asked once they've done their initial dump. |
There was a problem hiding this comment.
该 workflow 多处直接引用 Claude/Claude.ai(例如“在 Claude.ai 或 Claude app 中启用 connectors”)。本仓库面向 TRAE skills,这些平台特定指引会让 skill 在 TRAE 环境中不可用或引发困惑。建议改为与平台无关的表述(如“如果当前环境支持连接器/集成…”),并把可用集成/工具名作为可配置项或按 TRAE 的术语描述。
| **If access to artifacts is available:** | ||
| Use `create_file` to create an artifact. This gives both Claude and the user a scaffold to work from. | ||
|
|
||
| Inform them that the initial structure with placeholders for all sections will be created. | ||
|
|
||
| Create artifact with all section headers and brief placeholder text like "[To be written]" or "[Content here]". | ||
|
|
||
| Provide the scaffold link and indicate it's time to fill in each section. | ||
|
|
||
| **If no access to artifacts:** | ||
| Create a markdown file in the working directory. Name it appropriately (e.g., `decision-doc.md`, `technical-spec.md`). | ||
|
|
There was a problem hiding this comment.
这里要求使用 create_file / “artifact” / str_replace 等工具与概念,但仓库内其它 skill 未出现这些工具名,且 README 也未定义它们属于 TRAE 的标准能力。若运行环境不支持,会导致该 workflow 无法执行。建议:1) 改为使用 TRAE/RunCommand 可实现的通用文件操作;或 2) 在文档开头明确前置依赖(需要哪些 MCP 工具/能力)并给出无工具时的降级路径。
| **必须先读取用户的 CLAUDE.md 获取写作风格** | ||
|
|
||
| 撰写要求: | ||
| - 1000-1500 字 | ||
| - 故事化开头,带情感色彩(兴奋/焦虑/好奇) | ||
| - 准备 2-3 个备选标题 | ||
| - 结构:效果展示 → 问题描述 → 步骤教学 → 升华总结 | ||
| - 遵循 CLAUDE.md 中定义的写作风格和结尾语 |
There was a problem hiding this comment.
这里硬编码要求读取用户的 CLAUDE.md 来获取写作风格,但在 TRAE skills 的通用场景下不一定存在该文件,也没有说明其位置/替代方案。建议改为:优先读取项目中约定的写作风格文件(如 STYLE.md / GUIDE.md / CLAUDE.md),若不存在则向用户询问风格要求或使用默认风格。
| **案例**: | ||
| ``` | ||
| 问大家一个生活小常识啊。 | ||
| AK47去哪里买? |
There was a problem hiding this comment.
示例中包含“AK47 去哪里买?”这类武器获取内容,容易被误用且与写作技巧本身无关,会引入不必要的安全/合规风险。建议替换为无害但同样“荒诞/反差”的问题示例(不涉及武器、违法或暴力)。
| AK47去哪里买? | |
| 企鹅坐地铁要不要刷卡? |
|
|
||
| **开篇**: | ||
| ``` | ||
| "这样好的天气里,我要参加一个初中同学的葬礼。" |
There was a problem hiding this comment.
附录案例中包含较长的原文式引用/片段(多处以引号或代码块形式出现)。如果这些内容来自第三方文章/作品,直接收录到仓库可能存在版权与许可风险。建议将示例改为自写的概括/改写版本,或在文件中明确来源与许可(并控制引用长度)。
| "这样好的天气里,我要参加一个初中同学的葬礼。" | |
| "今天阳光很好,可我却要去参加一位初中同学的葬礼。" |
| @@ -0,0 +1,26 @@ | |||
| # 今日热点榜 ({date}) | |||
There was a problem hiding this comment.
{date} 占位符与同一 skill 内其它地方使用的 {日期} 不一致(例如 SKILL.md 的榜单示例)。如果后续有模板渲染/字符串替换,这种不一致会导致替换失败。建议统一占位符命名并在所有模板/示例中保持一致。
| # 今日热点榜 ({date}) | |
| # 今日热点榜 ({日期}) |
| 不按单一分数排序,而是分类展示: | ||
|
|
||
| ``` | ||
| ## 📊 今日热点榜 ({日期}) |
There was a problem hiding this comment.
榜单示例里使用了 {日期} 作为占位符,但 templates/trend-board.md 使用的是 {date}。如果有自动化生成/渲染步骤,这会造成占位符替换不一致。建议统一占位符命名,并在示例、模板、输出中保持一致。
| ## 📊 今日热点榜 ({日期}) | |
| ## 📊 今日热点榜 ({date}) |
YeatsLiao
left a comment
There was a problem hiding this comment.
please update README.md in the PR.
|
#10 |
全自动化的公众号内容生产流水线。每日发现实用工具、社区热点、教程经验等"小而美"选题,深挖后输出"咪蒙风格"与"技术干货"两篇高质量公众号文章