Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
docs(hook): promote Recipes to top-level H1 (#2351)
Maximilian Roos771918f29e60
diff --git a/docs/content/hook.md b/docs/content/hook.mdindex 75ae09220..de437f287 100644--- a/docs/content/hook.md+++ b/docs/content/hook.md@@ -259,7 +259,7 @@ Any `--KEY=VALUE` whose key isn't referenced by a hook template forwards into `{The long form `--var KEY=VALUE` is deprecated but still supported. It force-binds regardless of whether any hook template references `KEY` — useful when a template only references the key conditionally (e.g. `{% if override %}…{% endif %}`).-## Recipes+# Recipes- [Eliminate cold starts](@/tips-patterns.md#eliminate-cold-starts): `wt step copy-ignored` in `post-start` shares build caches and dependencies; use a `[[post-start]]` pipeline when a later hook depends on the copy- [Dev server per worktree](@/tips-patterns.md#dev-server-per-worktree): `hash_port` in `post-start` for launch and `post-remove` for cleanup, with optional subdomain routingdiff --git a/skills/worktrunk/reference/hook.md b/skills/worktrunk/reference/hook.mdindex 3d5567e0a..935079d72 100644--- a/skills/worktrunk/reference/hook.md+++ b/skills/worktrunk/reference/hook.md@@ -260,7 +260,7 @@ Any `--KEY=VALUE` whose key isn't referenced by a hook template forwards into `{The long form `--var KEY=VALUE` is deprecated but still supported. It force-binds regardless of whether any hook template references `KEY` — useful when a template only references the key conditionally (e.g. `{% if override %}…{% endif %}`).-## Recipes+# Recipes- [Eliminate cold starts](https://worktrunk.dev/tips-patterns/#eliminate-cold-starts): `wt step copy-ignored` in `post-start` shares build caches and dependencies; use a `[[post-start]]` pipeline when a later hook depends on the copy- [Dev server per worktree](https://worktrunk.dev/tips-patterns/#dev-server-per-worktree): `hash_port` in `post-start` for launch and `post-remove` for cleanup, with optional subdomain routingdiff --git a/src/cli/mod.rs b/src/cli/mod.rsindex 63290d8bf..e1576fd7d 100644--- a/src/cli/mod.rs+++ b/src/cli/mod.rs@@ -1401,7 +1401,7 @@ Any `--KEY=VALUE` whose key isn't referenced by a hook template forwards into `{The long form `--var KEY=VALUE` is deprecated but still supported. It force-binds regardless of whether any hook template references `KEY` — useful when a template only references the key conditionally (e.g. `{% if override %}…{% endif %}`).-## Recipes+# Recipes- [Eliminate cold starts](@/tips-patterns.md#eliminate-cold-starts): `wt step copy-ignored` in `post-start` shares build caches and dependencies; use a `[[post-start]]` pipeline when a later hook depends on the copy- [Dev server per worktree](@/tips-patterns.md#dev-server-per-worktree): `hash_port` in `post-start` for launch and `post-remove` for cleanup, with optional subdomain routing