Skip to content

Commit 3cc8b0c

Browse files
gershamclaude
andcommitted
Tell agents to read error.detail and error.hint on every failure
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 85b0180 commit 3cc8b0c

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

‎plugins/screenrig/skills/screenrig/SKILL.md‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,8 +405,10 @@ compatible explicit choice. Use `--human` only for manual inspection, never
405405
together with `--json`. Help and bare command groups are readable by default;
406406
`--json --help` returns structured help. Progress stays on stderr; parse stdout
407407
separately. `events follow` emits one JSON envelope per line (NDJSON).
408-
Branch on `ok`, `error.status`, `error.code` and `warnings[].code`,
409-
not prose. Follow an applicable `error.next.command` without inventing flags,
408+
Branch on `ok`, `error.status`, `error.code` and `warnings[].code`.
409+
On any failure, read `error.detail` (what was wrong, specifically) and
410+
`error.hint` (what to do about it) before deciding the next step, and pass the
411+
gist to the user when they need to act. Follow an applicable `error.next.command` without inventing flags,
410412
except do not follow a connect or dashboard next-step on first setup unless the
411413
user said this installation should join an existing screenRIG project.
412414
Revision guards are optional for most writes: omit `--expect-rev` to write the

‎skills/screenrig/SKILL.md‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,8 +405,10 @@ compatible explicit choice. Use `--human` only for manual inspection, never
405405
together with `--json`. Help and bare command groups are readable by default;
406406
`--json --help` returns structured help. Progress stays on stderr; parse stdout
407407
separately. `events follow` emits one JSON envelope per line (NDJSON).
408-
Branch on `ok`, `error.status`, `error.code` and `warnings[].code`,
409-
not prose. Follow an applicable `error.next.command` without inventing flags,
408+
Branch on `ok`, `error.status`, `error.code` and `warnings[].code`.
409+
On any failure, read `error.detail` (what was wrong, specifically) and
410+
`error.hint` (what to do about it) before deciding the next step, and pass the
411+
gist to the user when they need to act. Follow an applicable `error.next.command` without inventing flags,
410412
except do not follow a connect or dashboard next-step on first setup unless the
411413
user said this installation should join an existing screenRIG project.
412414
Revision guards are optional for most writes: omit `--expect-rev` to write the

0 commit comments

Comments
 (0)