Skip to Content
V1CLI Referencelore validate

lore validate

Validate a package manifest and content without publishing.

Usage

lore validate [<path>] [flags]

Description

Runs the full validation engine against the package: schema compliance, metadata correctness, dependency resolution, translation presence, and prompt injection detection.

Flags

FlagDescription
--strictFail on warnings (default: fail on errors only)
--format <json|text>Output format (default: text)

Examples

# Validate the current directory lore validate # Validate a specific directory lore validate ./my-skill # JSON output for CI integration lore validate --format json

Validation Checks

CheckDescription
Schema compliancemanifest.yaml matches the spec schema
MetadataRequired fields present and valid
Version formatSemver (MAJOR.MINOR.PATCH)
DependenciesAll declared dependencies resolvable
TranslationsdefaultLanguage content file present
Prompt injectionContent scanned for injection patterns

Exit Codes

CodeMeaning
0Valid
1Validation errors
2Invalid arguments
© 2025 Lore · Built by M1 Cloud