You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-24Lines changed: 12 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,11 +67,20 @@ git diff --no-color | hunk patch - # review a patch from stdin
67
67
68
68
### Working with agents
69
69
70
-
Load the [`skills/hunk-review/SKILL.md`](skills/hunk-review/SKILL.md) skill in your coding agent (e.g. Claude, Codex, Opencode, Pi).
70
+
1. Open Hunk in another terminal with `hunk diff` or `hunk show`.
71
+
2. Load the Hunk review skill: [`skills/hunk-review/SKILL.md`](skills/hunk-review/SKILL.md).
72
+
3. Ask your agent to use the skill against the live Hunk session.
71
73
72
-
You can get the absolute path to the skill file from your local install by running `hunk skill path`. Prefer loading or symlinking that file in your agent instead of copying it so Hunk upgrades stay in sync automatically.
74
+
A good generic prompt is:
75
+
76
+
```text
77
+
Load the Hunk skill and use it for this review.
78
+
```
73
79
74
-
Open Hunk in another window, then ask your agent to leave comments. For the full live-session and `--agent-context` workflow guide, see [docs/agent-workflows.md](docs/agent-workflows.md).
80
+
> [!NOTE]
81
+
> `hunk skill path` lands in Hunk 0.10.0. Until that release is out, load the skill from the repo path above.
82
+
83
+
For the full live-session and `--agent-context` workflow guide, see [docs/agent-workflows.md](docs/agent-workflows.md).
0 commit comments