perses-plugin-test

Validate Perses plugins end-to-end with percli schema tests, React component tests, and local server integration tests.

415|44|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/notque/claude-code-toolkit --skill perses-plugin-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: perses-plugin-test
Source: https://github.com/notque/claude-code-toolkit/tree/main/skills/perses-plugin-test
Command: npx skills add https://github.com/notque/claude-code-toolkit --skill perses-plugin-test

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Perses plugin testing enables end-to-end validation of Perses plugins across schema, UI component, integration, and Grafana migration layers. It provides a repeatable workflow for verifying correctness before release and for regression testing.

Core Features & Use Cases

  • Validate CUE schemas against JSON examples using percli plugin test-schemas to ensure strict schema conformance.
  • Run React component tests with mocked plugin-system hooks to verify UI behavior and error handling.
  • Execute integration tests against a local Perses server and verify Grafana migration compatibility.

Quick Start

Start by initializing the four-phase test workflow locally to validate a Perses plugin end-to-end.

Frequently Asked Questions about perses-plugin-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate Perses plugin schemas using CUE?

Validate Perses plugin CUE schemas by running percli plugin test-schemas against JSON examples to ensure strict conformance. This verifies schema correctness before release.

What is the best way to test Perses React components?

Test Perses React components by mocking plugin-system hooks to verify UI behavior and error handling. This isolates component logic from the wider plugin environment safely.

How do I run integration tests for a Perses plugin locally?

Run Perses plugin integration tests against a local Perses server to verify end-to-end functionality and Grafana migration compatibility. This ensures your plugin works correctly within the server environment.

Does Perses plugin testing verify Grafana migration compatibility?

Yes, Perses plugin testing verifies Grafana migration compatibility during the integration test phase against a local Perses server. This ensures dashboards and panels migrate correctly without regressions.

What are the four phases of end-to-end Perses plugin testing?

The four phases are CUE schema validation, React component testing, local server integration tests, and Grafana migration verification. Together they provide repeatable end-to-end validation for plugin releases.