QuestoryAI 提示词平台QuestoryAI 提示词平台QuestoryAI 提示词平台
TeamsBotsSkillsPromptsPromptmasters
Developers
LoginRegister
CC0 2026 QuestoryAI 提示词平台
GitHub

SaaS Analytics Dashboard - Knowledge-Anchored Frontend Prompt

Research-backed prompt for building a SaaS analytics dashboard with user metrics, revenue, and usage statistics. Uses Gestalt, Miller's Law, Hick's Law, Cleveland & McGill, and Core Web Vitals as knowledge anchors. Generated by prompt-forge. 来源:https://prompts.chat/prompts/cmmpb078l0001jx04idzwstsh

C
@import-1fa256439ca4d1303dd84dc7
about 1 hour agoNovember 11, 2026 at 02:00 AM
Vibe Coding•FrontendData AnalysisLearningReact
Dashboard
Prompt Forge
SaaS
SaaS Analytics Dashboard - Knowledge-Anchored Frontend Prompt

Content

Variables
1role: >
2 You are a senior frontend engineer specializing in SaaS dashboard design,
3 data visualization, and information architecture. You have deep expertise
4 in React, Tailwind CSS, and building data-dense interfaces that remain
5 scannable under high cognitive load.
6
7context:
8 product: Multi-tenant SaaS application
9 stack: React 19, Next.js App Router, Tailwind CSS, TypeScript strict mode
10 scope:
11 - User metrics (active users, signups, churn)
12 - Revenue (MRR, ARR, ARPU)
13 - Usage statistics (feature adoption, session duration, API calls)
14
15instructions:
16 - >
17 Apply Gestalt proximity principle to create visually distinct metric
18 groups: cluster user metrics, revenue metrics, and usage statistics
19 into separate spatial zones with consistent internal spacing and
20 increased inter-group spacing.
21 - >
22 Follow Miller's Law: limit each metric group to 5-7 items maximum.
23 If a category exceeds 7 metrics, apply progressive disclosure by
24 showing top 5 with an expandable "See all" control.
25 - >
26 Apply Hick's Law to the dashboard's information hierarchy: present
27 3 primary KPI cards at the top (one per category), then detailed
28 breakdowns below. Reduce decision load by defaulting to the most
29 common time range (Last 30 days) instead of requiring selection.
30 - >
31 Use position-based visual encodings for comparison data (bar charts,
32 dot plots) following Cleveland & McGill's perceptual accuracy
33 hierarchy. Reserve area charts for trend-over-time only.
34 - >
35 Implement a clear visual hierarchy: primary KPIs use Display/Headline
36 typography, supporting metrics use Body scale, delta indicators
37 (up/down percentage) use color-coded Label scale.
38 - >
39 Build each dashboard section as a React Server Component for
40 zero-client-bundle data fetching. Wrap each section in Suspense
41 with skeleton placeholders that match the final layout dimensions.
42
43constraints:
44 must:
45 - Meet WCAG 2.2 AA contrast (4.5:1 normal text, 3:1 large text)
46 - Respect prefers-reduced-motion for all chart animations
47 - Use semantic HTML with ARIA landmarks (role=main, navigation, complementary for sidebar filters)
48 never:
49 - Use pie charts for comparing metric values across categories
50 - Exceed 7 metrics per visible group without progressive disclosure
51 always:
52 - Provide skeleton loading states matching final layout dimensions to prevent CLS
53 - Include keyboard-navigable chart tooltips with aria-live regions
54
55output_format:
56 - Component tree diagram (which components, parent-child relationships)
57 - TypeScript interfaces for dashboard data shape (DashboardProps, MetricGroup, KPICard)
58 - Main dashboard page component (RSC, async data fetch)
59 - One metric group component (reusable across user/revenue/usage)
60 - Responsive layout using Tailwind (single column mobile, 2-column tablet, 3-column desktop)
61 - All components in TypeScript with explicit return types
62
63success_criteria:
64 - LCP < 2.5s (Core Web Vitals good threshold)
65 - CLS < 0.1 (no layout shift from lazy-loaded charts)
66 - INP < 200ms (filter interactions respond instantly)
67 - Lighthouse Accessibility >= 90
68 - Dashboard scannable within 5 seconds (Krug's trunk test)
69 - Each metric group independently loadable via Suspense boundaries
70
71knowledge_anchors:
72 - Gestalt Principles (proximity, similarity, grouping)
73 - "Miller's Law (7 plus/minus 2 chunks)"
74 - "Hick's Law (decision time vs choice count)"
75 - "Cleveland & McGill (perceptual accuracy hierarchy)"
76 - Core Web Vitals (LCP, INP, CLS)

Comments (0)

Related Skills

Agent Organization Expert

Skill

Multi-agent orchestration skill for team assembly, task decomposition, workflow optimization, and coordination strategies to achieve optimal team performance and resource utilization. 来源:https://prompts.chat/prompts/cmjmk557b000nld04dxe4c3ao

İ@import-bb85aceaa34674ff213c79e1
0

Time Series Gap and Anomaly Checker

Skill

Checks CSV time series (metrics, sensor readings, sales by hour) for data problems before you chart or alert on them: missing intervals, duplicate or out-of-order timestamps, empty values, flatlines from stuck exporters, robust median/MAD spikes, and counter resets. Use when a dashboard looks wrong, before training a forecast, or when asking "is this data complete?". Includes a stdlib Python checker with --self-test. 来源:https://prompts.chat/prompts/cmvexglly000rjr088nxj0x8r

F@import-252f10c83610ebca1a059c0b
0

Poetry Meter and Rhyme Checker

Skill

Counts syllables per line with a transparent heuristic, checks common forms (haiku, limerick, iambic pentameter targets), maps end-rhyme schemes (AABB, ABAB, ABCB), and flags near-misses with suggested edits. Use when a user asks "does this scan?", "is this a haiku?", or "what is my rhyme scheme?". Includes a tested stdlib Python checker. 来源:https://prompts.chat/prompts/cmv7sclqz0009jq06pm9s3d58

F@import-252f10c83610ebca1a059c0b
0

Disk Capacity Runway Forecaster

Skill

Forecasts when disks and volumes will fill up from usage samples (CSV of timestamp, volume, used and size). Fits overall and last-week growth rates, removes one-off jumps from the trend, and gives days and dates to 80, 90, 95 and 100% full plus a size that keeps 90 days of headroom. Flags volumes filling soon, accelerating growth, sudden jumps, noisy trends and thin data. Includes a stdlib Python forecaster with --self-test. 来源:https://prompts.chat/prompts/cmvj7p9y3000clc08tdf4155m

F@import-252f10c83610ebca1a059c0b
0