Skip to content

Conversation

@danielandreasson
Copy link
Collaborator

Removed all the made up info that was there prior. Had 0 value and was very wordy. Replaced it by rewriting Felix's prompting guide (which can be in found in the PR at the start) to a Mintlify version

@gemini-code-assist
Copy link

Summary of Changes

Hello @danielandreasson, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces a comprehensive rewrite of the prompting guide, transforming it from a verbose and less structured document into a practical, phase-based playbook. The update aims to provide users with clearer, more actionable strategies for effective prompting within Lovable, directly integrating insights from an external "Mastering Lovable" guide to enhance the quality and consistency of UI generation.

Highlights

  • Content Overhaul: The entire prompting guide has been rewritten, removing previous verbose and less valuable information to provide a more focused and practical resource.
  • Structured Guide: The page now features a highly structured guide, organized into distinct phases (Lay the Foundation, Think in Systems, Build with Precision, Iterate and Ship) for better clarity and usability.
  • External Guide Integration: The new content is based on Felix's prompting guide and mirrors the public guide at mastering-lovable.lovable.app, presented in a Mintlify-compatible format.
  • Practical Prompting Focus: The emphasis has shifted to practical 'prompt hacks' and actionable advice, aiming to help users achieve high-quality UI results faster and more consistently in Lovable.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request is a total revamp of the prompting guide, replacing the previous lengthy and verbose content with a much more structured, concise, and actionable guide. The new version is a significant improvement, broken down into clear phases with practical tips and examples that will be very helpful for users. I've included a couple of minor suggestions to enhance formatting consistency. Overall, this is an excellent rewrite.


<Info>
_Please refrain from modifying the homepage, focus only on the dashboard component._
Even a simple three‑step sketch — Hero → Features → CTA — can make your prompts 10× more effective.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For consistency with the rest of the document, consider removing the spaces around the em-dashes (). All other em-dashes in this file are used without surrounding spaces.

  Even a simple three‑step sketch—Hero → Features → CTA—can make your prompts 10× more effective.

<Info>
_Connect the form to Stripe (test mode) for payments. On success, redirect to /thank-you._
</Info>
> Tip: You don't need a working backend during design—but shaping your UI as if it's already there is how you future‑proof your layout.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This blockquote is used for a tip, which is inconsistent with other blockquotes in the file that are used for direct quotes. For better consistency and to visually distinguish this as a tip, consider using the <Info> component, similar to its use on line 41.

<Info>
  **Tip:** You don't need a working backend during design—but shaping your UI as if it's already there is how you future‑proof your layout.
</Info>

## Phase 4: Iterate and Ship

You might not prompt these platforms in natural language the same way, but designing an automation **still benefits from clear AI instructions**.
### 11. Build with Supabase in mind
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@danielandreasson this whole section should talk about Cloud now though?


To help you make the most out of Lovable, we compiled a list of prompting strategies and approaches. Some of these were collected from our team's experience, and others were shared with us by our community members. Since Lovable relies on large language models (LLMs), effective prompting strategies can significantly improve its efficiency and accuracy.
Use this practical playbook to get consistent, high‑quality results in Lovable. The content below mirrors the public guide at [mastering-lovable.lovable.app](https://mastering-lovable.lovable.app/).

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need the image or link to the guide if we copied it. @danielandreasson

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And this is great, my plan was to run this guide by Lazar and see if he had any more ideas and then turn it into a "basics of prompting" guide that would be a section on the landing page.

Do you think that's a good next step? @danielandreasson

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will remove the link etc, I do like the image though. Nice "entrence" to this otherwise quite long doc

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's an image of nothing :D Maybe add something prompt related at least :)

- Utilize developer tools: open the browser DevTools console to inspect an element or debug a JavaScript error in real time. Once you identify the fix, you can either implement it directly or confirm via a prompt.
**This video will further help you master prompt engineering inside Lovable.**
<iframe width="100%" height="315" src="https://www.youtube.com/embed/IqWfKj4mUIo?si=aHVQNRgD8xF7EW06" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen />

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@danielandreasson do we want to keep this 1h video? also feels out of place here under visuals?

@danielandreasson danielandreasson merged commit 945aa70 into main Nov 5, 2025
1 check passed
@danielandreasson danielandreasson deleted the daniel/prompting-update branch November 5, 2025 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants