Helps structure admin report modules using specific components.

Install

mkdir -p .claude/skills/admin-reports && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14648" && unzip -o skill.zip -d .claude/skills/admin-reports && rm skill.zip

Installs to .claude/skills/admin-reports

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

This skill should be used when building or modifying a BO-style admin analytics report in majstorbg-admin (FE) backed by majstorbg-backend (BE) — "admin report", "reports module", "report screen", "StatTile", "ReportChart", "ReportFilters", "PeriodSelect", "DataTable report", "aggregation endpoint", "createZodDto report", "groupBy report", "supply/demand report", "ratings report", "report stopgap endpoint", or wiring a new `/admin/reports/*` route end-to-end.
463 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Advanced

Key capabilities

  • →Create a new NestJS module for a report
  • →Define DTOs using `createZodDto` for query and response
  • →Implement aggregation logic with Prisma
  • →Handle date windows as half-open `[from, to)`
  • →Create an RTK local-stopgap endpoint for the frontend
  • →Develop a frontend screen using App Router and composed components

How it works

The skill guides the creation of a new report by defining a backend NestJS module with Prisma aggregation and Zod DTOs, an RTK local-stopgap endpoint for the frontend, and a frontend App-Router screen using composed components.

Inputs & outputs

You give it
Request to build or modify an admin analytics report
You get back
A new backend NestJS module, a frontend RTK local-stopgap endpoint, and a frontend App-Router screen

When to use admin-reports

  • →Building admin reports
  • →Adding report filters
  • →Configuring report charts

About admin-reports

Provides guidance on using StatTile, ReportChart, and ReportFilters components for admin reporting modules in the majstorbg-admin environment.

This skill should be used when building or modifying a BO-style admin analytics report in majstorbg-admin (FE) backed by majstorbg-backend (BE) — "admin report", "reports module", "report screen", "StatTile", "ReportChart", "ReportFilters", "PeriodSelect", "DataTable report", "aggregation endpoint",

When not to use it

  • →When building or modifying a report outside of `majstorbg-admin` / `majstorbg-backend`
  • →When not creating a BO-style admin analytics report
  • →When not using NestJS, Prisma, RTK, or App Router

Limitations

  • →The skill is specific to `majstorbg-admin` and `majstorbg-backend` repositories
  • →It requires the use of NestJS, Prisma, RTK, and App Router
  • →DTOs are kept local and not promoted to `@lunaticwithaduck/schemas`

How it compares

This skill provides an end-to-end, opinionated recipe for building admin reports, ensuring consistency across backend and frontend components, unlike ad-hoc development.

Compared to similar skills

admin-reports side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
admin-reports (this skill)03moReviewAdvanced
dashboard-creator3110moNo flagsBeginner
data-table-filters05moReviewIntermediate
building-data-apps03moNo flagsAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry