CtrlK
BlogDocsLog inGet started
Tessl Logo

typescript-best-practices

Provides TypeScript patterns for type-first development, making illegal states unrepresentable, exhaustive handling, and runtime validation. Must use when reading or writing TypeScript/JavaScript files.

85

1.11x
Quality

78%

Does it follow best practices?

Impact

96%

1.11x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./data/skills-md/0xbigboss/claude-code/typescript-best-practices/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

82%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 well-structured, highly actionable patterns skill with executable examples and a clear type-first workflow. Trimming redundant rationale and splitting advanced material into reference files would push it to the top anchors.

Suggestions

Remove trailing rationale clauses that restate why TypeScript best practices matter (e.g., "Strong typing catches bugs at compile time.") to tighten conciseness.

Move the extensive Zod and type-fest sections into one-level-deep reference files (e.g., references/zod.md, references/type-utilities.md) with clearly signaled links from the overview.

Add explicit validation/verification checkpoints or a short feedback loop to the type-first workflow to strengthen workflow clarity.

DimensionReasoningScore

Conciseness

Mostly lean code examples with brief prose, but trailing rationale clauses like "Strong typing catches bugs at compile time." and "Unhandled cases become compile errors." explain concepts Claude already knows.

4 / 5

Actionability

Abundant copy-paste-ready, executable TypeScript covering the common cases: discriminated unions, branded types, exhaustive switch with never, Zod schemas/safeParse, and typed config.

5 / 5

Workflow Clarity

The Type-First Development section gives a clear four-step sequence including a validation step; not a destructive/batch skill so the 3-cap does not apply, but there is no explicit error-recovery feedback loop.

4 / 5

Progressive Disclosure

Well-organized sections with optional material clearly signaled ("Optional: type-fest"); all content is inline with no external references, and the advanced Zod/type-fest sections could be split into reference files.

4 / 5

Total

17

/

20

Passed

Description

75%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 solid description that states concrete capabilities and provides an explicit trigger clause for when to load the skill. It could add file extensions, user-mention triggers, and synonyms to reach the top anchor.

Suggestions

Add file extensions and synonyms to the trigger clause (e.g., ".ts/.tsx/.js/.jsx files, or when the user asks about types, interfaces, or type safety").

Include a user-mention trigger in addition to the file-context trigger to strengthen completeness.

Sharpen the capability list from conceptual patterns toward more concrete, user-recognizable actions.

DimensionReasoningScore

Specificity

Lists several concrete capabilities ("type-first development, making illegal states unrepresentable, exhaustive handling, and runtime validation") but they are conceptual patterns rather than fully concrete actions, leaving minor gaps.

4 / 5

Completeness

Explicitly answers both what ("Provides TypeScript patterns for...") and when ("Must use when reading or writing TypeScript/JavaScript files"), but the when covers only file context with no user-mention triggers.

4 / 5

Trigger Term Quality

Natural terms like "TypeScript/JavaScript files" and "reading or writing" are present, but file extensions (.ts/.tsx/.js) and common synonyms (types, interfaces) are missing.

4 / 5

Distinctiveness Conflict Risk

Clear TypeScript niche with a distinct file-based trigger; minor overlap risk with JavaScript/React skills, which the body acknowledges by instructing pairing with react-best-practices.

4 / 5

Total

16

/

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.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
NeverSight/skills_feed
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.