Skip to main content

Prompt Library Reference

Complete reference for all AI prompts included with SvelteBolt. Each prompt is designed to work seamlessly with GitHub Copilot, VS Code AI agents, and other AI-assisted development tools.

πŸ” Authentication Prompts​

File: authentication-prompts.md

PromptDescriptionUse Case
Add OAuth ProviderIntegrate Google, GitHub, Discord, or any OAuth providerSocial login options
Implement 2FAAdd two-factor authentication with TOTPEnhanced security
Magic Link AuthPasswordless authentication via emailImproved UX
Custom Auth FlowBuild custom authentication experiencesBranded auth
Role-Based AccessAdd user roles and permissionsAdmin systems
Debug Auth IssuesTroubleshoot authentication problemsBug fixing

Example Usage​

I want to add GitHub OAuth to my SvelteBolt app for developer sign-ups.
[Paste GitHub OAuth prompt]

πŸ’³ Billing & Subscriptions​

File: billing-prompts.md

PromptDescriptionUse Case
Add Subscription TierCreate new pricing plansBusiness growth
Usage-Based BillingImplement metered billingSaaS scaling
Promotional CodesAdd discount and promo systemsMarketing
Payment MethodsSupport multiple payment optionsGlobal reach
Billing AnalyticsTrack revenue and metricsBusiness intelligence
Subscription LimitsEnforce plan limitationsFeature gating
Dunning ManagementHandle failed paymentsRevenue protection

Example Usage​

I need to add a Pro plan with advanced features and $29/month pricing.
[Paste subscription tier prompt]

πŸ—„οΈ Database Operations​

File: database-prompts.md

PromptDescriptionUse Case
Add Database TableCreate new tables with RLSData modeling
Real-time FeaturesImplement live updatesInteractive features
Full-Text SearchAdd search capabilitiesContent discovery
File StorageHandle uploads and mediaContent management
Data Export/ImportBulk operations and backupsData management
Database OptimizationImprove query performanceScaling
Analytics QueriesTrack user behaviorBusiness metrics
Data RelationshipsComplex table relationshipsAdvanced features

Example Usage​

I want to add a projects table where users can create and manage multiple projects.
[Paste database table prompt]

🎨 UI & Design​

File: ui-prompts.md

PromptDescriptionUse Case
Custom BrandingApply your brand identityBrand consistency
Dark ModeAdd theme switchingModern UX
Custom ComponentsBuild reusable UI elementsDesign system
Admin DashboardCreate management interfacesAdmin tools
Data VisualizationAdd charts and graphsAnalytics display
Responsive DesignMobile-first optimizationCross-device support
AnimationsAdd micro-interactionsPolish
Notification SystemUser feedback and alertsCommunication

Example Usage​

I want to create a custom dashboard component that shows user analytics with charts.
[Paste dashboard prompt]

πŸš€ API Development​

File: api-prompts.md

PromptDescriptionUse Case
REST EndpointsBuild API routesBackend services
Third-party IntegrationConnect external servicesFeature expansion
Webhook SystemHandle real-time eventsAutomation
Background JobsProcess tasks asynchronouslyPerformance
Email SystemSend transactional emailsCommunication
Search APIImplement search functionalityContent discovery
File ProcessingHandle media operationsContent management
GraphQL APIAdd flexible data fetchingAdvanced queries

Example Usage​

I need to create a webhook system that processes Stripe payment confirmations.
[Paste webhook prompt]

πŸ“¦ Deployment​

File: deployment-prompts.md

PromptDescriptionUse Case
Vercel DeploymentDeploy to Vercel platformEasy hosting
Netlify DeploymentDeploy to NetlifyJAMstack hosting
Cloudflare PagesDeploy to CloudflareGlobal CDN
Docker SetupContainerize your appFlexible deployment
VPS DeploymentDeploy to custom serversFull control
CI/CD PipelineAutomate deploymentsDevOps
SSL & SecuritySecure your deploymentProduction ready
Performance OptimizationSpeed up your appUser experience

Example Usage​

I want to deploy my SvelteBolt app to Vercel with proper environment variables.
[Paste Vercel deployment prompt]

πŸ› οΈ Feature Extensions​

File: feature-extension-prompts.md

PromptDescriptionUse Case
Real-time ChatAdd messaging systemsUser engagement
Content ManagementBuild CMS functionalityContent creation
Multi-tenancySupport multiple organizationsB2B SaaS
Advanced AnalyticsDeep user insightsData-driven decisions
Video/Audio ProcessingMedia handlingRich content
AI/ML IntegrationAdd intelligent featuresModern capabilities
Mobile App SupportCross-platform developmentMobile reach
Advanced SearchPowerful search featuresContent discovery

Example Usage​

I want to add a real-time chat system for user collaboration in my SvelteBolt app.
[Paste chat system prompt]

πŸ”— Integrations​

File: integration-prompts.md

PromptDescriptionUse Case
Slack IntegrationConnect with SlackTeam collaboration
Discord IntegrationCommunity featuresUser engagement
Google WorkspaceProductivity integrationBusiness tools
Zapier IntegrationWorkflow automationNo-code connections
CRM SystemsSales and marketingCustomer management
Payment GatewaysMultiple payment optionsGlobal support
Analytics PlatformsBusiness intelligenceData insights
Social MediaSocial featuresContent sharing

Example Usage​

I want to integrate my SvelteBolt app with Slack for team notifications.
[Paste Slack integration prompt]

πŸ’‘ Best Practices for Using Prompts​

1. Always Include Context​

I'm using SvelteBolt with Supabase and Stripe. I want to...

2. Be Specific About Requirements​

I need Google OAuth that redirects to /dashboard after login and stores the user's Google profile picture.

3. Ask for Testing Steps​

Please include testing instructions and common troubleshooting steps.

4. Request Documentation​

Also show me how to document this feature for my team.

5. Consider Security​

Please ensure this implementation follows security best practices for production use.

πŸ”„ Prompt Customization​

All prompts can be customized for your specific needs:

Basic Customization​

Replace placeholder values:

  • [YOUR_SERVICE] β†’ Your actual service name
  • [YOUR_REQUIREMENTS] β†’ Your specific needs
  • [YOUR_USE_CASE] β†’ Your particular scenario

Advanced Customization​

Combine multiple prompts:

I want to combine authentication with billing to create a seamless onboarding flow that includes:
1. Google OAuth signup
2. Immediate subscription selection
3. Payment processing
4. Dashboard redirect

[Combine relevant prompts here]

πŸ“Š Prompt Success Metrics​

Track your AI-assisted development success:

  • Time to Feature: How quickly you ship new features
  • Code Quality: Consistency with best practices
  • Bug Reduction: Fewer issues in production
  • Learning Speed: How fast you master new concepts

πŸš€ Advanced AI Workflows​

1. Feature Planning​

Plan a complete user onboarding system for my SvelteBolt SaaS including all necessary components and their interactions.

2. Architecture Review​

Review my current SvelteBolt architecture and suggest improvements for scaling to 10,000+ users.

3. Performance Optimization​

Analyze my SvelteBolt app's performance and provide specific optimization recommendations.

Ready to accelerate your development? Choose any prompt and start building with AI assistance! πŸš€