laguagu/claude-code-nextjs-skills / skills/ai-app
ai-app
VerifiedBuilds full-stack Next.js AI applications with the AI SDK and the shadcn/ui AI Elements patterns. Use when creating a chatbot, agent dashboard or custom AI application.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 2.5 KB |
| references/agent-dashboard.md | markdown | 1.2 KB |
| references/chatbot.md | markdown | 1.2 KB |
| references/examples.md | markdown | 771 B |
| references/project-structure.md | markdown | 896 B |
references/chatbot.md
View on GitHub# Chatbot contract
Use the installed-major quickstart in [AI SDK docs](https://ai-sdk.dev/docs/getting-started/nextjs-app-router)
and inspect the installed AI Elements components.
A complete conversation needs matching stream/transport protocols, controlled
input, text and relevant non-text parts, cancellation, recoverable errors and
a second turn. Persist UI messages if history must restore the same tool
results, sources and attachments; reconstruct model input with the SDK's
validated conversion rather than casting browser JSON.
Add web search only when the task needs current or external evidence. Verify
the selected provider's tool and citation capabilities in its current docs.
Display actual source URLs; a tool result is not automatically a citation.
Attachments need server-side limits and provider-compatible media handling.
A model selector needs an allowed server-side model set and compatibility with
the conversation's features. Neither belongs in every chat.
For server persistence, authorization and approval, follow the chatbot guides in
the installed AI SDK's docs (`ai-sdk`). For component composition, use the shadcn/ui AI Elements
patterns (`shadcn`), or `ai-elements` for components already installed from
elements.ai-sdk.dev.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |