Complete documentation for the ShipSafe AI-SaaS boilerplate - an AI-powered extension of ShipSafe.st with OpenAI, Anthropic, streaming, and subscription-based access control.
🚀 Quick Start
New to ShipSafe AI-SaaS? Start here:
- First AI Chat - Build your first AI chat interface
- AI Features Overview - Understand AI capabilities
- AI Components Overview - Explore UI components
- Subscription Access - Set up access control
📚 Documentation Sections
🎯 AI Features
Comprehensive AI feature documentation:
- AI Client - Unified OpenAI/Anthropic client
- API Routes - AI API endpoints reference
- Streaming - Real-time streaming responses
- Prompts - System prompts and tiered templates
- Moderation - Content safety and validation
- Subscription Access - Access control
Perfect for: Understanding AI features, setup instructions, integration guides
🧩 AI Components
Complete AI component reference:
- Chat Interface - Complete chat UI
- Chat Sidebar - Conversation management
- Chat Message - Individual message display
- Subscription Status - Subscription display
- Typing Indicator - Loading states
Perfect for: Component usage, building AI interfaces, customization
🎓 AI Tutorials
Step-by-step guides to build AI features:
- First AI Chat - Build your first chat interface
- Streaming Responses - Implement real-time streaming
- Custom Prompts - Create domain-specific assistants
Perfect for: Learning by doing, building AI features, understanding patterns
🔗 Quick Links
Essential Setup
- AI Client Setup - Configure OpenAI/Anthropic
- Subscription Access - Set up access control
- Core ShipSafe Docs - Base boilerplate documentation
- Cursor Prompts - AI-SaaS specific prompts for Cursor AI
Popular Tutorials
- First AI Chat - Quick start tutorial
- Streaming Responses - Real-time streaming
- Custom Prompts - Domain-specific assistants
Core Features
- AI Features Overview - All AI capabilities
- AI Components Overview - UI components
- Core ShipSafe Features - Base features
📖 Documentation Structure
The AI-SaaS documentation extends the core ShipSafe documentation with AI-specific features.
🧠 AI Features
Path: docs/features/ai/
AI capabilities and integrations:
- AI Client (OpenAI, Anthropic)
- API Routes (chat, stream endpoints)
- Streaming responses
- Prompt management
- Content moderation
- Subscription access control
🧩 AI Components
Path: docs/components/ai/
AI-specific UI components:
- Chat Interface
- Chat Sidebar
- Chat Message
- Subscription Status
- Typing Indicator
🎓 AI Tutorials
Path: docs/tutorials/ai/
Step-by-step AI development guides:
- First AI Chat
- Streaming Responses
- Custom Prompts
🎯 Documentation Philosophy
ShipSafe AI-SaaS documentation follows these principles:
- Comprehensive - Complete guides with examples
- Practical - Real code from ShipSafe AI-SaaS implementation
- Security-First - Security best practices throughout
- Boilerplate-Friendly - Easy to customize and extend
- Concept + Code - Explains why and shows how
💡 Tips for Using This Documentation
- Start with First AI Chat - Build your first feature quickly
- Follow Tutorials - Learn by building features step-by-step
- Reference Components - Use component docs when building UI
- Check Features - Understand how features work before customizing
- Review Core Docs - Understand base ShipSafe features first
- Use Cursor Prompts - Check
cursor_prompts.mdfor ready-to-use AI prompts
🔗 Related Documentation
- Core ShipSafe Documentation - Base boilerplate docs
- ShipSafe Features - Authentication, billing, etc.
- ShipSafe Components - Base UI components
- ShipSafe Tutorials - Base tutorials
- Cursor Prompts - AI-SaaS specific Cursor AI prompts
- Core Cursor Prompts - Base ShipSafe prompts
- Cursor AI Workflow - AI development guide
🤝 Contributing
Found an error or have a suggestion?
- Open an issue on GitHub
- Submit a pull request
- Share feedback with the community
Built with ShipSafe AI-SaaS - AI-powered SaaS boilerplate ⚡