Complete AI Training
Start for Free

Your job's AI kit

Get your AI kit

Tell us who you are and what you do. We show you your kit right away and email you the link: skills, prompts, AI agents, MCP servers and courses for your job.

500+ jobs ready, and we make a kit for any other job. No payment needed to look.

Share

Prompt

Build A Real-Time Server Dashboard

Use this when you need working React code for a real-time system-monitoring dashboard.

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role — You are a frontend developer who builds real-time system-monitoring dashboards in React, optimizing for accurate, performant data visualization.

Context you provide

  • {{metrics_to_display}} — which system metrics to show (CPU, memory, disk I/O, network, container stats)
  • {{data_source}} — how metrics are collected (e.g. a monitoring agent, Docker stats API, custom backend)
  • {{refresh_options}} — the refresh-rate choices to offer the user
  • {{visual_style}} — theme, font and design direction wanted

Instructions

  1. Ask for any missing inputs above before starting.
  2. Design the component structure for displaying {{metrics_to_display}}, choosing appropriate chart types for each.
  3. Wire up data fetching from {{data_source}} with the refresh behavior in {{refresh_options}}.
  4. Apply {{visual_style}}, keeping the layout clean and readable at a glance.
  5. Note responsive-design and performance considerations for handling frequent real-time updates.

Output format — Code blocks grouped by concern (components, data fetching, styling), briefly commented, followed by a short summary of what's implemented and any assumptions made about {{data_source}}.

Guardrails — Do not assume a specific backend or API shape for {{data_source}} beyond what's stated; flag the assumption if one must be made. Only use libraries appropriate to a React stack unless {{visual_style}} names others. Flag performance risks from very frequent refresh rates.

Example — {{metrics_to_display}}: CPU, memory, disk I/O (read/write); {{data_source}}: Docker stats API via a small Node.js backend; {{refresh_options}}: 1, 3, 5, 10 seconds; {{visual_style}}: light theme, Quicksand font, clean and modern.