generate-resource-stubs

Official

Generate ready-to-edit dashboards and alerts.

Authorgrafana
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Creating Grafana dashboards and alert rules from scratch often involves repetitive boilerplate. This Skill generates ready-to-edit Go stubs that follow the grafana-foundation-sdk patterns, speeding up setup and ensuring consistency.

Core Features & Use Cases

  • Inferred resource types: dashboards from dashboards/ (or dashboard/) directories and alerts from alerts/ (or alertrules/ or alertrule/).
  • Boilerplate generation: produces compilable Go stubs that follow the grafana-foundation-sdk builder patterns.
  • Quick-start scaffolding: supports rapid creation of new dashboards and alert rules with a single command.

Quick Start

Run gcx dev generate with a target path to create a typed Go stub.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: generate-resource-stubs
Download link: https://github.com/grafana/gcx/archive/main.zip#generate-resource-stubs

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.