CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

iii-error-handling

This skill explains iii error codes across engine, observer, and SDK surfaces, with examples for Node, Python, Rust, and browser workers. It gives guidance for diagnosing failures, handling RBAC denials and timeouts, and retrying only when appropriate, while defining boundaries for related topics.

Quality

85%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

75%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A high-quality reference skill: dense, iii-specific lookup tables with concrete per-code handling, executable code for three SDKs, and explicit retry decision rules, all free of padding. The main improvement opportunities are trimming the overloaded table cells, adding a Browser code example, and making the diagnostic sequence explicit.

Suggestions

Tighten the overloaded table cells (e.g., `OBSERVER_ID_CONFLICT`, `STREAM_ABORTED`) by moving the multi-sentence restart/grace-period and stream-failure rules into the section prose or deferring them to `iii-observe`, keeping one-line handling guidance in the table.

Add a short Browser code example (mirroring the Node `instanceof InvocationError` pattern) so all four claimed SDK surfaces have executable guidance.

State the diagnostic sequence explicitly at the top — classify the error (SDK-local vs engine), branch on the exact code, apply the table's handling, then apply the Retryability rules — instead of relying on section order to convey the flow.

DimensionReasoningScore

Conciseness

The body is dense iii-specific reference material with no explanations of concepts Claude already knows — "Branch on exact `code` strings" and the per-code handling table earn their tokens. It is not a 5 because cells like `OBSERVER_ID_CONFLICT` and `STREAM_ABORTED` pack multi-sentence rule sets into table cells and could be tightened.

4 / 5

Actionability

The Node, Python, and Rust sections give complete, executable branch-on-code examples (`error instanceof InvocationError && error.code === 'FORBIDDEN'`, `exc.code in ("TIMEOUT", "timeout")`), and handling entries cite concrete commands (`engine::functions::list`, `CallAction.Enqueue({ queue })`, `tee()`). It falls short of anchor 5 only because the Browser section is prose guidance with no code example.

4 / 5

Workflow Clarity

The core diagnostic instruction is unambiguous ("Agents should branch on the error code instead of matching only message strings") and Retryability gives explicit decision rules ("Retry transient `TIMEOUT`... only when the operation is idempotent", "Do not retry `FORBIDDEN` without changing auth/policy"). No destructive or batch operations exist, so no validation cap applies, but the diagnose-first sequence (classify error class → look up code → apply handling → apply retry rule) is implied by section order rather than stated as a flow, keeping it below anchor 5.

4 / 5

Progressive Disclosure

Sections are well organized and "Pattern Boundaries" cleanly defers detail to sibling skills ("For observer states, filters, and observer hooks, prefer `iii-observe`"); with no bundle files present, the inline error-code table is the appropriate core runtime content. The minor gap is that the very detailed `OBSERVER_ID_CONFLICT` material duplicates content the body itself assigns to `iii-observe`.

4 / 5

Total

16

/

20

Passed

Description

87%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: third-person, concise, with an explicit 'Use when...' clause carrying concrete, domain-specific triggers and clear platform coverage. Its only weakness is that the capability side rests on the single generic verb 'Handle' supported by an enumeration of situations rather than distinct actions.

DimensionReasoningScore

Specificity

"Handle iii engine and SDK errors across Node, Python, Rust, and browser workers" names the domain and platforms, and the enumeration "error codes, retryability, RBAC denial, timeouts, handler failures, or SDK-specific exception surfaces" lists several specific capabilities with minor gaps. It is not a 5 because the single verb "Handle" is generic and the enumerated items are trigger situations rather than multiple distinct concrete actions.

4 / 5

Completeness

It explicitly answers both: "Handle iii engine and SDK errors across Node, Python, Rust, and browser workers" (what) and "Use when interpreting error codes, retryability, RBAC denial, timeouts, handler failures, or SDK-specific exception surfaces" (when, with concrete trigger phrases). This matches the anchor-5 example structure exactly; anchor 4 would require a less explicit or less specific 'when' clause.

5 / 5

Trigger Term Quality

Natural terms like "error codes", "timeouts", "retryability", "RBAC denial", and "handler failures" match what a user hitting an iii failure would actually say. Coverage is good but not comprehensive — common variations such as "exception handling" or "failed invocations" are absent, placing it below the anchor-5 synonym-complete example.

4 / 5

Distinctiveness Conflict Risk

"iii engine and SDK errors" plus iii-specific triggers ("RBAC denial", "SDK-specific exception surfaces") establish a clear niche with distinct triggers and minimal conflict risk beyond the intended iii skill family. It fits anchor 5 rather than anchor 4 because the scope is tightly bound to the iii platform rather than merely 'mostly distinct'.

5 / 5

Total

18

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

iii-hq/iii

Path

skills/iii-error-handling/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.