Skip to content

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

docs: tighten hook links in worktrunk landing page (#2037)

Maximilian Roosc329cb23b2e5
diff --git a/README.md b/README.md
index 9237fadac..c81cb28a4 100644
--- a/README.md
+++ b/README.md
@@ -197,12 +197,12 @@ $ wt switch -x claude -c feature-b -- 'Fix the pagination bug'
$ wt switch -x claude -c feature-c -- 'Write tests for the API'
```
-The `-x` flag runs a command after switching; arguments after `--` are passed to it. Configure [post-start hooks](https://worktrunk.dev/hook/) to automate setup (install deps, start dev servers).
+The `-x` flag runs a command after switching; arguments after `--` are passed to it. Configure [post-start hooks](https://worktrunk.dev/hook/#pre-start-vs-post-start) to automate setup (install deps, start dev servers).
## Next steps
- Learn the core commands: [`wt switch`](https://worktrunk.dev/switch/), [`wt list`](https://worktrunk.dev/list/), [`wt merge`](https://worktrunk.dev/merge/), [`wt remove`](https://worktrunk.dev/remove/)
-- Set up [project hooks](https://worktrunk.dev/hook/) for automated setup
+- Set up [hooks](https://worktrunk.dev/hook/) for automated setup
- Explore [LLM commit messages](https://worktrunk.dev/llm-commits/), [interactive
picker](https://worktrunk.dev/switch/#interactive-picker), [Claude Code integration](https://worktrunk.dev/claude-code/), [CI
status & PR links](https://worktrunk.dev/list/#ci-status)
diff --git a/docs/content/worktrunk.md b/docs/content/worktrunk.md
index f52586ff9..fb41f18b0 100644
--- a/docs/content/worktrunk.md
+++ b/docs/content/worktrunk.md
@@ -191,12 +191,12 @@ For parallel agents, create multiple worktrees and launch an agent in each:
{{ terminal(cmd="wt switch -x claude -c feature-a -- 'Add user authentication'|||wt switch -x claude -c feature-b -- 'Fix the pagination bug'|||wt switch -x claude -c feature-c -- 'Write tests for the API'") }}
-The `-x` flag runs a command after switching; arguments after `--` are passed to it. Configure [post-start hooks](@/hook.md) to automate setup (install deps, start dev servers).
+The `-x` flag runs a command after switching; arguments after `--` are passed to it. Configure [post-start hooks](@/hook.md#pre-start-vs-post-start) to automate setup (install deps, start dev servers).
## Next steps
- Learn the core commands: [`wt switch`](@/switch.md), [`wt list`](@/list.md), [`wt merge`](@/merge.md), [`wt remove`](@/remove.md)
-- Set up [project hooks](@/hook.md) for automated setup
+- Set up [hooks](@/hook.md) for automated setup
- Explore [LLM commit messages](@/llm-commits.md), [interactive
picker](@/switch.md#interactive-picker), [Claude Code integration](@/claude-code.md), [CI
status & PR links](@/list.md#ci-status)
diff --git a/skills/worktrunk/reference/worktrunk.md b/skills/worktrunk/reference/worktrunk.md
index d784c9931..681b96638 100644
--- a/skills/worktrunk/reference/worktrunk.md
+++ b/skills/worktrunk/reference/worktrunk.md
@@ -173,12 +173,12 @@ $ wt switch -x claude -c feature-b -- 'Fix the pagination bug'
$ wt switch -x claude -c feature-c -- 'Write tests for the API'
```
-The `-x` flag runs a command after switching; arguments after `--` are passed to it. Configure [post-start hooks](https://worktrunk.dev/hook/) to automate setup (install deps, start dev servers).
+The `-x` flag runs a command after switching; arguments after `--` are passed to it. Configure [post-start hooks](https://worktrunk.dev/hook/#pre-start-vs-post-start) to automate setup (install deps, start dev servers).
## Next steps
- Learn the core commands: [`wt switch`](https://worktrunk.dev/switch/), [`wt list`](https://worktrunk.dev/list/), [`wt merge`](https://worktrunk.dev/merge/), [`wt remove`](https://worktrunk.dev/remove/)
-- Set up [project hooks](https://worktrunk.dev/hook/) for automated setup
+- Set up [hooks](https://worktrunk.dev/hook/) for automated setup
- Explore [LLM commit messages](https://worktrunk.dev/llm-commits/), [interactive
picker](https://worktrunk.dev/switch/#interactive-picker), [Claude Code integration](https://worktrunk.dev/claude-code/), [CI
status & PR links](https://worktrunk.dev/list/#ci-status)