CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

correctness-and-error-handling

MUST be used whenever fixing correctness and error handling issues in a Flows app. This skill finds AND fixes bugs, missing error states, unhandled rejections, and edge-case failures — it does not just report them. Triggers: correctness, error handling, bug fix, edge case, crash, unhandled, null, undefined, empty state, loading state, error boundary, try catch, async error, useEffect cleanup, type guard, runtime error, robustness.

67

Quality

84%

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

68%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 highly actionable, well-structured fix-it skill: concrete grep searches paired with concrete fixes, ordered states, and an explicit reporting format. Its main gaps are the absence of any post-fix verification step despite making batch edits, repeated per-step boilerplate, and placeholder identifiers in some fix snippets.

Suggestions

Add a final verification step (e.g., run typecheck/build/tests after applying fixes, and re-run the step's grep to confirm zero remaining matches) so the batch-edit workflow has a validation checkpoint.

Deduplicate the repeated 'read each file, apply the fix, write it back' instruction by stating it once near the top and trimming emphatic filler like 'Do not just suggest it — make the edit'.

Define or source the placeholder components used in fix snippets (<Spinner />, <ErrorMessage>) — e.g., include a minimal fallback implementation — so the fixes are fully copy-paste ready.

DimensionReasoningScore

Conciseness

The body is efficient — every step is grep commands plus fix patterns with no teaching of concepts Claude already knows — but the boilerplate "Read each file, make the edit, and write it back" / "Read, fix, and write each file" repeats across ~6 steps and "Do not just suggest it — make the edit" is padding, so it falls just short of the lean anchor.

4 / 5

Actionability

Grep commands and most fix code are concrete and executable, but several snippets rely on undefined placeholders (<Spinner />, <ErrorMessage error={error} />, fetchWithSignal, isValidShape(parsed), defaultValue) that are not copy-paste ready — minor gaps rather than fully executable throughout.

4 / 5

Workflow Clarity

The 9-step search→fix→report sequence is clear and even forbids skipping steps silently, but this skill performs batch edits across an entire app with no validation or verification checkpoint (no typecheck, build, or test run after fixes). Per the rubric, a batch workflow without validation is capped at 3.

3 / 5

Progressive Disclosure

No bundle files exist and the body is monolithic, but it is well-sectioned (numbered steps, state tables, per-pattern code blocks) and easy to navigate. The fix-pattern catalogs could arguably be split into reference files, which keeps it below the clear-overview-with-references anchor.

4 / 5

Total

15

/

20

Passed

Description

96%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 voice, explicit what-and-when, comprehensive natural trigger terms, and domain scoping. Its only weakness is that several trigger terms are generic enough to overlap with adjacent fix/testing skills.

DimensionReasoningScore

Specificity

"finds AND fixes bugs, missing error states, unhandled rejections, and edge-case failures" lists multiple concrete actions with comprehensive coverage of the correctness/error-handling domain, matching the top anchor rather than the 'minor gaps' level below.

5 / 5

Completeness

Both questions are answered explicitly: the 'what' ("finds AND fixes bugs, missing error states, unhandled rejections, and edge-case failures") and the 'when' ("MUST be used whenever fixing correctness and error handling issues in a Flows app" plus a dedicated Triggers list).

5 / 5

Trigger Term Quality

The explicit trigger list ("bug fix, edge case, crash, unhandled, null, undefined, empty state, loading state, error boundary, try catch, async error, useEffect cleanup, type guard, runtime error, robustness") comprehensively covers natural terms, synonyms, and framework-specific phrases users would actually say.

5 / 5

Distinctiveness Conflict Risk

Scoping to "a Flows app" with React/CDF-specific triggers (error boundary, useEffect cleanup) makes it mostly distinct, but broadly applicable terms like "correctness", "bug fix", "null", and "undefined" carry some overlap risk with general debugging or testing skills.

4 / 5

Total

19

/

20

Passed

Validation

87%

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

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

allowed_tools_field

'allowed-tools' contains unusual tool name(s)

Warning

metadata_version

'metadata.version' is missing

Warning

Total

14

/

16

Passed

Repository

cognitedata/builder-skills

Path

skills/correctness-and-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.