CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

doc-comments

Use this skill whenever writing or editing Rust `//`, `///`, or `//!` comments in Biome, including contributor documentation and rustdoc exposed to users through configuration schemas, CLI help, workspace or daemon APIs, and lint or assist declarations. For lint or assist rustdoc, also load lint-rule-development. Do not use for formatter handling of comments in user code.

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

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.

This is a high-quality, project-specific style guide: nearly every rule is anchored to Biome-specific audiences, files, or BAD/GOOD examples, and it closes with an explicit self-check checklist. The main improvement levers are trimming generic writing advice Claude already follows and adding an explicit recheck loop after the self-check.

DimensionReasoningScore

Conciseness

The ~300-line body is dense with project-specific material Claude cannot know elsewhere (audience-routing tables, Biome crates, region-marker conventions, BAD/GOOD rewrites), so most tokens earn their place. It dips below anchor 5 because a minority of passages restate general writing competence Claude already has — "Write in the present tense and active voice", "Proofread grammar and terminology", "Avoid vague pronouns, unexplained acronyms, idioms" — which could be trimmed or compressed into the house-rule examples.

4 / 5

Actionability

Guidance is consistently executable for an instruction-only skill: paired BAD/GOOD rewrites for every banned pattern, a table mapping concrete source contexts (e.g., "Rustdoc consumed by `Bpaf`") to the reader and destination, exact region-marker syntax, named files and crates, and an explicit rename test. The examples concretely cover the common cases, matching the anchor-5 standard.

5 / 5

Workflow Clarity

A clear sequence is present: trace consumption ("checking nearby derives, attributes, macros, generators, generated artifacts, and help snapshots"), route to the right audience section, then an 8-step "Self-Check Before Finishing" checklist with explicit checkpoints (read comments without the diff, inspect rendered output). It misses anchor 5 because there is no explicit fix-and-recheck feedback loop — verification is listed but recovery on failure is left implicit.

4 / 5

Progressive Disclosure

The single file is well organized into task-oriented sections, and detail is correctly delegated one level deep: lint/assist structure is routed to lint-rule-development, with web links clearly signaled both inline and in a References section. It stays at anchor 4 rather than 5 because the 300-line body inlines a sizable catalog (banned patterns, surface-specific tables) that could plausibly be split into reference files, and the lint-rule-development path cannot be verified within this bundle.

4 / 5

Total

17

/

20

Passed

Description

86%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, disciplined description: explicit trigger conditions, concrete enumerated surfaces, an exclusion clause, and cross-skill routing. Its only weakness is that the core capability is conveyed through scope enumeration rather than an explicitly stated action, and it lists one action pair rather than several distinct actions.

DimensionReasoningScore

Specificity

The description names the exact artifacts ("Rust `//`, `///`, or `//!` comments") and enumerates five concrete surfaces ("configuration schemas, CLI help, workspace or daemon APIs, and lint or assist declarations"), which is highly specific scope. It stops short of anchor 5 because the only actions stated are "writing or editing" — one action pair — rather than multiple distinct concrete actions.

4 / 5

Completeness

Both parts are present: an explicit when-clause ("Use this skill whenever writing or editing Rust ... comments in Biome") plus a negative trigger ("Do not use for formatter handling of comments in user code"), and the enumerated surfaces convey the what. It falls short of anchor 5 because the capability itself (e.g., applying Biome's comment-writing conventions) is implied by scope rather than explicitly stated with a verb.

4 / 5

Trigger Term Quality

It covers the natural vocabulary a Biome contributor would actually use: "comments", the `//`/`///`/`//!` sigils, "rustdoc", "contributor documentation", "CLI help", "lint or assist", and "Biome" itself. Within this niche, coverage is comprehensive including synonym forms (comment sigils as well as the word "rustdoc"), matching the anchor-5 example's breadth; it is not merely technical jargon.

5 / 5

Distinctiveness Conflict Risk

The niche is unmistakable (Rust comments in the Biome codebase) and the description actively manages conflicts: it excludes the formatter case ("Do not use for formatter handling of comments") and routes lint/assist rustdoc to a sibling skill ("also load lint-rule-development"). This is clearer boundary handling than the anchor-5 example, with minimal conflict risk.

5 / 5

Total

18

/

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

relative_links

Relative link issues: 5 suspicious

Warning

Total

15

/

16

Passed

Repository

biomejs/biome

Path

.agents/skills/doc-comments/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.