Back to Learn

    Advanced Lovable Prompting: Skills, Goals and Prompt Chains

    Once a structured first prompt works, the next gains come from the parts of Lovable most builders never open: Skills you invoke with a slash, goal runs that keep working for hours, Plan mode for the fix that keeps failing, references to other projects and files, and refinement prompts chained onto a working build. This guide covers each one, quoted from Lovable's documentation, with the library's own chained prompts as the worked example.

    Updated

    Advanced Lovable prompting hero: the guide title beside a card showing a /goal command, a /skill command, an @project reference, an @file reference, two refinement prompts and a Plan mode rule

    What makes a Lovable prompt advanced?

    Not length. A first prompt on an empty project should already be structured, and the prompting guide covers that. Advanced prompting is using the controls Lovable puts around the chat box: the mode picker with Build, Chat and Plan; the slash menu with Skills and goals; the @ menu for project and file references; and the pattern of chaining a refinement prompt onto a build that works. All of it is documented by Lovable, and the descriptions on this page are quoted from those docs, read on 26 September 2026.

    The Lovable chat mode picker open above the input: Build, make changes directly, ticked; Chat, marked Free, ask anything, explore ideas; Plan, detailed spec for complex builds; and a hint to switch modes with a keyboard shortcut
    The mode picker in the project chat: Build, Chat (marked free) and Plan. Marco's own workspace, 26 September 2026.
    The Chat actions menu opened from the plus button in the Lovable chat: a search field, then Project, Help center, Add context with an @ shortcut, and Attach files
    The plus button's Chat actions menu: Project, Help center, Add context (also reachable by typing @) and Attach files. Same session.

    How do you chain prompts without breaking what already works?

    By running the second prompt against the output of the first and saying what must stay untouched. Lovable's best-practices rule for a change prompt is what to build, where it goes and what must stay untouched, and its library page says to run one prompt at a time so every prompt builds on the app's current state. The library on this site applies that 151 times: every Pro variant ends with a numbered Refinement Prompts section written to run after the base build, 302 chained prompts in total, counted from the data.

    Chained refinement prompts in the library, by category
    App Builder60API & Integration32Backend Logic30SaaS App30UI/UX28Landing Page22Claude Code20Cursor20Base4420CRM App20Admin Dashboard20
    Chained refinement prompts in the library, by category
    Categoryrefinement prompts
    App Builder60
    API & Integration32
    Backend Logic30
    SaaS App30
    UI/UX28
    Landing Page22
    Claude Code20
    Cursor20
    Base4420
    CRM App20
    Admin Dashboard20

    Counted from the numbered Refinement Prompts lines in each Pro variant at build time, 302 across 151 prompts.

    Here are the two that follow “SaaS MVP with User Auth”, verbatim. Each names the thing that already exists, the one change, and the rule that holds, which is the whole chaining technique in two lines.

    1. Refinement 1: “Invited users currently sign up cold. Pre-fill their email from the invite token and skip the workspace-creation step for them.”
    2. Refinement 2: “Add a soft seat limit: free workspaces cap at 5 members, with an upgrade prompt for the owner, enforced in the database, not only the UI.”

    On the SaaS run on 26 September 2026, Lovable's own follow-up suggestions after the build were the same shape: “Create team onboarding plans” and “Track workspace activity”, one feature each, against a working foundation. The chain is the product; the first prompt is the seed.

    When should you use a Skill, the knowledge file, or a goal?

    Three different mechanisms for three different jobs, and Lovable's docs draw the lines. A Skill is a reusable workflow at workspace level with “a name, a description that tells Lovable when to use it, and markdown instructions that Lovable follows when the skill applies”; it applies automatically when a request matches or when you type a slash and pick it, it is shared with every project in the workspace, and it is available on all plans. The knowledge file is “always included in context” and suits universal rules. A goal, started with /goal, is a Build message Lovable keeps working on “until the goal is achieved”, for “up to 10 hours on the one message”, during which it “doesn't pause to ask questions about the work”.

    Skills, knowledge and goals in Lovable, as its documentation describes them
     SkillKnowledgeGoal
    What it isA named, on-demand workflow in markdownPersistent context read before every editA Build message that runs until done
    When it appliesWhen the request matches its description, or via /AlwaysWhen you type /goal
    ScopeWorkspace, shared with every projectWorkspace or project, 10,000 characters eachOne message, up to 10 hours
    Asks questionsAs the skill instructsNot applicableNo, it makes routine decisions itself
    CostThe Build work it triggersNoneBilled on the work; noticeably more than a regular Build message
    FitsChecklists, release steps, content templatesCoding standards, personas, schema, constraintsA feature you can describe as done or not done

    The prompts on this site are written as the middle case: a structured Build message that asks its questions first. Turn one into a Skill when you find yourself pasting it into a third project, and into a goal only when you can state the finish line and are content not to be asked anything on the way.

    How do you debug in Lovable when a fix keeps failing?

    Lovable's debugging guide sets the order. First the Try to fix button, which comes with “10 free fixes” that reset every 24 hours. Then describe the bug rather than the frustration: what is broken, where, what you expected, what happened. Then, and this is the rule most people miss, switch modes: “repeated blind fixes tend to pile up code that hides the real problem. Switching to Plan mode after one or two failed attempts is usually faster than trying again.” Plan mode “investigates your project and writes a structured plan you can review, edit, and approve before any code is written” and costs “1 credit, plus the cost of any subagent research”. Last, revert: version history, or “Revert and resend” on a past message.

    Lovable's debugging order, from its own guide
    1Try to fix10 free per 24 hours2Describe the bugwhere, expected, actual3Plan modeafter 1 to 2 misses4Approve the planthen Build applies it5Revert andresend
    1. Try to fix: 10 free per 24 hours
    2. Describe the bug: where, expected, actual
    3. Plan mode: after 1 to 2 misses
    4. Approve the plan: then Build applies it
    5. Revert and resend: if the path is wrong

    Steps from Lovable's debugging guide and Plan mode documentation, read on 26 September 2026.

    The debugging guide also publishes the prompts to use in Plan mode, and they are good ones to keep. Three of them, quoted:

    • “What is the root cause of this build error? Show me the relevant code”
    • “This error keeps coming back. Can we take a different approach?”
    • “What solutions have we already tried for this error? List them”

    How do you reference another project or a specific file?

    With @. Lovable's cross-project referencing lets a prompt reuse “implementations across projects in your workspace, including code, assets, files, and chat history”; the example in the docs is “Use the logo and color palette from @BrandSite”. What can be pulled: components and layout systems, animations and styling, auth flows and API integrations, feature implementations, images and fonts, and relevant chat history. The limits, stated on the same page: workspace only, “all cross-project access is read-only”, restricted projects need explicit access, and a chat may hold up to 10 project references in one message.

    Inside one project, the project chat docs say to type @ and pick a file from the code so “Lovable works on exactly that file”, which is the precise form of “what must stay untouched”: a refinement prompt that names the file it may change is a refinement prompt that cannot wander into the ones it may not.

    What are meta prompting and reverse meta prompting?

    Two patterns from Lovable's own Prompting Bible, the third and fourth of its four levels. Meta prompting is having the AI rewrite your prompt before you run it; the handbook's example is “Rewrite this prompt to be more concise and detailed” followed by a rough login-page request. Reverse meta prompting is the same move after a debugging session: “Summarize the errors we encountered while setting up JWT authentication and how they were resolved. Create a detailed prompt I can use next time.” The first sharpens the input; the second turns a painful hour into a reusable Skill-shaped artifact.

    Both fit Chat mode, which the mode picker marks as free and the chat docs price at “typically a fraction of a credit” covered first by the daily chat allowance, because neither should touch code. The output of a reverse meta prompt is exactly what Lovable's Skills feature is built to store.

    Where to go from here

    Every category page in the library carries a suggested build order, which is the chaining pattern applied to that kind of app, and every Pro variant carries the refinement prompts counted above. The common mistakes guide prices the failures the debugging order above is designed to avoid, and the app builder guide walks through the editor these controls live in. If you also build with Claude Code, its slash commands and skills are the same idea on the other side of the terminal, covered in Claude Code commands.

    Sources

    All checked on 26 September 2026.

    What changed

    • 26 September 2026: rebuilt around the features Lovable documents as advanced (Skills, goals, Plan and Chat modes, references, the debugging order, meta prompting), each quoted from the docs fetched that day; the library's refinement prompts counted and charted as the chaining example; two editor screenshots, a debugging flow, a Skills-knowledge-goals table, six FAQs, hero and sources; the page moved from a client component to a server-rendered one. The mock prompt chains of the earlier version are gone.

    Frequently asked

    What counts as an advanced Lovable prompt?↓
    One that uses the parts of Lovable beyond a single Build message: a Skill invoked with a slash, a goal run that keeps working for hours without asking, Plan mode for scoping and debugging, a reference to another project or a specific file, or a chained refinement prompt that names what must stay untouched. Each is documented by Lovable and each is covered on this page with the docs quoted.
    What is the difference between a Skill and the knowledge file?↓
    Per Lovable's docs, knowledge is always included in context and suits universal rules such as coding standards, while a Skill loads on demand when a request matches its description, or when you type a slash and pick it, and suits task-specific workflows such as a checklist or a content template. Skills live at the workspace level and are shared with every project in it.
    What is a goal run and what does it cost?↓
    A goal, started with /goal, is a Build message Lovable keeps working on until the goal is achieved, for up to 10 hours, without pausing to ask questions. It is billed on the work done and Lovable says it costs noticeably more than a regular Build message; it stops at the goal, at 10 hours, at the stop button, at a credit check-in, or when it needs something only you can provide.
    How many refinement prompts does the library contain?↓
    302, counted from the prompt data at build time: every Pro variant carries a numbered Refinement Prompts section written to run after the base prompt has built, which is the chaining pattern this page describes, applied 151 times.
    When should I switch from Build mode to Plan mode?↓
    After one or two failed fix attempts, in Lovable's own words: repeated blind fixes pile up code that hides the problem, and switching to Plan mode to investigate the root cause is usually faster than trying again. A Plan message costs one credit plus any research it runs and changes no code until you approve the plan.
    What is reverse meta prompting?↓
    A pattern from Lovable's Prompting Bible: when a debugging session ends, ask the AI to document what went wrong and how it was fixed as a prompt you can reuse next time. Meta prompting is the forward version, asking the AI to rewrite a prompt to be more concise and detailed before you run it.

    Related reading

    Written by

    Marco Kohns

    Marco Kohns

    Founder of ProtoBites - Venture Growth Studio

    Growth PM at a Silicon Valley scale-up (a16z and General Catalyst backed), ex-Techstars where he consulted 13 early-stage startups, Reforge-trained. Every prompt on this site comes out of shipping ProtoBites' own portfolio products.