| Crates.io | skills-ref-rs |
| lib.rs | skills-ref-rs |
| version | 0.1.1 |
| created_at | 2025-12-24 12:21:18.152459+00 |
| updated_at | 2025-12-25 02:41:33.76061+00 |
| description | Rust implementation of agentskills library for validating, parsing, and managing Agent Skills |
| homepage | |
| repository | https://github.com/BB-fat/skills-ref-rs |
| max_upload_size | |
| id | 2003095 |
| size | 198,095 |
Rust implementation of agentskills for validating, parsing, and managing Agent Skills.
cargo install skills-ref-rs
This installs the skills-ref command.
cargo add skills-ref-rs
# Validate a skill directory
skills-ref validate ./my-skill
# Read properties as JSON
skills-ref read-properties ./my-skill
# Generate XML prompt block
skills-ref to-prompt ./skill-a ./skill-b
use skills_ref::{validate, read_properties, to_prompt};
use std::path::Path;
// Validate
let errors = validate(Path::new("my-skill"));
assert!(errors.is_empty());
// Read properties
let props = read_properties(Path::new("my-skill")).unwrap();
println!("{}: {}", props.name, props.description);
// Generate prompt
let xml = to_prompt(&[Path::new("my-skill")]).unwrap();
name: required, lowercase kebab-case, max 64 chars, must match directory namedescription: required, max 1024 charscompatibility: optional, max 500 charsMIT