/lovable:lovable-draftsfrom lovable
Manages Lovable drafts: create, build, review diffs, accept/reject, and enforce data isolation rules. Use when the user mentions drafts or wants to try changes without touching the main version.
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.
None: SKILL.md is the whole skill.
Read the drafts reference before creating, building in, accepting, or rejecting a draft. Apply prompt authorization, credit efficiency, and instruction boundaries.
Core rules:
main only when the draft is accepted. Keep doing ordinary
code changes locally and pushing to the configured main branch.db/seed.sql rows) or shares the live backend (when the project uses its own
Supabase project, or Lovable cannot set up a draft backend). Before any data-writing test, read
backend_kind from create_draft/get_draft; unless it clearly shows an isolated draft backend,
treat draft writes as production writes; rejecting or deleting a draft does not undo them.
Secrets and connected services use live values in every draft. A project has at most
500 open drafts; Lovable removes a new draft after 24 hours without activity; a shared preview
link shows only the main version. Accept applies schema, storage settings and backend functions
immediately; publish from main right after when the draft renames/removes something the
published app uses.send_message(..., draft_id); review with get_diff(draft_id) and the
draft preview. Answer awaiting_input pauses only with the user's decision via
respond_to_approval; never answer a pause with another send_message.accept_draft. On pending, wait with get_draft; never accept
twice. After merged, pull main locally before continuing.backend_kind, diff summary, preview link, and outcome (merged,
merged_with_warning, failed, needs_attention, rejected, or pending). Never claim an
accept finished from a pending result.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub 10k-digital/lovable-agent-skills --plugin lovable9 skills in this plugin
/initInitialize or reinitialize a Lovable project for coding agents. Create or refresh .lovable-agent configuration and context, AGENTS.md, and the Claude compatibility shim while preserving project settings, custom instructions, tests, and local credentials./lovableIntegration skill for Lovable.dev projects. Activates when working with:
- Lovable.dev projects with GitHub sync
- Supabase Edge Functions that need deployment
- Database migrations for Lovable Cloud
- Projects with supabase/ directory structure
- Any mention of "Lovable", "deploy edge function", "apply migration"
- Lovable drafts (creating, reviewing, accepting, or rejecting a draft)
Provides exact Lovable prompts for backend operations that can't be done via GitHub alone.
/Other plugins' skills for the same job