Skill / SKILL.md

Cue Kind Definition

grafana/skills

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.
2 views 326 repository stars 0 commentsUpdated Nov 27, 2026
Overview

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.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/grafana/skills' skill-source

Use the complete skill-source/skills/grafana-app-sdk/cue-kind-definition directory with your client’s skill installer.

  • skills/grafana-app-sdk/cue-kind-definition

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/grafana-app-sdk/cue-kind-definition

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
006d90fc279306615037d3569c3ea810370e826c3149300bcb5c441aa3d8629a
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills