What problem does it solve?
This skill provides reusable implementation patterns extracted from better-chatbot for custom AI chatbot deployments. Use this skill to implement server action validators, tool abstraction systems, multi-AI provider support, and workflow execution in your own projects (not contributing to better-chatbot itself).
Core Features & Use Cases
- Server action validators (auth + validation + FormData): Standardized server actions with typed validation and error handling.
- Tool abstraction system (branded type tags): Consistent runtime type checks across multiple tool types.
- Multi-AI provider setup: Unified integration pattern for OpenAI, Anthropic, Google, and others.
- Workflow execution patterns: Structured state management and workflow orchestration patterns.
- Portable templates: Ready-to-adapt patterns for any project.
Quick Start
Copy the templates into your project, wire up your authentication, provider registry, and state management, then reuse the patterns across server actions and tools.