CtrlK
BlogDocsLog inGet started
Tessl Logo

implementing-jsc-classes-rust

Creates JavaScript classes using Bun's Rust bindings generator (.classes.ts). Use when implementing new JS APIs in Rust with JSC integration, prototypes, or constructors.

71

Quality

86%

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

90%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, expert-grade reference: concise, copy-paste-ready code, canonical signatures, and concrete commands with a clear define→implement→regenerate flow. Minor gaps are the absence of an explicit validate-fix-retry loop and no progressive split into bundle files.

Suggestions

Add an explicit feedback loop: after `bun bd` + `cargo check -p bun_runtime`, state 'if a hook signature fails to compile, fix the .rs method and rerun both' to reach the workflow-clarity 5 anchor.

Consider moving the `js_$T` module surface and Finalize override detail into a bundled reference file, keeping SKILL.md as a tighter overview, to improve progressive disclosure.

DimensionReasoningScore

Conciseness

Lean and dense throughout: assumes Claude knows Rust/JSC, never explains basic concepts, and every line delivers a specific signature, option, command, or file pointer. No padding detected.

5 / 5

Actionability

Fully executable guidance — copy-paste-ready .classes.ts and Rust examples, a canonical-signatures table, concrete commands (`bun bd`, `cargo check -p bun_runtime`), and named reference implementation file paths covering the common cases.

5 / 5

Workflow Clarity

Clear three-step architecture sequence (define → implement → regenerate) with a real validation signal (compile errors in `cargo check -p bun_runtime`), but it lacks an explicit fix-and-revalidate feedback loop for error recovery, keeping it below the 5 anchor.

4 / 5

Progressive Disclosure

Well-organized single-file reference with clear section headers and one-level-deep pointers to codebase reference implementations; no nested references. It is not split across bundle files (none exist), and some API-surface/finish detail could be factored out, so it does not fully reach the ideal split-structure 5.

4 / 5

Total

18

/

20

Passed

Description

82%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 tight, well-targeted description that pairs a concrete 'what' with an explicit 'Use when...' trigger clause and a distinctive niche. Its only weakness is specificity: it names one main action rather than enumerating several concrete capabilities.

Suggestions

Enumerate concrete capabilities beyond 'Creates JavaScript classes' (e.g. 'define prototypes, getters, constructors, and finalize hooks') to lift specificity toward the comprehensive anchor.

Add a couple of natural synonyms/variants (e.g. 'JavaScript APIs' alongside 'JS APIs') to round out trigger-term coverage.

DimensionReasoningScore

Specificity

Names the domain (Bun's Rust bindings, .classes.ts) and a concrete action ('Creates JavaScript classes'), but lists essentially one action rather than multiple specific capabilities, so it sits at the 'domain + 1-2 actions' anchor rather than the comprehensive 4/5 level.

3 / 5

Completeness

Explicitly answers both what ('Creates JavaScript classes using Bun's Rust bindings generator (.classes.ts)') and when ('Use when implementing new JS APIs in Rust with JSC integration, prototypes, or constructors') with concrete trigger phrases.

5 / 5

Trigger Term Quality

Strong natural-term coverage for the audience — 'JavaScript classes', 'Bun', 'Rust', 'JSC', 'prototypes', 'constructors', '.classes.ts' — with only minor synonym gaps (e.g. 'JS APIs' vs 'JavaScript APIs') keeping it just below comprehensive.

4 / 5

Distinctiveness Conflict Risk

Occupies a clear, narrow niche (Bun JSC Rust bindings via .classes.ts) with distinct triggers and minimal realistic overlap with other skills.

5 / 5

Total

17

/

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
oven-sh/bun
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.