sickn33/agentic-awesome-skills/lovable-cleanup
Claude Code and agent skill by sickn33/agentic-awesome-skills
- community
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install sickn33/agentic-awesome-skills/lovable-cleanupSKILL.md
lovable-cleanup
Remove unwanted Lovable scaffolding while preserving required attribution, licenses and useful project history.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.
Verify all configuration/import references and project-specific use before removal.
- Branding artifacts —
favicon.ico/png,og-image.png,logo.png, generic<title>,
and a Lovable project URL in README.md.
- Generated docs —
CLEANUP_SUMMARY.md,DEPLOYMENT_GUIDE.md,DEVELOPMENT_SUMMARY.md,
LOGO_UPDATE.md in the project root.
Why the execution order matters
Inspect source/config references before removing dependencies; update the manifest and lockfile with the project’s existing package manager. 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
- Audit source/config and dependencies (Areas 2 & 7) — establish each removal candidate 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
<!-- security-allowlist: grep for scanning package.json content, read-only, no network -->
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
<!-- security-allowlist: grep for scanning vite config, read-only -->
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
<!-- security-allowlist: grep for scanning HTML file, read-only -->
Area 5 · public/ assets
Replace these files (keep filenames, swap content):
| File | Action | |
|---|---|---|
favicon.ico | Overwrite with real icon — do NOT just delete, see Area 15 | |
favicon.png | Replace with real icon | |
og-image.png / logo.png | Replace with real brand assets | |
placeholder.svg | Delete only after checking source, CSS, dynamic paths and deployed references |
✅ Flag which files are actually referenced in <head> vs dead weight so the user knows what to prioritise.
Area 6 · Source files
src/main.tsx— scan for Lovable HOCs, wrappers, or commentssrc/App.tsx— same- Auto-generated components — look for
// generated by Lovableheaders
<!-- security-allowlist: grep over source files, read-only, no network -->
Area 7 · Lockfile
<!-- security-allowlist: npm uninstall removes a dev-only package, local filesystem only -->
Use yarn remove or pnpm remove if the project uses those instead.
Area 8 · package.json scripts (follow-up)
Double-check after Area 2 — scripts are sometimes injected separately from deps:
<!-- security-allowlist: grep, read-only -->
Area 9 · Environment files
<!-- security-allowlist: grep over local env files, read-only, no credentials transmitted -->
Remove any Lovable API keys or project IDs. If a variable is Lovable-only, delete the entire line — don't leave an empty key.
Area 10 · Root markdown docs
Delete or repurpose these common Lovable-generated files:
CLEANUP_SUMMARY.mdDEPLOYMENT_GUIDE.mdDEVELOPMENT_SUMMARY.mdLOGO_UPDATE.md
<!-- security-allowlist: grep over markdown files, read-only -->
✅ Skim each file before deleting — Lovable docs sometimes contain useful architecture notes worth preserving in a rewritten CONTRIBUTING.md or ARCHITECTURE.md.
Area 11 · SEO & deploy config
Usually clean — confirm and move on:
<!-- security-allowlist: grep over config files, read-only -->
After replacing og-image.png, update OG meta in index.html:
Area 12 · Git config
<!-- security-allowlist: grep and ls on local git config, read-only -->
Inspect Lovable-specific entries/hooks. Preserve secret/build ignores, license notices and useful safety hooks; remove only confirmed obsolete behavior.
Area 13 · Unused dependencies
Step 1 — Map what's actually imported
<!-- security-allowlist: grep over source files, read-only, writes to private temp dir only -->
Step 2 — Diff against installed
<!-- security-allowlist: grep and diff on local package.json and private temp files, read-only -->
Step 3 — Bulk remove & verify
<!-- security-allowlist: npm uninstall removes unused local packages, no network mutation -->
Area 14 · Generic Lovable artifacts
components.json— verifystyle,baseColor, andaliasesmatch the real projecteslint.config.js— usually standard; quick scan only
<!-- security-allowlist: grep on config files, read-only -->
Area 15 · Favicon removal & stale CDN caches (Vercel)
Lovable ships a default favicon.ico that browsers auto-request from site root and that can remain visible after cleanup through browser or CDN caching. Handle the four steps — replace the path, link all icon flavours, keep unversioned icon URLs revalidatable, and verify after deploy — then purge the confirmed Vercel project cache only if the live response stays stale. Full commands/JSON live in references/favicon-vercel-cleanup.md.
Master Scan Command
<!-- security-allowlist: recursive grep across project directory, read-only, no network -->
Examples
Example 1: Full audit from scratch
Example 2: Targeted dep pruning only
Best Practices
- ✅ Do: Inspect source/config imports before removing dependencies
- ✅ Do: Skim Lovable-generated docs before deleting — may contain useful arch notes
- ✅ Do: Verify
npm run buildpasses after every batch of changes - ✅ Do: Replace favicons at the existing paths (Area 15), then verify the
live response and purge only the confirmed project if it remains stale
- ✅ Do: Deploy replacement favicon content and cache headers in the same commit
- ✅ Do: Replace OG image before launch — it directly affects social sharing previews
- ❌ Don't: Remove
@radix-ui/react-slot— it's an indirect dep of most shadcn components - ❌ Don't: Leave empty env vars like
LOVABLE_PROJECT_ID=— delete the whole line
Limitations
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/lovable-cleanup/SKILL.md
Popularity
- Repository stars
- 47,054
- Repository forks
- 6,853
- 7-day trend score
- 54
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sickn33/agentic-awesome-skills/lovable-cleanup)