Set a goal for Lovable
You can tell Lovable to work on a big task until it's completely finished by starting your message with "/goal". This is useful for large projects that need a lot of work and might take a long time.
Anyone building software who has a complex feature or large task they want Lovable to complete fully without interruption.
Do this, in order
- 1
Start your message in the chat with "/goal" followed by a clear description of what you want Lovable to achieve.
This tells Lovable to treat your request as a long-term project it will work on until completion, rather than a single, quick response.
- 2
Make sure your goal description includes all the details Lovable needs to finish the task on its own, like what the final result should look like, important decisions, and any necessary connections to other services.
Lovable won't stop to ask you questions during a goal, so it needs enough information upfront to make decisions and complete the work.
- 3
Send the message.
Lovable will then begin working on your goal, and you'll see it marked as "Goal" in your chat history.
Paste this into your project
/goal Refactor the checkout flow to support saved payment methods, update the database schema, and add tests for the new endpoints. The new checkout flow should allow users to select from previously saved payment methods, or add a new one. The database schema needs new tables for 'saved_payment_methods' linked to user accounts. All new endpoints for managing payment methods must have comprehensive unit and integration tests. Ensure the user interface updates smoothly to reflect saved payment options.
Words decoded
- Build mode
- This is a way Lovable works where it actively creates or changes code and other parts of your project.
- Credit check-in level
- This is a setting that pauses Lovable's work and asks you if you want to continue once a certain amount of your usage credits have been spent.
- Follow-up messages
- These are additional messages you send to Lovable while it's still working on a task, to give new instructions or adjust its direction.
- Connectors
- These are tools that allow Lovable to link up with and use other online services or systems.
- Secrets
- These are private pieces of information, like passwords or API keys, that Lovable needs to access other services securely.
Where people get stuck
- Do not set a goal if Lovable is already working on a regular message, as your goal command will be ignored.
- Be aware that goals can take many hours and cost significantly more credits than regular messages, as Lovable continues working until the task is complete.
- Avoid vague goal descriptions; Lovable won't ask clarifying questions during a goal, so it needs all necessary details upfront to succeed.
- Ensure all necessary connections and private information (like API keys) are set up before starting a goal that requires them, or Lovable will stop early.
The short version, steps, decoder and prompt on this page are written automatically from Lovable's own documentation and can lag or misread it. The official page is always the authority.