/lovable:document-my-appfrom Lovable
Generates briefs, specs, READMEs, and handover docs for Lovable-built apps by analyzing project code, schema, and change logs. Also updates project knowledge for Lovable's agent.
Ships in Lovable. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Rules (apply to every step of this skill):
create_project, send_message, an approved respond_to_approval and import-claude-design-from-url. Before any of them, say what will be built or changed, quote an estimate (about 1 credit for a plan or a small change, about 2 for a static page, 7 to 11 for an app with a database and sign-in) and wait for a yes. One yes covers one call. Afterwards, report cost_credits. Only call a step free of credits when it uses reading tools alone. Paid lookups in other connected tools (enrichment and data providers) cost the person money too: say how many and ask first./mcp in Claude Code), and stop before the first step that needs a Lovable tool. In the same reply, still ask the skill's questions and do its written steps, and say what it will make in Lovable and that steps that spend credits wait for a yes.get_me first; with several workspaces, list them and ask. Read get_workspace_knowledge for the business profile that know-my-business writes, and do not ask again for what it already says. A 403 means the person is a member, not an admin: ask once and keep the answers in this conversation.Sign-in domain, or ask once) can sign up, and every table's policies check the signed-in email. Any check that the email is verified runs at sign-in.references/lovable.md, Access checks). If something falls short, offer one fix message with its own yes. Tell the person who can sign up and who can read and change what, as found, never as requested, and never call an app safe to share. Describe a team app as "only people with an email at can sign up, and the database refuses everyone else", never as "only your team can sign in" or "sign-in limited to your domain". Ask for the domain as "which email domain may sign up".create_project and send_message with wait: false, keep the project id, the top-level message id and the thread id when one is returned, and follow the build with get_message (wait_seconds up to 55, repeated) until response.status is completed, awaiting_input, stopped or error. Never wait on get_project.agentFinished: it stays false while a build waits for an approval. Read the result (which fields, in references/lovable.md), then:
respond_to_approval. A new message would replace the pending proposal. Approvals for keys and payments happen in the Lovable editor; give the editor_url.references/lovable.md).get_workspace), and warn when the profile's Never public line or the app's data says it must stay private. The audience is set in the editor's Publish menu. Afterwards, report the audience. Rolling back is done from the editor's version history: note the commit before a change and name the version to restore.references/lovable.md says where things live in each kind of Lovable project and how to read the database (allowed values, safe writes, recent edits). Cite paths and table names as read; say "not found" rather than guess.editor_url to change the work and the preview or live URL to use it. Promise no schedules; recurring runs are a Claude feature the person sets up.The document says only what the code and schema say. Every claim traces to a file or a table. Inferences are labelled. The project knowledge that Lovable's agent reads on every build gets a proposed update at the end, shown side by side before it replaces anything.
| Tool | Used for | Required? |
|---|---|---|
get_me, list_projects, get_project | resolve the app | yes |
get_project_knowledge | current instructions Lovable's agent follows | yes |
list_files, read_file | routes, pages, integrations, functions, package.json | yes |
get_database_status, query_database (SELECT on information_schema) | the data model as it is | no |
list_edits | recent changes | yes |
set_project_knowledge | write the updated knowledge | after a yes |
list_projects by name, confirm, get_project. get_project_knowledge (readable by members on projects they do not own). list_files through every page of results. read_file .lovable/project.json first, then in this order: README.md, change-log.md when present (Lovable keeps a dated log of every prompt and change there), .lovable/plan/* when present, the routes (src/routes/** on TanStack Start, src/App.tsx and src/pages/** on the older stack), src/lib/**, src/integrations/supabase/types.ts, drizzle/migrations/*.sql or supabase/functions/**, lovable.toml, package.json. Schema truth is information_schema.columns for public, not drizzle/schema.ts (blank on purpose). list_edits for the last 20 changes.
Ask which shape once if not obvious: brief (one page, for a stakeholder), spec (for someone changing it), README (for the repo), handover (for someone taking it over). All four share the sections:
list_edits (the newest edits), sorted by created_at.editor_url, and this plugin's fix-and-ship.
Label every inference "inferred". Say "not found" for a section with no evidence.Draft project knowledge under 10,000 characters: purpose and users, conventions found in the code, tables and their meaning, areas not to touch, brand or voice rules from the workspace profile. Show current knowledge and the proposed version side by side, and say plainly that set_project_knowledge replaces the whole text. Keep every line of the current knowledge verbatim unless the person asks to change it, including any business profile section; add or update only the sections this draft covers.
set_project_knowledge with the approved text. Read it back with get_project_knowledge and confirm.
The document in the shape asked for, the list of files and tables it was built from, and the knowledge update as written.
fix-and-ship for the unfinished items the document found.
tiers:
reads-only: the whole document and the proposed knowledge
spends-credits: none
ships-live: set_project_knowledge after a yes; nothing is published
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub lovablelabs/mcp --plugin lovable13 skills in this plugin
/ask-my-app-dataAnswers questions from a Lovable app's live database in plain language, with the SQL shown: signups this week, revenue by plan, the numbers for an investor update. Read-only. Use when the person asks "how many signed up", "what's in my app's data", "weekly numbers", "investor update numbers", "query my Lovable app", or any question a table in one of their Lovable apps can answer. For data in a warehouse, a spreadsheet or another tool, a data skill fits better./build-from-this-conversationTurns the idea already worked out in this Claude conversation into a live Lovable app with a database, access the database limits to the right people, and a URL. Use when the person says "make this real", "build this", "turn this into an app", "build what we just discussed", "put this on Lovable", or "ship it" about an idea in the conversation. When the starting point is a spreadsheet or a Claude Design, spreadsheet-to-app or claude-design-to-app fits better./claude-design-to-appTurns a Claude Design that was sent to Lovable into a working app that keeps the design and adds the data, sign-in and actions behind it. Use when the person says "I just sent a design to Lovable", pastes an Open in Lovable link or project id from Claude Design, or says "make the imported design work", "build this design", "turn this design into an app", or "Claude Design to Lovable". For design critique or edits to the design itself, stay in Claude Design.Other plugins' skills for the same job