Commit Graph

4 Commits

Author SHA1 Message Date
csh eb75036b64 🔧 chore(templates): align agent templates and docs
- drop implementation-plan template and references
- add AGENT_RULES.local.md precedence in templates
- add plan meta guidance and CN updates
2026-01-23 11:37:29 +08:00
csh 2b37860331 🎨 style(markdown): format markdown files 2026-01-11 12:58:27 +08:00
csh 5822a8736d ♻️ refactor(playbook): streamline agents and refresh tsl docs 2026-01-10 16:55:44 +08:00
csh 7e96bc86d8 ♻️ refactor(tsl): split function.md into 44 modular files
问题:
- 原 function.md 有 221,389 行(4.2MB),导致编辑器性能问题
- Git diff 无法有效查看
- 搜索和定位困难,难以维护

解决方案:
- 按功能模块拆分为 44 个独立文件
- TSL函数 → 10个子文件(数学、基础、系统等)
- 金融函数 → 23个子文件(股票、行情、技术分析等)
- 其他 → 9个独立章节文件
- 3个索引文件提供导航

改进效果:
- 最大文件 < 50,000 行(减少 79%)
- 编辑器打开速度从 10-30秒 → < 1秒
- Git diff 清晰可读,便于code review
- 模块化搜索,精准定位
- 独立维护和扩展

目录结构:
function/
├── index.md              # 总索引
├── tsl/                  # TSL函数(10个文件)
├── financial/            # 金融函数(23个文件)
└── 03_*.md               # 其他章节(9个文件)

注意:
- 原文件已保留为 function.md.backup(未提交)
- function.md 改为重定向文件(3KB)
- 更新 syntax_book/index.md 中的引用

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-07 17:11:20 +08:00