/lovable:review-my-workspacefrom Lovable
Audits all projects in a Lovable workspace for exposed secrets, missing row-level security, open sign-up on personal data, and unintended public access. Returns a ranked table for human action.
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.Read-only across the workspace. The output is a table a person can work down, with the evidence next to each row. Nothing is changed by this skill; fixes hand off to fix-and-ship or the Lovable editor.
| Tool | Used for | Required? |
|---|---|---|
get_me | workspace | yes |
list_projects | every project, paginated | yes |
get_project | published state, visibility, latest commit | yes |
list_files, read_file | config, env and client files to scan | yes |
list_edits | last activity date | yes |
get_database_status, query_database (SELECT only) | RLS, policy clauses, public buckets | no (skipped when no database) |
If the person names one project, review only that one. Otherwise get_me, choose the workspace, list_projects and follow cursor until done. More than 30 projects: ask whether to review all or published first. Default to published first, and say how many are in each group.
For each project, in this order:
get_project: published or not, visibility, latest_commit_sha.list_files at that sha (100 per page; follow cursor). Read .lovable/project.json to learn the stack, then pick the files worth reading: lovable.toml, src/integrations/supabase/client.ts, supabase/functions/** and supabase/config.toml on the older stack, src/integrations/auth/**, src/lib/** and drizzle/migrations/*.sql on the TanStack stack, plus any file whose name contains key, secret, token or config. .env is usually present; try it, and if the harness refuses the read, record "not readable here" rather than skipping silently.read_file on those. Scan for: sk_live, sk_test, service_role, -----BEGIN, AKIA, ghp_, xoxb-, and any JWT beyond the Supabase anon key. The anon key in the client is expected and is not a finding; say so once. Also read publish_audience from get_project (present only on published projects): public with user data behind no sign-in is a finding. Read secret-looking files in their own read_file calls, apart from ordinary ones (see references/lovable.md).list_edits (the newest edits), for the last change date: the latest created_at on it.get_database_status. When enabled:
select t.tablename, t.rowsecurity,
coalesce(string_agg(p.policyname || ' [' || p.cmd || ' to ' || array_to_string(p.roles, ',') || '] using (' || coalesce(p.qual, '') || ') check (' || coalesce(p.with_check, '') || ')', '; '), '(none)') as policies
from pg_tables t
left join pg_policies p on p.tablename = t.tablename and p.schemaname = 'public'
where t.schemaname = 'public'
group by t.tablename, t.rowsecurity
order by t.tablename;
select id, public from storage.buckets;
Run the two statements as separate query_database calls. If storage.buckets cannot be read, record "buckets not readable here". Then two more reads:
select table_name, column_name from information_schema.columns
where table_schema = 'public'
and column_name ~* '(credential|secret|token|password|api_?key|private_?key|(^|_)key$)';
select p.proname, pg_get_functiondef(p.oid) as def
from pg_proc p join pg_namespace n on n.oid = p.pronamespace
where n.nspname = 'public' and p.prorettype = 'trigger'::regtype;
A column named like a credential may hold secrets in plain text: report the table and column, never the values. Read each trigger function for role grants: one that makes the first account to sign up an admin, owner or editor (it checks that no users or roles exist yet) with no email check lets whoever signs up first take over the app. Also run the sign-up check from the Access rule: a trigger that requires a confirmed email before insert on auth.users blocks every email-and-password sign-up.
This read usually works for workspace members on projects they do not own. A table with RLS off in a published app is a finding. A table with RLS on and zero policies is a finding of a different kind (nobody can read it, which may be intended). A policy that names one person's email locks everyone else out; quote the policy name. A policy to authenticated with using (true) lets every signed-in user read every row; on a table with personal data that matters only if anyone can sign up, so look for the email check in the policies' using and check clauses, following any helper function and flagging a suffix match without the at sign (see references/lovable.md). A restriction found only in the auth code or the route gate (src/integrations/auth/**, src/integrations/supabase/auth-*) can be bypassed with the client key and counts as no restriction. A policy to anon or to public with using (true) on personal data is the same as RLS off. A public storage bucket serves its files to anyone with the link. Report each plainly.
to anon or to public with using (true), on a table that holds personal data (names, emails, addresses).One table: project, finding, evidence (file path or table name as read), severity, what to do, where to do it (fix-and-ship, or the Cloud tab in the Lovable editor via editor_url). Then one line per project with nothing found. Then what was not checked and why (no database, more than 30 projects, files too large).
fix-and-ship for each finding, one at a time, starting with the first row.
tiers:
reads-only: everything in this skill
spends-credits: none
ships-live: none; every fix hands off to fix-and-ship or the editor
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
lovable, workspace-audit, security-review, rls-check, secret-scanning
13 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./document-my-appWrites a brief, spec, README or handover doc for an app built on Lovable, grounded in that project's actual code, schema and change log, and keeps the project knowledge that Lovable's agent reads up to date. Use whenever the person asks for documentation about a Lovable app or project: "write the brief for my Lovable app", "handover doc for my Lovable app", "document this Lovable project", "what does my Lovable app do", "update the project knowledge", or a spec from a Lovable project's code. For docs about code in a local repository or a codebase outside Lovable, a documentation skill fits better./find-what-to-buildReads the person's real week (calendar, inbox, the sheets they keep editing) or asks five questions, proposes the three tools worth building first with the evidence for each, and builds one on Lovable only when they pick it. Use when the person says "what should I build", "where would an app help", "I don't know where to start with Lovable", "look at what I do every week", or "find the repeatable work". For general brainstorming with no intent to build, a brainstorming skill fits better./first-customersBuilds a CRM the person owns on Lovable and loads it with companies that match their best customer, found through the tools connected in Claude, each row with its source. Use when the person says "find companies like our best customer", "first customers", "build me a CRM", "a place to track outreach", "200 companies like X", or wants their own place to track early sales. Use it when the outcome is an app they keep using. For a one-off lead list in chat, contact enrichment, or loading leads into an existing CRM, a sales or prospecting skill fits better.npx claudepluginhub lovablelabs/mcp --plugin lovableOther plugins' skills for the same job