grafana/gcx/scaffold-project

Claude Code and agent skill by grafana/gcx

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Scaffolds a new Go project for Grafana resources as code with `gcx dev scaffold`. Use to start a new dashboards-as-code repo or gcx project. Not for installing or connecting gcx (use setup-gcx).

Install

npx vskill@latest install grafana/gcx/scaffold-project

SKILL.md

The same SKILL.md was published earlier as grafana/gcx/scaffold-project.

Scaffold a gcx Project

Scaffold a new Go project for managing Grafana resources as code using gcx dev scaffold.

Prerequisites

Verify gcx is installed:

bash
gcx --version

If missing, see the setup-gcx skill.

Scaffolding

Interactive Mode (recommended for first-time users)
bash
gcx dev scaffold

Prompts for:

  • Project name - becomes the directory name (kebab-cased)
  • Go module path - e.g. github.com/myorg/my-dashboards
Non-Interactive Mode
bash
gcx dev scaffold --project my-dashboards --go-module-path github.com/myorg/my-dashboards

What Gets Generated

my-dashboards/
├── .github/workflows/deploy.yaml # CI/CD workflow for gcx push
├── .gitignore
├── go.mod
├── main.go # Entrypoint — registers all resources
├── internal/
│ └── dashboards/
│ ├── all.go # Registry function returning all manifests
│ └── sample.go # Example dashboard using foundation-sdk builders
└── README.md

Next Steps After Scaffolding

  1. cd my-dashboards && go mod tidy
  2. Configure gcx: gcx config set stacks.default.grafana.server <URL>, gcx config set stacks.default.grafana.token <TOKEN>, and gcx config set contexts.default.stack default
  3. Edit internal/dashboards/sample.go or generate new stubs with gcx dev generate
  4. Push to Grafana: gcx resources push

Common Issues

IssueFix
go mod tidy failsEnsure your Go toolchain meets the version required by the generated go.mod
Project name has spacesNames are auto-kebab-cased; spaces become hyphens
Want to add alert rulesCreate internal/alerts/ and use gcx dev generate alerts/my-rule.go

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
531
Repository forks
42
7-day trend score
31

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/grafana/gcx/scaffold-project/badge)](https://verified-skill.com/skills/grafana/gcx/scaffold-project)

Something wrong with this skill or its page? Tell us.