Skill

cue

by majiayu000

AI Summary

A 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

B

Good

79/100

Standard Compliance75
Documentation Quality68
Usefulness72
Maintenance Signal100
Community Signal92
Scored Yesterday

GitHub Signals

Stars100
Forks15
Issues1
UpdatedYesterday
View on GitHub

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

My Fox Den

Community Rating

Works With

Claude Code