Commit Graph

20 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 fc230b7ff9 🎨 style(markdown): format markdown files 2026-01-21 10:20:53 +08:00
csh 8dc8924cbe 🔧 chore(markdown): add prettier config and usage 2026-01-21 10:20:19 +08:00
csh 2b37860331 🎨 style(markdown): format markdown files 2026-01-11 12:58:27 +08:00
csh e3ecd26a88 📝 docs(tsl): align syntax annotations and examples 2026-01-11 12:53:30 +08:00
csh 3b8b99b24d 🎨 style(markdown): normalize md headings and lists 2026-01-10 21:51:14 +08:00
csh 11b2bed878 feat(markdown): add ruleset and sync support 2026-01-10 17:25:33 +08:00
csh 5822a8736d ♻️ refactor(playbook): streamline agents and refresh tsl docs 2026-01-10 16:55:44 +08:00
csh da0ef2b7a2 test: add automated tests and ci workflow 2026-01-08 11:29:44 +08:00
csh 99bef309b7 🎨 style(markdown): format all markdown files with prettier
- 使用 prettier 格式化所有 markdown 文件
- prose-wrap: always, print-width: 80
- 保持代码块和表格格式
- 提升可读性和一致性

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-07 17:18:01 +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
csh 3b2188f336 🎨 style(markdown): format markdown files with prettier 2026-01-07 15:30:18 +08:00
csh 41fc43b79e 📝 docs(tsl): document {Unit.}Type source annotation 2026-01-07 15:10:29 +08:00
csh 3dceaf71fd 📝 docs(tsl): clarify tsf-only top-level rules and type annotations 2026-01-06 10:34:34 +08:00
csh 283d311d4f feat(playbook): add syntax book and codex skills tooling 2025-12-22 13:39:49 +08:00
csh 5b97ed5322 📝 docs(tsl): clarify syntax references 2025-12-22 13:39:09 +08:00
csh e504a689dc 📝 docs(playbook): add contributing and multi-language standards
Introduce C++ and Python docs/templates and split .agents rulesets by language (tsl/cpp/python).

Move commit message guidance to CONTRIBUTING.md (full spec remains in docs/common/commit_message.md).
2025-12-14 17:32:50 +08:00
csh c4efd8f274 🐛 fix(sync_standards): preserve project gitattributes and clarify tsl/tsf
- default to managed .gitattributes block (block/overwrite/skip)

- ensure .agents/tsl points to docs/standards/tsl snapshot paths

- document expected structure and TSL/TSF constraints
2025-12-13 19:15:55 +08:00
csh 88f0842134 feat(playbook): support multi-language standards layout 2025-12-13 19:15:55 +08:00
csh e6fd15fcac 🎉 init: scaffold tsl playbook 2025-12-13 19:15:43 +08:00