Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

docs: add config example file guidance to Documentation section (#1829)

Maximilian Roos001927e11db1
diff --git a/CLAUDE.md b/CLAUDE.md
index 1612329ed..9691fbcbe 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -114,6 +114,7 @@ When changing:
- Detection logic
- CLI flags or their defaults
- Error conditions or messages
+- Config fields or sections — also update `dev/*.example.toml` (these are embedded in CLI help via `include_str!`, so stale examples propagate to docs and snapshots)
Ask: "Does `--help` still describe what the code does?" If not, update `src/cli/mod.rs` first.
@@ -123,6 +124,8 @@ Documentation has three categories:
1. **Command pages** (config, hook, list, merge, remove, step, switch):
```
+ dev/*.example.toml (included via include_str!)
+ ↓
src/cli/mod.rs (PRIMARY SOURCE)
↓ test_command_pages_and_skill_files_are_in_sync
docs/content/{command}.md → skills/worktrunk/reference/{command}.md