feat(每日资讯): 新增每日资讯采集工作流及相关文件

添加每日资讯工作流目录结构及自动化脚本
记录 apm-app-store 的 git tags 版本
生成 2026-03-31 的待审核资讯草稿
更新 README 文档说明新的工作流程
This commit is contained in:
2026-03-31 23:03:03 +08:00
parent 98383066d3
commit 969dafa0e6
8 changed files with 438 additions and 3 deletions
+68
View File
@@ -0,0 +1,68 @@
---
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 | ../apm-app-store |
## 执行步骤
### Step 1: 检查 Tags
```bash
cd ../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}/`
## 后续处理
原始文档需人工审核,审核通过后改写为各平台版本。