Install any skill in seconds. Free to start, no credit card required.
Get Started Free →hashintel/documenting-rust-code
Rust documentation practices for HASH codebase.
Passed 18 of 22 test cases with the skill, and 11 of 22 without it.
and 6 more in the full report
7 fixed11 passed either way4 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 7 test cases the skill fixed. Same model, same prompt, with and without the skill.
Write a rustdoc comment for `pub fn validate_token(token: &str, secret: &str) -> bool`. Make sure to explain what both parameters do clearly.
| Checked | Without skill | With skill |
|---|---|---|
| The parameter descriptions are included inline within the main description text. | Missed | Passed |
| The doc comment block contains no `# Arguments` section header. | Missed | Passed |
The instructions your model reads when the skill loads.
Comprehensive guidance on documenting Rust code in the HASH repository following rustdoc conventions.
Follow high-quality standards like time, jiff, and serde:
✅ DO:
# ErrorsVec], [HashMap], etc.❌ DON'T:
Debug, Display, From)# Returns sections (inline instead)/// Retrieves an entity by its UUID.
///
/// Loads the entity from the store and verifies access permissions.
/// Returns the [`Entity`] if found and accessible.
///
/// # Errors
///
/// - [`NotFound`] if the entity doesn't exist
/// - [`AuthorizationError`] if access is denied
test cases passed, vs 11 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.