Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
docs: describe the squash fallback message and detect OpenCode in the skill (#4510)
Worktrunk Botdb2641148f97
diff --git a/docs/public/.well-known/agent-skills/index.json b/docs/public/.well-known/agent-skills/index.jsonindex 7bd713b6e..ef0f3f7dd 100644--- a/docs/public/.well-known/agent-skills/index.json+++ b/docs/public/.well-known/agent-skills/index.json@@ -6,7 +6,7 @@"type": "skill-md","description": "Guidance for Worktrunk (the `wt` CLI) — git worktree management, hooks, and config. Load when working out which worktree a `wt` command will act on, or reaching for the global `-C <path>` to target one; editing .config/wt.toml or ~/.config/worktrunk/config.toml; adding, modifying, or debugging hooks (post-merge, post-start, pre-commit, pre-merge, post-switch, etc.); configuring commit message generation or command aliases; or troubleshooting wt behavior. Also answers general worktrunk/wt questions.","url": "./worktrunk/SKILL.md",- "digest": "sha256:62f15124703137fac06dc37179c2325374fae6d99f6b7dad7ffd5031feaf0119"+ "digest": "sha256:0176c949c0b9fd4ef0b1279bfa3b6bb9eecde07e0b520fb3b4c128f0ce965506"}]}diff --git a/docs/src/content/docs/llm-commits.md b/docs/src/content/docs/llm-commits.mdindex e598157a7..19d3fa4b1 100644--- a/docs/src/content/docs/llm-commits.md+++ b/docs/src/content/docs/llm-commits.md@@ -224,4 +224,4 @@ Custom user templates that don't reference `{{ user_guidance }}` / `{{ project_g## Fallback behavior-When no LLM is configured, worktrunk generates deterministic messages based on changed filenames (e.g., "Changes to auth.rs & config.rs").+When no LLM is configured, worktrunk generates deterministic messages: commits name the changed files (e.g., "Changes to auth.rs & config.rs"), and squashes get the subject `Squash commits from <branch>` with the combined commits listed in the body.diff --git a/plugins/worktrunk/skills/worktrunk/SKILL.md b/plugins/worktrunk/skills/worktrunk/SKILL.mdindex c8d5b4b50..73c127d8d 100644--- a/plugins/worktrunk/skills/worktrunk/SKILL.md+++ b/plugins/worktrunk/skills/worktrunk/SKILL.md@@ -55,7 +55,7 @@ Some requests span both: commit-message generation is user config, while the tea### Setting up commit message generation (user config)-Detect which tools are installed (`which claude codex llm aichat`); if none, recommend Claude Code. Take the exact command for the chosen tool from `reference/llm-commits.md`, propose the `[commit.generation]` change, and apply it after approval (`wt config create` first if no config exists). To verify, `wt step commit --dry-run` renders the prompt, runs the LLM, and prints the message without committing.+Detect which tools are installed (`which claude codex opencode llm aichat`); if none, recommend Claude Code. Take the exact command for the chosen tool from `reference/llm-commits.md`, propose the `[commit.generation]` change, and apply it after approval (`wt config create` first if no config exists). To verify, `wt step commit --dry-run` renders the prompt, runs the LLM, and prints the message without committing.### Configuring project hooksdiff --git a/plugins/worktrunk/skills/worktrunk/reference/llm-commits.md b/plugins/worktrunk/skills/worktrunk/reference/llm-commits.mdindex b27fb908a..c1c135782 100644--- a/plugins/worktrunk/skills/worktrunk/reference/llm-commits.md+++ b/plugins/worktrunk/skills/worktrunk/reference/llm-commits.md@@ -200,4 +200,4 @@ Custom user templates that don't reference `{{ user_guidance }}` / `{{ project_g## Fallback behavior-When no LLM is configured, worktrunk generates deterministic messages based on changed filenames (e.g., "Changes to auth.rs & config.rs").+When no LLM is configured, worktrunk generates deterministic messages: commits name the changed files (e.g., "Changes to auth.rs & config.rs"), and squashes get the subject `Squash commits from <branch>` with the combined commits listed in the body.diff --git a/plugins/worktrunk/skills/worktrunk/reference/troubleshooting.md b/plugins/worktrunk/skills/worktrunk/reference/troubleshooting.mdindex d4bfd15a6..e137a5c12 100644--- a/plugins/worktrunk/skills/worktrunk/reference/troubleshooting.md+++ b/plugins/worktrunk/skills/worktrunk/reference/troubleshooting.md@@ -10,7 +10,7 @@ Check if the configured tool is installed:```bashwt config show # shows the configured command-which claude # or: which codex, which llm, which aichat+which claude # or: which codex, which opencode, which llm, which aichat```If empty, install one of the supported tools. See [LLM commits docs](https://worktrunk.dev/llm-commits/) for setup instructions.diff --git a/skills/worktrunk/SKILL.md b/skills/worktrunk/SKILL.mdindex c8d5b4b50..73c127d8d 100644--- a/skills/worktrunk/SKILL.md+++ b/skills/worktrunk/SKILL.md@@ -55,7 +55,7 @@ Some requests span both: commit-message generation is user config, while the tea### Setting up commit message generation (user config)-Detect which tools are installed (`which claude codex llm aichat`); if none, recommend Claude Code. Take the exact command for the chosen tool from `reference/llm-commits.md`, propose the `[commit.generation]` change, and apply it after approval (`wt config create` first if no config exists). To verify, `wt step commit --dry-run` renders the prompt, runs the LLM, and prints the message without committing.+Detect which tools are installed (`which claude codex opencode llm aichat`); if none, recommend Claude Code. Take the exact command for the chosen tool from `reference/llm-commits.md`, propose the `[commit.generation]` change, and apply it after approval (`wt config create` first if no config exists). To verify, `wt step commit --dry-run` renders the prompt, runs the LLM, and prints the message without committing.### Configuring project hooksdiff --git a/skills/worktrunk/reference/llm-commits.md b/skills/worktrunk/reference/llm-commits.mdindex b27fb908a..c1c135782 100644--- a/skills/worktrunk/reference/llm-commits.md+++ b/skills/worktrunk/reference/llm-commits.md@@ -200,4 +200,4 @@ Custom user templates that don't reference `{{ user_guidance }}` / `{{ project_g## Fallback behavior-When no LLM is configured, worktrunk generates deterministic messages based on changed filenames (e.g., "Changes to auth.rs & config.rs").+When no LLM is configured, worktrunk generates deterministic messages: commits name the changed files (e.g., "Changes to auth.rs & config.rs"), and squashes get the subject `Squash commits from <branch>` with the combined commits listed in the body.diff --git a/skills/worktrunk/reference/troubleshooting.md b/skills/worktrunk/reference/troubleshooting.mdindex d4bfd15a6..e137a5c12 100644--- a/skills/worktrunk/reference/troubleshooting.md+++ b/skills/worktrunk/reference/troubleshooting.md@@ -10,7 +10,7 @@ Check if the configured tool is installed:```bashwt config show # shows the configured command-which claude # or: which codex, which llm, which aichat+which claude # or: which codex, which opencode, which llm, which aichat```If empty, install one of the supported tools. See [LLM commits docs](https://worktrunk.dev/llm-commits/) for setup instructions.