Expand description
Agent Skills specification limits.
Two validators enforce the same spec: SkillManifest::validate fails fast
on the first violation, while crate::enhanced_validator::ComprehensiveSkillValidator
collects every violation with a remediation hint. They differ in reporting
only, so the limits themselves live here once — otherwise changing a number
in one validator would silently desync the other.
Each constant is a character or entry count from the spec, not a byte size.
§Examples
use vtcode_skills::limits::MAX_SKILL_NAME_CHARS;
assert_eq!(MAX_SKILL_NAME_CHARS, 64);Constants§
- MAX_
ALLOWED_ TOOLS - Maximum number of entries in a skill’s
allowed-toolslist. - MAX_
COMPATIBILITY_ CHARS - Maximum characters in a skill
compatibilitystring. - MAX_
LICENSE_ CHARS - Maximum characters in a skill
licensestring. - MAX_
SKILL_ DESCRIPTION_ CHARS - Maximum characters in a skill
description. - MAX_
SKILL_ NAME_ CHARS - Maximum characters in a skill
name(lowercase letters, digits, hyphens).
Functions§
- allowed_
tool_ count - Count the space-delimited tools in an
allowed-toolsvalue.