lovable-cleanup
What it does
This code removes all traces and configurations left by a tool called Lovable in programming projects built with Vite and React. It makes the project ready to be used as if it were entirely yours.
When to use it
- βWhen you export a project from the Lovable tool.
- βWhen you want to remove Lovable's branding and default files.
- βWhen you need to prepare a project for publishing or sharing.
Skill link
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/lovable-cleanup/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βClean up my Lovable project, remove the branding and default files.β
5 new skills a week. 1 minute to read.
How it works
It checks the project files, removes unnecessary dependencies, replaces default images and texts with ones you define, and cleans up the automatically generated documentation.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
lovable-cleanup
Remove every trace of Lovable scaffolding and ship the project as your own. Made with agentic-awesome-skills Β· author: whoisabhishekadhikari
Overview
Lovable (lovable.dev) bootstraps Vite + React + shadcn/ui projects with its own tagger dependency, branding, placeholder assets, and generated markdown docs baked in. Most developers export from Lovable and want a clean, ownable codebase before shipping or open-sourcing. This skill covers all 15 areas where Lovable leaves fingerprints.
When to Use This Skill
- User says "clean up my Lovable project" or "remove Lovable branding"
- User says "de-Lovable", "I exported from Lovable", or "audit for Lovable leftovers"
- Project contains
lovable-taggerinpackage.json - Project contains
CLEANUP_SUMMARY.md,DEPLOYMENT_GUIDE.md, orDEVELOPMENT_SUMMARY.md index.htmlstill has a generic<title>or Lovable favicon- User wants to audit a Vite/React project for scaffolding leftovers before shipping
Core Concepts
What Lovable injects
Lovable adds three categories of scaffolding that must be removed:
- Dependency β
lovable-taggerdev dep +componentTagger()call invite.config.ts. This is the only runtime hook; removing it is always safe. - Branding artifacts β
favicon.ico/png,og-image.png,logo.png, generic<title>, and a Lovable project URL inREADME.md. - Generated docs β
CLEANUP_SUMMARY.md,DEPLOYMENT_GUIDE.md,DEVELOPMENT_SUMMARY.md,LOGO_UPDATE.mdin the project root.
Why the execution order matters
Removing deps before editing source files avoids lockfile conflicts. Cleaning docs last means the README reflects the already-cleaned project.
Unused dep footprint
Lovable pre-installs the full shadcn/ui component set (29 components) and all Radix UI
primitives (30 packages). Most projects use 5β10. The unused ones are safe to remove but
@radix-ui/react-slot must be kept β it is an indirect dep used internally by many
shadcn components via the asChild prop.
Recommended Execution Order
- Dependencies (Areas 2 & 7) β clear the package graph first
- Build config (Area 3) β remove the tagger from Vite
- Entry points (Areas 4 & 6) β clear runtime references
- Assets (Area 5) β swap brand files (defer if assets not ready yet)
- Docs & README (Areas 1 & 10) β clean last so README reflects the cleaned project
- Environment & Git (Areas 9 & 12) β security sweep
- SEO / deploy (Area 11) β usually a no-op; confirm and move on
- Unused deps (Area 13) β safe to defer until after ship if on a deadline
- Favicon / CDN cache (Area 15) β do ASAP after assets are swapped; browser or CDN caching can keep the old icon visible, so verify the live response
Step-by-Step Guide
Area 1 Β· README.md
- Line 1: Replace
# Welcome to your Lovable projectwith the real project title - Line 5: Remove
https://lovable.dev/projects/REPLACE_WITH_PROJECT_ID - Lines 11β19: Delete the "Use Lovable" instructions block
- Lines 65β73: Delete the "Deploy via Lovable / custom domain docs" block
β After stripping, read the README end-to-end. Offer to write a replacement intro paragraph if large sections were removed.
Area 2 Β· package.json
- Remove
"lovable-tagger"fromdevDependencies - Rename
"name"from"vite_react_shadcn_ts"to the real project name (kebab-case) - Scan the
scriptsblock for"lovable"or"lovable:*"entries and remove them
grep -n "lovable" package.json
Area 3 Β· vite.config.ts
- Remove
import { componentTagger } from "lovable-tagger" - Remove
mode === 'development' && componentTagger()from the plugins array - Remove
.filter(Boolean)if it was only present to handle the conditional tagger
grep -n "lovable\|componentTagger\|filter(Boolean)" vite.config.ts
Area 4 Β· index.html
- Replace the generic
<title>with the real product name - Remove any
<!-- Generated by Lovable -->comments or Lovable meta tags - Replace the Lovable favicon reference if present
grep -in "lovable\|generator" index.html
Area 5 Β· public/ assets
β¦
FAQ
What is 'scaffolding'?
It's a set of initial files and configurations that a tool creates to help you start a project faster, but which sometimes needs to be removed for customization.
Why remove Radix dependencies?
Lovable includes many parts of Radix UI that you might not use. Removing unused ones makes the project smaller and more efficient.
What happens to icons and images?
Lovable's default icons (like the favicon) and brand images are replaced with placeholders or removed. You can then add your own.
Details
Original description by the author
Audits and strips Lovable scaffolding from Vite + React projects β removes lovable-tagger, swaps placeholder assets, prunes unused Radix deps, cleans generated docs, and neutralizes stale favicon/CDN caching so the codebase ships as yours.
Popularity
- GitHub stars
- 48k
- Ranking position
- #5120
- License
- MIT
- Updated
- 10/15/2026
Comments
- β¦
More skills from this repository
00-andruia-consultant
48kHelps your agent start or improve AI projects. It analyzes code, suggests tools, and creates action plans in Spanish.
007
48kLets your agent perform security audits and threat modeling. It's useful for protecting projects against attacks and vulnerabilities.
10-andruia-skill-smith
48kHelps your agent create or improve AI tools. It defines how tools work, writes documentation, and validates the structure.
20-andruia-niche-intelligence
48kLets your agent create a summary about a specific industry. It's useful for understanding the context, rules, usage patterns, and risks of a project, using reliable sources.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.