Skip to content

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

Configure pre-commit markdown link check

Maximilian Roos5edfd4755550
diff --git a/.claude-plugin/hooks/hooks.json b/.claude-plugin/hooks/hooks.json
index 61090b53a..dde4059bd 100644
--- a/.claude-plugin/hooks/hooks.json
+++ b/.claude-plugin/hooks/hooks.json
@@ -10,7 +10,7 @@
]
}
],
- "Stop": [
+ "Notification": [
{
"matcher": "",
"hooks": [
diff --git a/.markdown-link-check.json b/.markdown-link-check.json
new file mode 100644
index 000000000..7451b22f4
--- /dev/null
+++ b/.markdown-link-check.json
@@ -0,0 +1,7 @@
+{
+ "ignorePatterns": [
+ {
+ "pattern": "^https://crates\\.io/crates/worktrunk$"
+ }
+ ]
+}
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index ed1b609ad..750342f3e 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -30,6 +30,7 @@ repos:
- id: markdown-link-check
name: markdown-link-check
types: [markdown]
+ args: ["--config", ".markdown-link-check.json"]
- repo: local
hooks:
- id: no-dbg
diff --git a/README.md b/README.md
index 4885f7c1b..e0c3c4543 100644
--- a/README.md
+++ b/README.md
@@ -444,7 +444,7 @@ git clone https://github.com/max-sixty/worktrunk.git worktrunk-skills
]
}
],
- "Stop": [
+ "Notification": [
{
"matcher": "",
"hooks": [
@@ -473,7 +473,7 @@ git clone https://github.com/max-sixty/worktrunk.git worktrunk-skills
Now when you use Claude:
- Sets status to `🤖` for the current branch when you submit a prompt (working)
-- Changes to `💬` when Claude returns a response (ready for your input)
+- Changes to `💬` when Claude needs your input (waiting for permission or idle)
- Clears the status completely when the session ends
**Status from other terminal:**
@@ -485,7 +485,7 @@ Branch Status Working ± Path
main ./myapp/
feature-x ↑!🤖 +5 -2 ./myapp.feature-x/
-# After Claude responds (waiting for your input)
+# When Claude needs your input (permission or idle)
$ wt list
Branch Status Working ± Path
main ./myapp/