playbook/playbook.toml.example

47 lines
2.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# playbook.toml (example)
# 配置文件所在目录默认作为 project_root。
[playbook]
# project_root = "." # 可选:目标项目根目录
# playbook_root = "docs/standards/playbook" # 项目内 Playbook 根;相对于 project_root不是外部 clone 的 playbook 路径
# install_mode = "subtree" # subtree|snapshotsubtree 表示已在项目内snapshot 表示从外部 clone 安装快照
# claude_md = "CLAUDE.md" # 可选CLAUDE.md 位置(默认自动检测:根目录 → .claude/CLAUDE.md → 自动创建)
[sync_rules]
# 同步 AGENT_RULES.md配置节存在即启用
# force = false # 可选:覆盖已有文件
# no_backup = false # 可选:跳过备份
# date = "2026-04-22" # 可选:替换 {{DATE}}
[sync_memory_bank]
# 同步 memory-bank/(配置节存在即启用)
# 只更新框架提供的文件,项目新增的文件不会被删除
# ⚠️ force=true 会覆盖已填写的项目信息(自动备份)
# project_name = "MyProject" # 可选:替换 {{PROJECT_NAME}}
# force = false # 可选:覆盖已有文件(会先备份)
# no_backup = false # 可选:跳过备份
# date = "2026-04-22" # 可选:替换 {{DATE}}
[sync_prompts]
# 同步 docs/prompts/(配置节存在即启用)
# 只更新框架提供的文件,项目新增的文件不会被删除
# force = false # 可选:覆盖已有文件(会先备份)
# no_backup = false # 可选:跳过备份
# date = "2026-04-22" # 可选:替换 {{DATE}}
[sync_standards]
# langs = ["tsl", "cpp", "typescript"] # 必填:要同步的语言
# gitattr_mode = "append" # append(补全缺失)|overwrite(覆盖)|block(插入块)|skip(跳过)
# no_backup = false # 可选:跳过备份(.agents/.gitattributes
[install_skills]
# mode = "list" # list|all
# skills = ["brainstorming"] # mode=list 时必填
# agents_home = "~/.agents" # 部署目标Codex CLI 用 "~/.agents"Claude Code 用 "~/.claude";默认 ~/.agents
# skill_link = "~/.claude" # 可选:在此目录下创建 skills/ 软链接指向 agents_home/skills/
# no_backup = false # 可选:跳过备份,直接删除旧 skill 后重装
[format_md]
# tool = "prettier" # 仅支持 prettier
# globs = ["**/*.md"] # 可选:默认全量 Markdown