lovable-cleanup
Fungsinya
Kode ini menghapus semua jejak dan konfigurasi yang ditinggalkan oleh alat bernama Lovable pada proyek pemrograman yang dibangun dengan Vite dan React. Proyek ini dibuat siap digunakan seolah-olah sepenuhnya milik Anda.
Kapan dipakai
- βSaat Anda mengekspor proyek dari alat Lovable.
- βSaat Anda ingin menghapus branding dan file bawaan Lovable.
- βSaat Anda perlu menyiapkan proyek untuk dipublikasikan atau dibagikan.
Link skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/lovable-cleanup/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βBersihkan proyek Lovable saya, hapus branding dan file bawaannya.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Kode ini memeriksa file proyek, menghapus dependensi yang tidak diperlukan, mengganti gambar dan teks bawaan dengan yang Anda tentukan, lalu membersihkan dokumentasi yang dibuat otomatis.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
β¦
Pertanyaan umum
Apa itu 'scaffolding'?
Scaffolding adalah kumpulan file dan konfigurasi awal yang dibuat oleh suatu alat untuk membantu Anda memulai proyek lebih cepat. Namun, terkadang bagian ini perlu dihapus agar proyek bisa disesuaikan.
Mengapa dependensi Radix perlu dihapus?
Lovable menyertakan banyak bagian dari Radix UI yang mungkin tidak Anda gunakan. Menghapus yang tidak terpakai membuat proyek lebih ringan dan efisien.
Apa yang terjadi pada ikon dan gambar?
Ikon bawaan Lovable (seperti favicon) dan gambar merek akan diganti dengan placeholder atau dihapus. Setelah itu, Anda bisa menambahkan milik Anda sendiri.
Detail
Deskripsi asli dari pembuat
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.
Popularitas
- Bintang GitHub
- 48k
- Peringkat
- #5120
- Lisensi
- MIT
- Diperbarui
- 15/10/2026
Komentar
- β¦
Skill lain dari repositori ini
00-andruia-consultant
48kMembantu agent Anda memulai atau meningkatkan proyek AI. Agent menganalisis kode, menyarankan tools, dan membuat rencana aksi dalam bahasa Spanyol.
007
48kMemungkinkan agent Anda melakukan audit keamanan dan threat modeling. Berguna untuk melindungi proyek dari serangan dan celah keamanan.
10-andruia-skill-smith
48kMembantu agent Anda membuat atau meningkatkan tools AI. Agent mendefinisikan cara kerja tools, menulis dokumentasi, dan memvalidasi strukturnya.
20-andruia-niche-intelligence
48kMemungkinkan agent Anda membuat ringkasan industri tertentu. Berguna untuk memahami konteks, aturan, pola penggunaan, dan risiko proyek dengan sumber terpercaya.
Skill serupa
openclaw-update
394kMembantu agent Anda memperbarui OpenClaw Gateway yang sudah ada, dengan memilih metode pembaruan yang sesuai cara pemasangannya dan menjaga sesi Anda tetap berjalan.
diagnose-gateway
394kMembantu agent Anda mencari tahu mengapa OpenClaw Gateway gagal dengan memeriksa pengaturan, channel, dan port tanpa mengubah apa pun.
crabbox-apps
394kMembantu agent Anda membuka dan menjalankan aplikasi di mesin cloud sementara, lalu menampilkan tampilannya di panel samping chat Anda.