AI SummaryA skill booster for editing CUE schema files with patterns for 3-step parsing flows, validation, and error handling. Developers working with invkfile, invkmod, and config schemas benefit from structured guidance on CUE definitions and Go struct synchronization.
Install
# Add to your project root as SKILL.md curl -o SKILL.md "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/other/cue/SKILL.md"
Description
CUE schema patterns for *.cue files, 3-step parsing flow, validation matrix, error formatting. Use when editing invkfile_schema.cue, invkmod_schema.cue, config_schema.cue, or working with cueutil parsing.
Decode Usage Rules
ALWAYS use value.Decode(&goStruct) for type-safe extraction.
Error Formatting Requirements
All CUE errors MUST include JSON path prefixes for clear error messages:
CUE Schema Patterns
Use this skill when: • Working with CUE schema files (*.cue) • Modifying parse functions in pkg/invkfile/, pkg/invkmod/, or internal/config/ • Adding new CUE definitions or corresponding Go struct fields • Debugging CUE validation errors ---
Schema Locations
• pkg/invkfile/invkfile_schema.cue defines invkfile structure. • pkg/invkmod/invkmod_schema.cue defines invkmod structure. • internal/config/config_schema.cue defines config.
Quality Score
Good
79/100
Trust & Transparency
Open Source — MIT
Source code publicly auditable
Verified Open Source
Hosted on GitHub — publicly auditable
Actively Maintained
Last commit Yesterday
100 stars — Growing Community
15 forks