Files
inspiration-collector/templates/README.md
Beast c7e485f5de feat: v2.1 - Prompt模板独立化 + 决策日志
- 新建templates/目录,将daily_digest的System Prompt从代码中提取为独立模板文件
- 新建DECISION_LOG.md,记录架构决策和踩坑记录
- 模板与代码分离,换LLM时只需改模板文件
2026-06-14 20:19:08 +08:00

20 lines
878 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 分析模板 (Prompt Templates)
这些模板是AI分析脚本使用的Prompt配置。将Prompt从代码中分离到独立文件实现
- **跨模型迁移**换用不同LLM时只需修改模板文件不需改代码
- **版本管理**每次Prompt优化都有git历史可追溯
- **独立迭代**:修改分析风格不影响核心代码逻辑
## 使用方式
分析脚本运行时自动加载对应模板文件。修改模板后重新运行分析脚本即可生效,无需重启服务。
## 模板文件
| 文件 | 用途 | 使用者 |
|:---|:---|:---|
| `daily_digest_prompt.txt` | 每日灵感分析System Prompt | `analyzers/daily_digest.py` |
| `weekly_trend_prompt.txt` | 每周灵感趋势分析 | `analyzers/weekly_trend.py` (待创建) |
| `course_analysis_prompt.txt` | 课程学习记录分析 | `course-analysis-template` skill (待创建) |