skills-ref-rs
Rust implementation of agentskills for validating, parsing, and managing Agent Skills.
Installation
CLI Usage
# Validate a skill directory
# Read properties as JSON
# Generate XML prompt block
Library Usage
use ;
use Path;
// Validate
let errors = validate;
assert!;
// Read properties
let props = read_properties.unwrap;
println!;
// Generate prompt
let xml = to_prompt.unwrap;
Validation Rules
name: required, lowercase kebab-case, max 64 chars, must match directory namedescription: required, max 1024 charscompatibility: optional, max 500 chars- Unicode names supported (NFKC normalized)
License
MIT