feat(playbook): add no_backup deploy controls

remove obsolete main_language placeholders and language summary template text

limit generated .agents guidance to configured langs and normalize AGENT_RULES trailing newlines

document install_skills no_backup behavior and refresh tests for deployment links and sync flows
This commit is contained in:
csh
2026-04-24 10:06:03 +08:00
parent 8609d59d4a
commit a2e3cb07de
12 changed files with 138 additions and 90 deletions
+1 -3
View File
@@ -15,7 +15,6 @@
# force = false # 可选:覆盖已有文件
# no_backup = false # 可选:跳过备份
# date = "2026-04-22" # 可选:替换 {{DATE}}
# main_language = "tsl" # 可选:覆盖 {{MAIN_LANGUAGE}}
[sync_memory_bank]
# 同步 memory-bank/(配置节存在即启用)
@@ -25,7 +24,6 @@
# force = false # 可选:覆盖已有文件(会先备份)
# no_backup = false # 可选:跳过备份
# date = "2026-04-22" # 可选:替换 {{DATE}}
# main_language = "tsl" # 可选:覆盖 {{MAIN_LANGUAGE}}
[sync_prompts]
# 同步 docs/prompts/(配置节存在即启用)
@@ -33,7 +31,6 @@
# force = false # 可选:覆盖已有文件(会先备份)
# no_backup = false # 可选:跳过备份
# date = "2026-04-22" # 可选:替换 {{DATE}}
# main_language = "tsl" # 可选:覆盖 {{MAIN_LANGUAGE}}
[sync_standards]
# langs = ["tsl", "cpp", "typescript"] # 必填:要同步的语言
@@ -44,6 +41,7 @@
# mode = "list" # list|all
# skills = ["brainstorming"] # mode=list 时必填
# agents_home = "~/.agents" # 可选:默认 ~/.agents
# no_backup = false # 可选:跳过备份,直接删除旧 skill 后重装
[format_md]
# tool = "prettier" # 仅支持 prettier