CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

implementing-jsc-classes-rust

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

Quality

92%

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

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

An exemplary reference-style skill: lean, project-specific, with complete executable examples and precise pointers to in-repo reference implementations. The only weakness is that the working sequence is implied by section order rather than explicitly enumerated steps with a feedback loop.

DimensionReasoningScore

Conciseness

The body is dense and lean with zero padding: every line carries project-specific facts ('Never store a raw JSValue in a struct field', 'A missing or mis-typed method is a compile error'). It assumes Claude's competence and never explains concepts Claude already knows.

5 / 5

Actionability

Fully executable guidance: a complete copy-paste TypeScript schema example, a matching Rust struct implementation, exact key names (refCounted, capability, throws, passThis, cache), exact generated helper signatures (js_Matcher::callback_set_cached(...)), and annotated reference implementation paths. Common cases are concretely covered.

5 / 5

Workflow Clarity

The sequence (read bindgen.mdx 'Classes' section, define the .bind.ts schema, implement the Rust struct) is present but implicit via section ordering rather than explicit steps, and the compile-error note provides a validation checkpoint without a fix-and-retry loop. Not 3 because the pattern is unambiguous and compile-time validation is explicitly stated; not 5 because steps and feedback loops are not made explicit.

4 / 5

Progressive Disclosure

With no bundle files, all content sits appropriately in one well-organized file with clear section headers. Pointers to docs/project/bindgen.mdx and three reference implementations are one level deep, clearly signaled, and each annotated with what it demonstrates, making navigation easy.

5 / 5

Total

19

/

20

Passed

Description

87%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 that clearly states what the skill does and when to use it, with precise technical triggers tied to a specific niche. Minor room for improvement in action coverage breadth and natural synonyms, but no vague or padded language.

DimensionReasoningScore

Specificity

The description names the precise mechanism ('Creates JavaScript classes using Bun's bindings generator (.bind.ts)') plus prototypes and constructors, giving several concrete specifics. It falls short of a 5 because the action coverage is narrow — essentially one core action (creating classes) — rather than a comprehensive list of capabilities.

4 / 5

Completeness

It explicitly answers both parts: the what ('Creates JavaScript classes using Bun's bindings generator (.bind.ts)') and the when with a concrete 'Use when implementing new JS APIs in Rust with JSC integration, prototypes, or constructors' trigger clause. This clearly matches the top anchor with concrete trigger phrases.

5 / 5

Trigger Term Quality

Good keyword coverage spanning domain terms users would naturally say: 'JavaScript classes', 'JS APIs in Rust', 'JSC integration', 'prototypes', 'constructors', and the .bind.ts file extension. A few natural synonyms (e.g., 'JavaScriptCore', 'bindgen') are missing, keeping it below the comprehensive anchor.

4 / 5

Distinctiveness Conflict Risk

The combination of Bun, JSC, Rust, and .bind.ts bindings is a narrow niche with distinct triggers, making it clearly distinguishable from other skills with minimal conflict risk.

5 / 5

Total

18

/

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.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

oven-sh/bun

Path

.claude/skills/implementing-jsc-classes-rust/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.