analytics-kpi-generator

Generate KPI processors and templates for analytics engines.

Updated Jun 18, 2026
One-click install
npx skills add https://github.com/web3br1/luminaristest --skill analytics-kpi-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analytics-kpi-generator
Source: https://github.com/web3br1/luminaristest/tree/main/.claude/skills/analytics-kpi-generator
Command: npx skills add https://github.com/web3br1/luminaristest --skill analytics-kpi-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires luminaris, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the generation of backend components for KPIs in analytics engines, reducing manual development time and ensuring consistency in KPI implementation.

Core Features & Use Cases

  • KPI Processor Generation: Automatically creates KPI processors and templates following a defined contract.
  • Single-Pass Optimization: Ensures that data is processed in a single pass for maximum performance.
  • Template Configuration: Generates configurable templates for KPI parameters.
  • Use Case: When a new KPI needs to be created or an existing one needs to be updated, this Skill can generate the necessary backend components, such as processors and templates.

Quick Start

Use the analytics-kpi-generator skill to generate a new KPI processor and template by providing the KPI name and category, e.g., 'generate-kpi ProcessorName CategoryName'.

Frequently Asked Questions about analytics-kpi-generator

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

FAQPage Schema
How do I generate backend KPI processors for an analytics engine?

Backend KPI processors are generated by providing a KPI name and category, which creates configurable templates and processor components that execute in a single pass. This requires a Luminaris monorepo with Prisma, TypeScript, and an analytics engine already configured.

What is a single-pass KPI processor and when do I need it?

A single-pass KPI processor reads and computes analytics data in one execution cycle to maximize performance. You need this approach when adding new metrics to an analytics engine and wanting to avoid multi-pass data scans that slow down backend processing.

Do I need Prisma and TypeScript to use this KPI template generator?

Yes, you need a Luminaris monorepo with Prisma, TypeScript, and an analytics engine in place. The generated KPI components follow a strict contract that integrates directly with this specific backend stack.

Can I configure KPI parameters for specific metrics in the generated templates?

Yes, the generated templates support configuration for specific KPI parameters. You provide the KPI name and category during generation, and the Skill outputs configurable backend processors tailored to those defined metrics.

What's the best way to automate KPI component creation without manual coding?

Using a template-driven generator automates the creation of KPI processors and templates following a defined contract. This ensures consistency across analytics metrics and reduces the manual development time required for backend component scaffolding.

Why does my generated KPI processor require a strict contract?

The strict contract ensures that generated KPI processors integrate seamlessly with the existing analytics engine and maintain consistency across different metrics. This allows automated templates to execute reliably in a single pass within the Luminaris monorepo architecture.