Presets

AI App

ai-app
npx @loomcraft/cli init ai-app
General

Name

AI App

Description

AI-powered application with LLM integration, RAG pipeline, streaming, and tool use.

Agents
orchestratorbrainstormerplannerfrontendbackenddatabasetestsreview-qaperformance
Skills
brainstormingtask-planningcode-reviewproject-bootstrapai-patternsapi-designdrizzle-patternstesting-patternsnextjs-conventionstailwind-patternsshadcn-uienv-validation
Constitution

Principles

  • Stream by default — never make users wait for complete AI responses
  • Cost-aware — choose the right model size for each task
  • Validate AI output — LLM responses are untrusted input
  • Graceful degradation — always have a fallback when AI fails

Conventions

  • Use Vercel AI SDK for LLM integration
  • Implement streaming for all AI-generated content
  • Validate LLM JSON output with Zod schemas
  • Cache embeddings and frequent queries
  • Rate limit AI endpoints per user
Context

Project Description

This is an AI-powered application (chatbot, RAG, or AI agent). The orchestrator coordinates AI feature brainstorming, pipeline planning, LLM integration development, and testing to deliver a responsive, cost-effective AI experience.