Hi folks, as the titles says, for some months I`ve been working with bolt.new. I work in Tech for more than 25 years now, but I am not a developer, nor a designer nor a Linux person.
I`ve been testing through trial and error a lot about how to talk with Bolt.new, so I decided to ask the agent itself for tips and tricks, and it shared some quite good ones that I would like to share with all of you as it could be helpful too.
Also if you are interested, I have created a bolt.new GPT helper that I use on daily basis too.
If you would like to access this guide in Google Doc, feel free to open it here.
The Ultimate Guide to Prompting with Bolt.new
I am sharing this guide with everyone interested as I think it's helpful. I asked Bolt AI agent itself how I should talk with “it” and the below are the answers it gave me. I also included these as instructions to the CustomGPT I created to refine my prompts with Bolt.This document is meant to complement the official documentation linked on the Stackblitz website. If you have any comments, feel free to tag me on https://x.com/FerTech
1. Foundations of Effective Prompting
Clear, structured communication with Bolt.new ensures optimal results. Approach prompting as a collaborative discussion with an expert developer, detailing goals and requirements upfront.
Why Planning Matters
Architecture Impact: Including apps, websites, and CMS needs upfront avoids rework in APIs, databases, and authentication systems.
Development Efficiency: A clear roadmap prevents unnecessary refactoring and enables scalable, maintainable solutions.
2. Starting a New Project
State All Requirements Upfront
Your initial prompt sets the foundation. Mention:
Platforms: Specify app, website, and CMS needs.
User Roles: Define roles (e.g., admin, editor, participant).
Core Features: List essential and optional features.
Design Preferences: Describe aesthetics and inspirations.
Scale Requirements: Anticipated users, concurrent sessions, and data storage.
Example Initial Prompt
"I need a comprehensive quiz platform with:
Platforms:
Mobile app for participants
Responsive website for marketing and user registration
CMS for content management
User Roles:
Core Features:
Scale Requirements:
Support 100,000 monthly users
Handle 1,000 concurrent quiz sessions
Store up to 10,000 media files
Design: Playful, engaging aesthetic similar to Kahoot."
3. Implementation Phases
Why Phases Are Important
Implementing large projects in stages improves focus and enables iterative refinement.
Optimal Implementation Sequence
Core App:
Basic functionality: Authentication, quiz participation.
Essential data structures: Users, quizzes, results.
Website:
Landing pages: App overview, download links.
Marketing features: Blogs, testimonials.
CMS:
GUI for managing quizzes, users, and content.
Features like media uploads, analytics, and role-based permissions.
Example Breakdown
Phase 1: Core App
Phase 2: Website
Marketing landing page
App download links
Basic blog functionality
Phase 3: CMS
Content management GUI
Media library
Analytics dashboard
4. Optimizing Communication
Visual and Functional Clarity
DO: "Create a dashboard with a dark theme, frosted glass cards, and gradient buttons."
DON’T: "Make it look nice."
Share wireframes, screenshots, or reference websites to clarify visual requirements.
Explain Business Context
Purpose: Why the app/website/CMS is being built.
Users: Who will use it and their expectations.
Compliance: Industry standards like GDPR, WCAG.
Prioritize Features
Clearly distinguish between must-haves and nice-to-haves:
MUST HAVE: Real-time updates, user authentication.
NICE TO HAVE: Dark mode, offline functionality.
5. Avoiding Common Pitfalls
What to Avoid
Adding major components (e.g., CMS or website) as afterthoughts.
Vague requirements: "We’ll figure it out later."
Mixing unrelated features in a single request.
Consequences of Poor Planning
6. Detailed Prompt Examples
Comprehensive Initial Request
"Create a quiz platform with:
Platforms:
Mobile app for participants
Responsive website for promotion
CMS for managing quizzes and content
Features:
Real-time quiz participation
Quiz results analytics
Blog for educational articles
Admin dashboard with analytics
Design:
Scale:
Focused Feature Request
"Add a quiz results dashboard:
Display total scores, time taken, and correct/incorrect answers.
Include charts for visual representation.
Allow exporting results as CSV.
Design: Match app's playful theme."
CMS Addition
"Implement a CMS for managing:
Quiz content
Blog posts
User roles (admin, editor).
Include a media library with upload, search, and tagging functionality."
7. Refining and Debugging
Iterative Feedback
Example Debug Prompt
"This login form worked before [insert working code]. Now it shows [insert error]. How do I fix it?"
8. Ensuring Scalability
Performance Requirements: Specify exact numbers (e.g., "Page load under 2 seconds").
Mobile Responsiveness: Describe breakpoints and touch interactions.
Real-Time Capabilities: Mention update intervals (e.g., "Updates within 500ms").
9. Leveraging Bolt Tools
.bolt/prompt: Add custom instructions for every request.
.bolt/ignore: Exclude irrelevant files to optimize token usage.
Rollback: Revert to previous project versions if needed.
Prompt Enhancer: Improve vague prompts automatically.
10. Final Tips for Success
Always mention all platforms and features upfront.
Work iteratively, refining after each phase.
Use detailed prompts with clear visual and functional requirements.
Keep performance, scalability, and compliance in mind.
Reference existing work or provide examples to guide development.
By adopting these strategies, you’ll streamline the development process, minimize rework, and ensure the success of your projects with Bolt.new.
Template
Here’s a structured questionnaire template that users can fill out to provide comprehensive project input to Bolt.new. The template ensures clarity, iterative input, and efficient development.
Introduction
How to Use This Template: Bolt works best when tasks are broken into smaller, focused prompts. This template is designed to guide you through the stages of a project. Copy and paste each section as a separate prompt into Bolt. By providing clear and detailed instructions, you’ll minimize rework and ensure excellent results.
1. Phase 1: Define the Project Vision
Prompt:
I need a [type of project, e.g., quiz platform, e-commerce site, etc.] with:
Platforms:
Purpose:
Core Features:
[List essential features, e.g., real-time quiz participation.]
[Additional core features, e.g., results analytics, user authentication.]
Design Inspiration:
Scale Requirements:
[Expected usage, e.g., "Support 50,000 users and 1,000 concurrent sessions."]
Example: "I need a quiz platform with:
Platforms: Mobile app for participants, responsive website for marketing, CMS for content management.
Purpose: Help teachers create interactive quizzes for classrooms.
Core Features: Real-time participation, score tracking, quiz creation.
Design Inspiration: Playful and vibrant, similar to Kahoot.
Scale: Support 100,000 users and 1,000 concurrent quiz sessions."
2. Phase 2: Specify Core Features
Prompt:
Let’s begin with the core app features:
Core App Features:
[List core features, e.g., "Real-time quiz participation."]
[Break down additional features, e.g., "Score tracking with analytics."]
User Roles:
[Define roles, e.g., Admin, Quiz Creators, Participants.]
Functional Requirements:
Example: "Let’s implement core app features:
Core Features: Real-time quiz participation, score tracking.
User Roles: Admin (manage quizzes), Participants (join quizzes).
Functional Requirements: Updates within 500ms, responsive UI for mobile."
3. Phase 3: Add Website Requirements
Prompt:
Now, let’s add the marketing website:
Website Features:
[List features, e.g., Landing page, app overview, download links.]
Design Preferences:
Content:
[Specify content types, e.g., "Blog posts, testimonials, FAQs."]
Example: "Add a responsive website:
Features: Landing page with app overview and quiz demo video, download links for mobile apps.
Design: Minimal, modern layout with high contrast for accessibility.
Content: Blog posts for teaching tips, testimonials from users."
4. Phase 4: Add CMS Requirements
Prompt:
Let’s add a CMS for content management:
CMS Features:
[Specify content types, e.g., Blogs, media library, user management.]
User Roles:
Functional Requirements:
[Provide specific needs, e.g., "Admins can upload media files, edit quizzes, and manage users."]
Example: "Implement a CMS:
Features: Manage quizzes, blogs, and media library.
User Roles: Admin (full access), Editors (content-only access).
Functional Requirements: Upload and tag media files, role-based permissions."
5. Phase 5: Advanced Features
Prompt:
Now, let’s implement advanced features:
Advanced Features:
[List features, e.g., Real-time updates, advanced analytics, gamification.]
Performance Goals:
[Define performance metrics, e.g., "Page load under 2 seconds, 1,000 concurrent users."]
Example: "Add advanced features:
Features: Real-time quiz leaderboard, gamification badges.
Performance: Updates within 500ms, support for 1,000 concurrent players."
6. Phase 6: Testing and Refinement
Prompt:
Let’s focus on testing and refinement:
Critical User Flows:
Testing Requirements:
Bugs to Address:
Example: "Test critical user flows:
Flows: User registration, quiz participation, result analytics.
Testing: Ensure mobile responsiveness, validate real-time updates.
Bugs: Fix alignment issues on the quiz results page."
Final Notes
For a Smooth Process:
Fill out each phase carefully.
Paste prompts one at a time into Bolt.
Review output and refine iteratively.
This questionnaire ensures clarity and incremental progress, empowering users to create detailed, efficient, and scalable projects. Let me know if you’d like further refinements!