Commit Graph

42 Commits

Author SHA1 Message Date
csh 6244aa39da 🔧 chore(ci): relax gitattributes check 2026-01-08 15:40:50 +08:00
csh 31dd0c5a38 🐛 fix(scripts): require existing project root 2026-01-08 15:39:09 +08:00
csh 15d4d63f24 🔧 chore(ci): install python3-pip 2026-01-08 15:35:36 +08:00
csh 90c6313afa 🔧 chore(ci): run tests in a single job 2026-01-08 15:23:39 +08:00
csh d84eff04b9 🔧 chore(ci): make actions base url configurable 2026-01-08 14:06:15 +08:00
csh 395598dcc8 🔧 chore(ci): fix yaml step names 2026-01-08 13:43:37 +08:00
csh 4ae2733ad2 feat(sync_standards): auto-detect existing languages 2026-01-08 13:33:47 +08:00
csh e97fb00649 feat(sync_standards): default gitattributes to append 2026-01-08 12:17:00 +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 0d6b2a0702 📝 docs(readme): add quick decision table and TL;DR for distribution methods
- 添加快速决策表:帮助用户在3种分发方式中快速选择
- 添加 TL;DR 30秒快速开始:提供一键复制的命令
- 折叠高级选项:环境变量配置和 Overlay 合并策略
- 降低文档认知负担,提升新用户体验

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-07 17:09:39 +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 3a6382973e 📝 docs(skills): add create-plan skill 2025-12-31 15:01:29 +08:00
csh f02a70714e 🐛 fix(scripts): escape markdown backticks in vendor_playbook 2025-12-23 15:21:22 +08:00
csh 064aa9262c 🐛 fix(scripts): correct bat scripts 2025-12-23 15:21:22 +08:00
csh 4881feb328 🔧 chore(gitattributes): enforce crlf for bat files 2025-12-23 15:21:19 +08:00
csh 1fa3e2a3f0 🐛 fix(scripts): escape parentheses in sync_standards output 2025-12-23 15:19:58 +08:00
csh 3958cad2ef 📝 docs(vendor_playbook): mention ci templates 2025-12-22 16:27:25 +08:00
csh 9d059cf698 feat(templates): add gitea ci example 2025-12-22 16:25:43 +08:00
csh a52bb246ab 📝 docs(codex_skills): normalize markdown formatting 2025-12-22 15:36:58 +08:00
csh cc8ad4c59c 📝 docs(skills): slim commit-message 2025-12-22 15:12:17 +08:00
csh 2a98e15a1d 🐛 fix(skills): quote YAML descriptions 2025-12-22 15:04:42 +08:00
csh 8f78d22ccc 🐛 fix(sync_standards): generate minimal AGENTS.md 2025-12-22 14:28:47 +08:00
csh 5547665e95 feat(skills): add commit-message suggestion skill 2025-12-22 14:22:32 +08:00
csh 3fe8bd7585 🔧 chore(sync_standards): create AGENTS.md on sync 2025-12-22 13:44:48 +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 27e07008cb feat(skills): add pdf/docx/pptx/xlsx wrapper workflows 2025-12-17 15:45:49 +08:00
csh 5551363094 feat(skills): add debugging and bulk refactor workflows 2025-12-17 15:25:50 +08:00
csh 1d4f548227 feat(skills): add built-in workflow skills 2025-12-17 15:19:57 +08:00
csh c0895dd02c 📝 docs(skills): add anthropics document-skills integration 2025-12-17 14:49:18 +08:00
csh cf9f80da80 🔧 chore(playbook): add Claude Code skills guide and align python templates 2025-12-17 14:01:16 +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 380228caca 📝 docs(readme): clarify project docs vs standards 2025-12-13 19:15:55 +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 5311f33802 🔧 chore(playbook): add vendoring guide and sync scripts 2025-12-13 19:15:53 +08:00
csh e6fd15fcac 🎉 init: scaffold tsl playbook 2025-12-13 19:15:43 +08:00
csh ebd5fbc68d Initial commit 2025-12-12 15:04:39 +08:00