Files
Spark-Wildfire/.trae/skills/daily-news/SKILL.md
T
momen b62329c2c4 feat(daily-news): 重构每日资讯工作流并添加新版本内容
- 新增 .gitignore 文件管理外部仓库和临时文件
- 重构每日资讯工作流,将脚本迁移至 .trae/skills/daily
2026-03-31 23:15:31 +08:00

75 lines
1.8 KiB
Markdown

---
name: "daily-news"
description: "采集星火项目每日资讯,检查GitHub新tags并生成文档。Invoke when user asks for daily news check or wants to generate daily update reports."
---
# 每日资讯采集
根据优先级自动检查星火项目更新,生成待审核的每日资讯文档。
## 核心流程
```
1. 检查 GitHub Tags → 2. 分析变更 → 3. 生成文档 → 4. 更新记录
```
## 内容优先级
| 优先级 | 内容 | 来源 |
|--------|------|------|
| P1 | 星火版本更新 | GitHub tags / CHANGELOG |
| P2 | Linux 安全漏洞 | 官方公告 |
| P3 | 社区大新闻 | 论坛/社区 |
| P4 | 使用技巧 | 社区分享 |
## 监控仓库
| 仓库 | 地址 | 本地路径 |
|------|------|----------|
| APM 应用商店 | https://github.com/shenmo7192/apm-app-store | ./repos/apm-app-store |
## 执行步骤
### Step 0: 初始化仓库(如尚未克隆)
```bash
git clone https://github.com/shenmo7192/apm-app-store.git ./repos/apm-app-store
```
### Step 1: 检查 Tags
```bash
cd ./repos/apm-app-store
git fetch --all --tags
git tag -l | sort -V
```
### Step 2: 对比记录
读取 `Daily_News/Tags_Record/apm-app-store_tags.txt`,对比当前 tags。
### Step 3: 分析变更
读取仓库的 `CHANGELOG.md`,提取:
- 新增功能 (Features)
- Bug 修复 (Bug Fixes)
- 性能优化 (Performance)
### Step 4: 生成文档
创建 `Daily_News/Pending/{日期}/{日期}_raw_news.md`
### Step 5: 更新记录
覆盖 `Daily_News/Tags_Record/apm-app-store_tags.txt`
## 输出位置
- 原始文档:`Daily_News/Pending/YYYY-MM-DD/YYYY-MM-DD_raw_news.md`
- Tags 记录:`Daily_News/Tags_Record/{repo}_tags.txt`
- 审核后版本:`Daily_News/Reviewed/{WeChat,Xiaohongshu,Zhihu,Bilibili}/`
## 后续处理
原始文档需人工审核,审核通过后改写为各平台版本。