CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

no-unchecked-indexed-access

Use when auditing tsconfig.json for missing safety flags, reviewing code that uses array index access in data processing pipelines, or investigating runtime undefined errors that TypeScript did not catch.

Quality

66%

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

Fix and improve this skill with Tessl

tessl review fix ./skills/no-unchecked-indexed-access/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

57%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 lean, well-structured overview with exemplary progressive disclosure — the split between SKILL.md summary and references/rule.md detail is exactly right. Its weaknesses are the duplicated motivation content in the intro/Quick Reference and the absence of any executable snippet or post-fix validation step (e.g., re-run tsc) in the body itself.

Suggestions

Remove the redundancy between the intro paragraph and the 'Quick Reference' bullets — keep one statement of what the flag changes, since Claude already knows TypeScript's default indexing behavior.

Add a validation checkpoint to the workflow, e.g., after enabling the flag and updating accesses, run `npx tsc --noEmit` and only consider the fix complete when it passes.

Inline one minimal executable artifact in the Fix section — the two-line tsconfig.json compilerOptions edit or a single before/after optional-chaining example — so the body is self-sufficient for the common case.

DimensionReasoningScore

Conciseness

The intro paragraph explains TypeScript's default indexing behavior — a concept Claude already knows — and the 'Quick Reference' bullets ('array[0] is typed as T even if the array is empty', 'changes array[n] to return T | undefined') largely restate that same paragraph, creating noticeable duplication. This matches 'mostly efficient but includes some unnecessary explanation or could be tightened'; it is not a 2 because the Check/Fix/Explain/Code Review sections are tight and earn their place.

3 / 5

Actionability

Guidance like 'Check whether noUncheckedIndexedAccess is enabled in the project's tsconfig.json' and 'update any array index accesses that TypeScript now flags to include an explicit undefined check or use optional chaining' is directionally concrete, but the body contains no executable artifact: no tsconfig.json snippet, no before/after fix example, and no concrete optional-chaining pattern — those live only in references/rule.md. This lands on 'some concrete guidance but incomplete; missing key details'.

3 / 5

Workflow Clarity

The Check → Fix → Explain → Code Review sections give a present, coherent sequence (check the flag, scan accesses, enable it, update flagged sites), but there is no validation checkpoint — nothing instructs running tsc after enabling the flag or confirming the project compiles after the batch of fixes. That matches 'steps listed but validation gaps; sequence present but checkpoints missing or implicit'.

3 / 5

Progressive Disclosure

The body is a short, well-organized overview with clear sections, and it cleanly defers 'full implementation details, code examples, and framework-specific guidance' to references/rule.md — a single, clearly signaled, one-level-deep reference that exists in the bundle and contains exactly that material. This matches the anchor 'clear overview with well-signaled one-level-deep references; content appropriately split; easy navigation'.

5 / 5

Total

14

/

20

Passed

Description

61%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 well-targeted description with concrete, distinctive trigger scenarios and good natural keyword coverage, but it is structurally incomplete: it is all 'when' and no 'what', never stating the skill's actual capability (enabling noUncheckedIndexedAccess and fixing flagged accesses). Adding a leading capability statement would raise completeness substantially.

Suggestions

Lead with a capability statement before the triggers, e.g., 'Enables the noUncheckedIndexedAccess compiler flag in tsconfig.json and updates flagged array/object index accesses with explicit undefined checks. Use when...'.

Add common failure-phrase synonyms users encounter, such as 'out-of-bounds', 'TypeError', or "cannot read properties of undefined", to strengthen trigger term coverage.

State the primary artifact the skill modifies (tsconfig.json compilerOptions) explicitly as an action rather than only as an audit target.

DimensionReasoningScore

Specificity

The description lists several concrete, domain-anchored actions — 'auditing tsconfig.json for missing safety flags', 'reviewing code that uses array index access in data processing pipelines', 'investigating runtime undefined errors' — which matches the 'lists several specific actions; minor gaps in coverage' anchor. It is not a 5 because the actions are usage contexts rather than the skill's actual capabilities (e.g., enabling noUncheckedIndexedAccess and fixing flagged accesses are never stated).

4 / 5

Completeness

The description consists entirely of 'Use when...' trigger clauses; the 'when' is explicit and multi-scenario, but the 'what' — what the skill actually does (enable the flag, update flagged accesses) — is never stated, matching the anchor 'only when is present without what'. It is above a 1 only because the gerund phrases ('auditing', 'reviewing', 'investigating') weakly imply the skill's actions, but scoring only what is explicit, no capability statement exists.

2 / 5

Trigger Term Quality

It includes natural terms users would plausibly say — 'tsconfig.json', 'array index access', 'runtime undefined errors', 'TypeScript' — giving good keyword coverage. Not a 5 because common synonyms users actually encounter are missing, such as 'out-of-bounds', 'TypeError', "cannot read properties of undefined", or 'strict mode'.

4 / 5

Distinctiveness Conflict Risk

It carves out a clear niche with distinct triggers — TypeScript tsconfig safety-flag auditing, array index access review, TypeScript-eluded undefined errors — with minimal overlap risk against generic linting or JavaScript skills. No neighboring anchor fits better; the specificity of the trigger terms keeps conflict risk minimal.

5 / 5

Total

15

/

20

Passed

Validation

93%

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

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

Total

15

/

16

Passed

Repository

thedaviddias/Front-End-Checklist

Path

skills/no-unchecked-indexed-access/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.