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

    UNA AUTOMATIZACION PARA REVIT

    Cursor
    Enhanced
    Minimalist
    light mode
    2h ago

    Generated Prompt

    PROJECT SETUP
    Create a new project directory named "RevitAutomation". Inside this directory, set up the following file structure:
    
    ```
    RevitAutomation/
    β”‚
    β”œβ”€β”€ src/
    β”‚   β”œβ”€β”€ components/
    β”‚   β”‚   β”œβ”€β”€ AutomationForm.js
    β”‚   β”‚   β”œβ”€β”€ AutomationList.js
    β”‚   β”‚   └── AutomationItem.js
    β”‚   β”œβ”€β”€ utils/
    β”‚   β”‚   └── api.js
    β”‚   β”œβ”€β”€ styles/
    β”‚   β”‚   └── App.css
    β”‚   β”œβ”€β”€ App.js
    β”‚   └── index.js
    β”œβ”€β”€ public/
    β”‚   β”œβ”€β”€ index.html
    β”‚   └── favicon.ico
    β”œβ”€β”€ 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. AutomationForm: A form component for users to define automation tasks.
    2. AutomationList: A component that displays a list of created automations.
    3. AutomationItem: Represents each individual automation in the list.
    4. API utilities: Functions for making API calls to handle automation tasks.
    
    IMPLEMENTATION APPROACH
    1. Set up the main App component in App.js which will render the AutomationForm and AutomationList components.
    2. In the AutomationForm component, create a form with input fields necessary for defining a new automation. Use controlled components to manage form state.
    3. Handle form submission by calling a function that sends the automation details to the server via the API utility.
    4. The AutomationList will fetch and display all automations using the API utility when the component mounts.
    5. Each AutomationItem will display the automation details and provide delete and edit functionality.
    
    Example code for AutomationForm:
    
    ```javascript
    import React, { useState } from 'react';
    import { createAutomation } from '../utils/api';
    
    const AutomationForm = () => {
      const [taskName, setTaskName] = useState('');
    
      const handleSubmit = async (e) => {
        e.preventDefault();
        await createAutomation({ name: taskName });
        setTaskName('');
      };
    
      return (
        <form onSubmit={handleSubmit} style={{ borderRadius: '8px' }}>
          <input
            type="text"
            value={taskName}
            onChange={(e) => setTaskName(e.target.value)}
            placeholder="Enter automation task"
            required
          />
          <button type="submit" style={{ backgroundColor: '#1978E5', borderRadius: '8px' }}>
            Create Automation
          </button>
        </form>
      );
    };
    
    export default AutomationForm;
    ```
    
    ARCHITECTURE CONSIDERATIONS
    The application will follow a component-based architecture, with a clear separation of concerns. Components will manage their own state and communicate with the API through utility functions. Use of React hooks for state management and side effects will enhance performance and readability.
    
    ERROR HANDLING
    Implement error handling in the API utility functions to catch any issues during network requests. Display user-friendly messages in the UI for failed operations. For example, show an error message if creating an automation fails.
    
    ```javascript
    export const createAutomation = async (automationData) => {
      try {
        const response = await fetch('/api/automations', {
          method: 'POST',
          headers: {
            'Content-Type': 'application/json',
          },
          body: JSON.stringify(automationData),
        });
        if (!response.ok) throw new Error('Failed to create automation');
        return await response.json();
      } catch (error) {
        console.error(error);
        throw error;
      }
    };
    ```
    
    TESTING STRATEGY
    Utilize Jest and React Testing Library for unit testing components and utility functions. Ensure all components are tested for rendering and functionality. For API calls, mock fetch requests to simulate server responses during testing.
    
    By following this structure and best practices, you'll create a robust and maintainable automation tool for Revit.

    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!