Skip to content

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

chore: Exclude plugin README from lychee link checking

Maximilian Roos8721fb35ba34
diff --git a/.claude-plugin/skills/worktrunk/README.md b/.claude-plugin/skills/worktrunk/README.md
index 14b59edd0..b12aa6ecb 100644
--- a/.claude-plugin/skills/worktrunk/README.md
+++ b/.claude-plugin/skills/worktrunk/README.md
@@ -104,7 +104,7 @@ Set up LLM integration: run `wt config --help` to see the setup guide, or `wt co
Worktrunk uses [minijinja templates](https://docs.rs/minijinja/latest/minijinja/syntax/index.html) for commit message prompts. Customize the prompts by setting `template` (inline) or `template-file` (external file) in the `[commit-generation]` section. Use `squash-template` / `squash-template-file` for squash commits.
-See [`config.example.toml`](../../../config.example.toml) for complete template examples with all available variables (`git_diff`, `branch`, `recent_commits`, `commits`, `target_branch`, `repo`).
+See [`config.example.toml`](config.example.toml) for complete template examples with all available variables (`git_diff`, `branch`, `recent_commits`, `commits`, `target_branch`, `repo`).
</details>
@@ -398,7 +398,7 @@ Claude Code can automatically set/clear emoji status when coding sessions start
**Easy setup:** The Worktrunk repository includes a `.claude-plugin` directory with pre-configured hooks. If you're working in this repository, the hooks are automatically available.
-**Manual setup for other repositories:** Copy the hooks from [`.claude-plugin/hooks/hooks.json`](../../hooks/hooks.json) to your `~/.claude/settings.json`.
+**Manual setup for other repositories:** Copy the hooks from [`.claude-plugin/hooks/hooks.json`](.claude-plugin/hooks/hooks.json) to your `~/.claude/settings.json`.
Now when you use Claude:
@@ -448,7 +448,7 @@ git config --worktree --unset worktrunk.status
**Claude Code hooks for per-worktree:**
-Copy the hooks from [`.claude-plugin/hooks/hooks.worktree.json`](../../hooks/hooks.worktree.json) to your `~/.claude/settings.json`.
+Copy the hooks from [`.claude-plugin/hooks/hooks.worktree.json`](.claude-plugin/hooks/hooks.worktree.json) to your `~/.claude/settings.json`.
**Priority:** Worktree-specific config takes precedence over branch-keyed config when both exist.
diff --git a/.config/lychee.toml b/.config/lychee.toml
index 41e4b5db6..f20da6f8b 100644
--- a/.config/lychee.toml
+++ b/.config/lychee.toml
@@ -32,3 +32,8 @@ exclude = [
"~opensource\\.org",
"~llm\\.datasette\\.io",
]
+
+# Exclude files with relative paths intended for different locations
+exclude_path = [
+ ".claude-plugin/skills/worktrunk/README.md",
+]
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 3b5dd44a9..76490ed2c 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -31,6 +31,7 @@ repos:
- id: lychee
name: lychee (PR mode)
types: [markdown]
+ exclude: ^\.claude-plugin/skills/worktrunk/README\.md$
args:
- --include=^(https://(github\.com/worktrunk|worktrunk\.dev)|file://)
- --no-progress
@@ -39,6 +40,7 @@ repos:
- id: lychee
name: lychee-all (comprehensive)
types: [markdown]
+ exclude: ^\.claude-plugin/skills/worktrunk/README\.md$
stages: [manual]
args:
- --config=.config/lychee.toml