Lovable Prompt Creator - AI Prompt Generator

Generate Optimized Prompts for AI Development Platforms

Transform your web or app idea into comprehensive, optimized prompts for Lovable, Bolt, Replit, v0, and Cursor. Our AI-powered tool helps you create production-ready prompts with features, styling, and technical specifications.

Key Features

Pricing

Free plan: 2 prompts to try the tool

Pro plan: $4.99/month - 20 prompts per month, all platforms

100 Prompts pack: $24.99 - One-time purchase, no expiration

Trusted by 10,000+ Users

Join thousands of developers creating amazing apps with AI-powered prompts.

    Hi! Welcome to LovablePrompts.app
    Lovable Prompts Logo
    Public

    I am in the middle of building an gym

    Cursor
    Enhanced
    Minimalist
    light mode
    1h ago

    Generated Prompt

     PROJECT SETUP
    The project structure for the gym app will be organized as follows:
    
    ```
    /gym-app
    β”‚
    β”œβ”€β”€ /src
    β”‚   β”œβ”€β”€ /components
    β”‚   β”‚   β”œβ”€β”€ Heatmap.jsx
    β”‚   β”‚   β”œβ”€β”€ Timer.jsx
    β”‚   β”‚   β”œβ”€β”€ WorkoutEditor.jsx
    β”‚   β”‚   β”œβ”€β”€ WorkoutHistory.jsx
    β”‚   β”‚   β”œβ”€β”€ OneRepMaxCalculator.jsx
    β”‚   β”‚   └── StreakTracker.jsx
    β”‚   β”‚
    β”‚   β”œβ”€β”€ /hooks
    β”‚   β”‚   └── useWorkout.js
    β”‚   β”‚
    β”‚   β”œβ”€β”€ /contexts
    β”‚   β”‚   └── WorkoutContext.js
    β”‚   β”‚
    β”‚   β”œβ”€β”€ /utils
    β”‚   β”‚   └── calculations.js
    β”‚   β”‚
    β”‚   β”œβ”€β”€ App.jsx
    β”‚   β”œβ”€β”€ index.js
    β”‚   └── styles.css
    β”‚
    β”œβ”€β”€ /public
    β”‚   └── index.html
    β”‚
    β”œβ”€β”€ package.json
    └── README.md
    ```
    
    DESIGN REQUIREMENTS
    - Visual Style: minimalist - Clean, simple design with plenty of white space, minimal color palette, and focus on typography
    - Color Mode: Light theme with dark text on light backgrounds
    - Primary Color: #1978E5 (accent for buttons, links, highlights)
    - Typography: Use Inter from Google Fonts for headings, Inter for body text and UI elements
    - Border Radius: 8px (moderately rounded) for buttons, cards, and inputs
    
    CORE COMPONENTS
    1. **Heatmap**: A visual representation of muscle group engagement, using a realistic color scheme for muscle activation.
    2. **Timer**: A rest timer that auto-starts between sets and provides sound notifications.
    3. **WorkoutEditor**: Component for editing and deleting saved workouts.
    4. **WorkoutHistory**: Displays a history of past workout sessions organized by date.
    5. **OneRepMaxCalculator**: A built-in calculator for determining the one-rep max for each exercise.
    6. **StreakTracker**: Weekly workout streak tracker presented as a calendar heatmap, similar to GitHub's contribution graph.
    
    IMPLEMENTATION APPROACH
    1. **Heatmap Component**: 
       - Use a library like Chart.js to create the heatmap.
       - Ensure realistic color mapping based on muscle group activation.
    
       Example:
       ```jsx
       import { Heatmap } from 'react-chartjs-2';
    
       const MuscleHeatmap = () => {
           const data = {
               // Data structure for heatmap
           };
           return <Heatmap data={data} />;
       };
       ```
    
    2. **Timer Component**: 
       - Implement useEffect for timing and sound notification.
       
       Example:
       ```jsx
       const Timer = () => {
           const [time, setTime] = useState(0);
           useEffect(() => {
               const timer = setInterval(() => setTime(prev => prev + 1), 1000);
               return () => clearInterval(timer);
           }, []);
           return <div>{time}s</div>;
       };
       ```
    
    3. **WorkoutEditor Component**: 
       - Include forms for editing and deleting workouts.
       
       Example:
       ```jsx
       const WorkoutEditor = ({ workout }) => {
           const handleDelete = () => {
               // Logic to delete workout
           };
           return (
               <div>
                   <h2>Edit Workout</h2>
                   <button onClick={handleDelete}>Delete</button>
               </div>
           );
       };
       ```
    
    ARCHITECTURE CONSIDERATIONS
    - Utilize React Context for managing global state related to workouts.
    - Follow a component-based architecture to ensure reusability and separation of concerns.
    - Implement hooks for shared logic, such as workout calculations and timers.
    
    ERROR HANDLING
    - Implement try-catch blocks in asynchronous functions for API calls.
    - Validate user input in forms to prevent errors (e.g., non-numeric values in the One Rep Max Calculator).
    
    TESTING STRATEGY
    - Use Jest and React Testing Library for unit tests on components.
    - Ensure integration tests cover interactions between components, especially for the WorkoutEditor and WorkoutHistory.
    - Implement end-to-end tests using Cypress to simulate user behavior throughout the app.
    
    This prompt is crafted to provide detailed, production-ready code that follows best practices for Cursor, addressing all specified needs for your gym app.

    Loved by thousands of makers from

    From early prototypes to real products, they started here.

    Lovable
    Uber
    Tiffany & Co
    K Fund
    Fever
    Filmin
    Playtomic
    Lovable
    Uber
    Tiffany & Co
    K Fund
    Fever
    Filmin
    Playtomic
    Lovable
    Uber
    Tiffany & Co
    K Fund
    Fever
    Filmin
    Playtomic
    Civitatis
    Blablacar
    Mercado Libre
    Zomato
    Zurich
    IE
    Civitatis
    Blablacar
    Mercado Libre
    Zomato
    Zurich
    IE
    Civitatis
    Blablacar
    Mercado Libre
    Zomato
    Zurich
    IE
    How it works

    Generate optimized prompts for your vibe coding projects

    1

    Generate prompt

    Enter a brief description of the app you want to build and get an optimized prompt

    2

    Review and use your prompt

    Review (and edit if necessary) the generated prompt, then copy it or open it directly in your chosen platform

    3

    Get inspired with new ideas

    Get AI-generated suggestions to expand your product with features that will surprise your users

    Frequently Asked Questions

    Everything you need to know about creating better prompts for your Lovable projects

    Still have questions?

    Can't find what you're looking for? We're here to help!