🔧 chore(playbook): split sync_templates into sections

This commit is contained in:
csh
2026-01-27 08:49:40 +08:00
parent 278750e3c9
commit 73d5c261b1
7 changed files with 263 additions and 113 deletions
+12 -5
View File
@@ -11,13 +11,20 @@
# langs = ["tsl"] # 可选:默认仅 tsl
# target_dir = "docs/standards/playbook"
[sync_templates]
[sync_rules]
# 同步 AGENT_RULES.md(配置节存在即启用)
# force = false # 可选:覆盖已有文件
[sync_memory_bank]
# 同步 memory-bank/(配置节存在即启用)
# project_name = "MyProject" # 可选:替换 {{PROJECT_NAME}}
# main_language = "tsl" # 可选:替换 {{MAIN_LANGUAGE}}(未配置时取 sync_standards.langs[0],否则 tsl
# date = "2026-01-23" # 可选:替换 {{DATE}},默认今天
# force = false # 可选:覆盖已有目录
# force = false # 可选:覆盖已有目录(会先备份
# no_backup = false # 可选:跳过备份
[sync_prompts]
# 同步 docs/prompts/(配置节存在即启用)
# force = false # 可选:覆盖已有目录(会先备份)
# no_backup = false # 可选:跳过备份
# full = false # 可选:写入 framework 区块
[sync_standards]
# langs = ["tsl", "cpp"] # 必填:要同步的语言