CtrlK
BlogDocsLog inGet started
Tessl Logo

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.

55

Quality

62%

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

72%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.

The body is a lean, well-structured overview that delegates implementation detail to a single real reference file, scoring well on actionability and progressive disclosure. Its main weakness is implicit validation: the workflow never explicitly says to run the TypeScript compiler after enabling the flag or verify all flagged accesses are fixed. A minor dedup of the Quick Reference bullet and trailing URL would tighten it further.

Suggestions

Add an explicit verification step to the Fix section, e.g., 'After enabling the flag, run tsc and fix every newly flagged access before moving on.'

Remove the Quick Reference bullet that duplicates the intro paragraph (array[0] typed as T even when empty) and the trailing 'Rule page' URL that duplicates the frontmatter url.

DimensionReasoningScore

Conciseness

The ~45-line body is efficient and assumes TypeScript competence, but has minor redundancy: the first Quick Reference bullet ('array[0] is typed as T even if the array is empty') restates the intro paragraph, and the closing 'Rule page' URL duplicates the frontmatter url. Matches 'efficient; minor instances of over-explanation that could be trimmed'; not a 5 because of that duplicated content.

4 / 5

Actionability

Concrete, specific instruction guidance: 'Check whether noUncheckedIndexedAccess is enabled in the project's tsconfig.json', 'scan for array index accesses (arr[0], arr[i])', 'enable... then update any array index accesses that TypeScript now flags'. Per the instruction-skill scoring note the absent code is acceptable since the concrete examples are delegated to references/rule.md; minor gaps (no explicit tsc command in the body) keep it from 5.

4 / 5

Workflow Clarity

The Check → Fix → Explain → Code Review sequence is clear, but validation checkpoints are implicit only — there is no step to run tsc after enabling the flag, verify the build passes, or confirm all flagged accesses were updated. This matches 'steps listed but validation gaps; checkpoints missing or implicit'; not 4 because no checkpoint is ever made explicit.

3 / 5

Progressive Disclosure

A well-organized, under-50-line overview with a clearly signaled, one-level-deep pointer ('For full implementation details, code examples, and framework-specific guidance, see references/rule.md'), and the referenced file exists and contains exactly that material. Matches the clear-overview anchor, including the under-50-lines exception.

5 / 5

Total

16

/

20

Passed

Description

52%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.

The description has strong, natural trigger terms and a distinct technical niche, but it is purely a 'Use when' clause: it never says what the skill does, which caps its completeness and capability specificity. Adding a leading what-statement (e.g., 'Enables noUncheckedIndexedAccess and fixes flagged array index accesses') would lift two dimensions at once.

Suggestions

Prepend an explicit what-statement before the trigger clause, e.g., 'Enables the noUncheckedIndexedAccess flag in tsconfig.json and adds explicit undefined checks to array index accesses. Use when...' — this fixes the completeness gap.

Include the flag name 'noUncheckedIndexedAccess' and common user phrasings like 'out-of-bounds array access' or 'arr[0] is undefined' to broaden trigger-term coverage.

Narrow 'missing safety flags' to the specific flag so the description cannot collide with general tsconfig or strict-mode auditing skills.

DimensionReasoningScore

Specificity

Names the domain concretely ('auditing tsconfig.json for missing safety flags', 'array index access', 'runtime undefined errors') but never states what the skill actually does (enable noUncheckedIndexedAccess, fix flagged accesses). It lists usage scenarios rather than capabilities, matching 'names domain and 1-2 concrete actions, but not comprehensive'; not a 4 because the skill's own actions are absent.

3 / 5

Completeness

Only a 'when' is present — three trigger scenarios — with no statement of what the skill does. This matches the anchor 'only when is present without what' ('Use when working with documents'). It is not a 3 because there is no clear 'what' anywhere in the description, and the concrete-what phrasing only appears in the body, not the description.

2 / 5

Trigger Term Quality

Good natural keyword coverage: 'tsconfig.json', 'array index access', 'runtime undefined errors', 'TypeScript did not catch'. Missing common synonyms a user might say such as 'out of bounds', 'arr[0] is undefined', or 'optional chaining', so it falls short of the comprehensive-synonyms anchor at 5 but clearly above the midpoint.

4 / 5

Distinctiveness Conflict Risk

The combination of array index access, runtime undefined errors, and tsconfig safety-flag auditing carves a fairly distinct niche with low conflict risk. Minor overlap remains with general TypeScript strict-mode or linting audit skills because 'missing safety flags' is broad, keeping it below the clear-niche anchor at 5.

4 / 5

Total

13

/

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
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.