dashboard-chat-best-practices
Skill by vercel
Guides an AI assistant through changing the web chat UI of the Eve chat template. It covers Next.js Cache Components, hydration, streaming, composer, sidebar, and styling rules. Written for developers working on that template.
Install dashboard-chat-best-practices
Built from the published package, never by AI.
git clone --depth 1 https://github.com/vercel/eve /tmp/eve && mkdir -p ~/.claude/skills && cp -r /tmp/eve/apps/templates/eve-chat-template/.agents/skills/dashboard-chat-best-practices ~/.claude/skills/dashboard-chat-best-practicesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install dashboard-chat-best-practices in Claude Code
git clone --depth 1 https://github.com/vercel/eve /tmp/eve && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/eve/apps/templates/eve-chat-template/.agents/skills/dashboard-chat-best-practices ~/.gemini/antigravity-cli/skills/dashboard-chat-best-practicesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install dashboard-chat-best-practices in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant a set of rules for changing the chat interface of the Eve chat template. It covers Next.js Cache Components and PPR behavior, a static shell with dynamic data loaded into Suspense boundaries, and theme and auth display hydration. It also sets rules for optimistic messages, stable streaming rows, the composer and sidebar, message rendering, and styling.
It is aimed at developers working on that template who want the chat surface to stay stable, fast to first paint, and predictable during streaming. The source says to run pnpm typecheck and pnpm build after UI or app-router changes. It also lists manual checks, such as theme first paint, desktop sidebar cookie restore, and mobile sidebar overlay.
Written from the project's SKILL.md and checked against it.
What it can do
- Static shell with SuspenseKeeps the chat route as a static shell with dynamic data streamed into Suspense boundaries.
- Theme and auth hydrationPreserves pre-hydration for theme and the signed-in or signed-out display to avoid flashes.
- Shared signed-in and signed-out routeRenders one route shell for both auth states and restores a draft after sign-in.
- Optimistic messagingShows an optimistic user bubble on send and clears it once the real message appears in the event log.
- Stable streaming rowsKeeps a streaming reply row's identity so it does not remount as a different component.
- Composer rulesKeeps the composer controlled by the page, with Enter to submit and Shift+Enter for a newline.
- Sidebar rulesPersists desktop sidebar state in a cookie and keeps sidebar history cursor-paginated and optimistic.
- Message renderingSets rules for user bubbles, Streamdown markdown, grouped tool rows, and collapsible reasoning blocks.
- Styling rulesSets rules for tokens, cards, radius, icons, and avoiding layout shifts in the chat UI.
- Verification checklistLists typecheck, build, and manual browser checks for visual changes on desktop and mobile.
What you need
- Eve chat template codebase
- Next.js with Cache Components enabled
- pnpm
- Better Auth for sessions
Try asking
- Update the chat shell so auth placeholders do not flash on page load.
- Add a streaming reply row that keeps its identity when the answer arrives.
- Check that the composer keeps its layout when the send button changes to Stop.
Good to know
- Written for the Eve chat template and the components it names.
- Rules refer to specific files and components in that template.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: apps/templates/eve-chat-template/.agents/skills/dashboard-chat-best-practices/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB -
agents/openai.yaml272 B
Alternatives to dashboard-chat-best-practices
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
dashboard-chat-best-practices: common questions
Does this skill work outside the Eve chat template?
The source is written for the Eve chat template and names its components, such as ChatComposer and AgentChatShell. It does not describe use in other projects.
Does the auth display hint decide who is signed in?
No. The source says the eve_logged_in cookie is a display hint only. Server actions, chat loading, Eve auth, and rate limits must use the real Better Auth session.
What checks does the skill ask for after UI changes?
It asks for pnpm typecheck and pnpm build after UI or app-router changes. It also lists manual checks for auth flicker, theme flash, and composer jumps.
How do I install dashboard-chat-best-practices?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is dashboard-chat-best-practices free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is dashboard-chat-best-practices safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to dashboard-chat-best-practices?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
