Real file from a public repo · synced Sep 3, 2026
cue-kind-definition
Author CUE kind definitions for grafana-app-sdk apps - schemas, versioning, field constraints, named type definitions, custom routes, and codegen configuration. Scaffolds kinds via grafana-app-sdk project kind add, writes spec/status schemas with type constraints (regex, enum, range), defines #-prefixed named types for reusable structs, registers versions in the app manifest, and runs grafana-app-sdk generate with explicit error recovery. Use when working with CUE kinds, adding a new resource type, adding a version to an existing kind, writing schema field constraints, defining #Definition types, adding custom routes, editing files under kinds/, or when the user asks to "model a resource", "add a CUE schema", or "write a kind" — even without saying "CUE" explicitly.
Works with
Install in three steps
- 1
Download the ZIP
One file per agent, plus INSTALL.md with the exact paths below.
- 2
Claude Code: copy SKILL.md into your skills folder
.claude/skills/cue-kind-definition/SKILL.md # this project ~/.claude/skills/cue-kind-definition/SKILL.md # every project
- 3
Other agents: use the matching file
skill.mdc goes in Cursor’s .cursor/rules/. AGENTS.md works as GitHub Copilot instructions, a legacy .cursorrules, or a Codex / Gemini CLI instructions file.

