Available Templates
Customer Service
Professional customer support assistant for e-commerce and service businesses
Coding Assistant
Expert coding helper for writing, debugging, and explaining code
Research Assistant
Academic research helper for literature review and analysis
Data Analyst
Data analysis expert for insights, visualization, and statistical analysis
Security
Reusable security template for adding guardrails to any prompt
Multilingual
Multilingual support template for handling multiple languages
Accessibility
Accessibility template for inclusive, screen-reader friendly interactions
Quick Start
All templates are exported frompromptsmith-ts/templates:
Template Categories
Domain-Specific Templates
These templates are designed for specific use cases and can be used directly:- Customer Service - E-commerce support, order tracking, returns
- Coding Assistant - Code writing, debugging, explanations
- Research Assistant - Academic research, citations, literature review
- Data Analyst - Data analysis, visualization, insights
Composable Templates
These templates are designed to be merged with your domain-specific prompts:- Security - Add security constraints and guardrails
- Multilingual - Add multi-language support
- Accessibility - Add accessibility best practices
Customization
All templates return aSystemPromptBuilder, so you can further customize them:
Merging Templates
Composable templates can be merged with domain-specific templates:Best Practices
- Start with a template - Use templates as a foundation and customize rather than building from scratch
- Add security - Merge the security template for any customer-facing agent
- Test with examples - Templates include examples; test your customizations against similar scenarios
- Layer templates - Combine domain templates with composable templates for comprehensive coverage
- Customize incrementally - Start with template defaults, then add your specific requirements
Next Steps
Builder API
Learn about the full SystemPromptBuilder API
Merging Prompts
Deep dive into merging and composing prompts