CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

rust-system-calls

Guides using bun_sys for system calls and file I/O in Rust. Use when implementing file operations, opening fds, or any syscall path instead of std::fs or libc.

Quality

91%

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

96%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 excellent, tight reference: executable examples, concrete API listings, project-specific rationale, and an explicit pitfalls section with zero filler. The only structural improvement is moving the extended API listing into a bundled reference file so the pointer stays one level deep inside the skill.

DimensionReasoningScore

Conciseness

The body is dense and assumption-respecting: no padding, no explanation of concepts Claude already knows, and every section (comparison table, error handling, path buffers, common mistakes) carries project-specific information that cannot be inferred. Not score 4: there are no sections that read as over-explanation needing a trim.

5 / 5

Actionability

Examples are executable and cover the common cases: a complete copy-paste `write_file` function, the preferred `File::openat` pattern, errno branching with ENOENT, and pooled path-buffer usage. The `to_js` and path-join snippets use placeholder variables (`global`, `dir`, `name`) as illustrative patterns rather than gaps, matching the score-5 anchor.

5 / 5

Workflow Clarity

This is a single-purpose reference skill and the single action — use `bun_sys::File` instead of `std::fs` — is unambiguous, supported by a preferred path, explicit error-handling patterns, and a "Common Mistakes" pitfalls list. No destructive or batch operations exist that would require a validation cap, so the simple-skill exception applies.

5 / 5

Progressive Disclosure

Sections are well organized and the closing pointer ("See `src/CLAUDE.md` for the full bun_core/bun_sys reference") is clearly signaled, but it targets a file outside the skill bundle (no references/ directory exists), and the ~90-line body inlines a "Key Types and Functions" API listing that could live in a separate reference file. This matches score 4 (good structure, minor organization gaps) rather than 5, which expects well-signaled one-level-deep references within the bundle.

4 / 5

Total

19

/

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 strong, niche-appropriate description with explicit what/when structure and good trigger coverage. The main weakness is specificity: it describes capability areas rather than enumerating the concrete operations the skill supports.

Suggestions

Replace the generic "Guides using bun_sys for system calls and file I/O in Rust" with 3-4 concrete operations, e.g. "Open, read, write, and manage file descriptors via bun_sys for cross-platform syscalls in Rust."

Include common user phrasings as triggers, such as "file descriptor" spelled out and "reading or writing files".

Mention the Windows/cross-platform strength briefly in the description, since it is a key differentiator over std::fs and a reason a user would reach for this skill.

DimensionReasoningScore

Specificity

"Guides using bun_sys for system calls and file I/O in Rust" names the domain and two capability areas, but relies on a single generic action verb rather than listing several concrete operations (open, read, write, stat, unlink). This matches the score-3 anchor (domain plus 1-2 concrete actions) better than score 4, which expects several specific listed actions.

3 / 5

Completeness

Both what ("using bun_sys for system calls and file I/O in Rust") and when ("Use when implementing file operations, opening fds, or any syscall path instead of std::fs or libc") are explicitly stated with concrete trigger phrases, matching the score-5 anchor. The when-clause is far more explicit than the score-4 anchor allows.

5 / 5

Trigger Term Quality

Natural trigger phrases are well covered — "file operations", "opening fds", "syscall path", "std::fs", "libc" — with synonyms (system calls / syscall, file I/O / file operations). Not score 5: some natural phrasings a user might say, such as "file descriptor" spelled out or "reading/writing files", are missing.

4 / 5

Distinctiveness Conflict Risk

This occupies a clear niche — the bun_sys API within Rust, explicitly framed as the alternative to "std::fs or libc" — so triggers are distinct and conflict risk with other skills is minimal.

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.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

oven-sh/bun

Path

.claude/skills/rust-system-calls/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.