opencode-skills-collection 3.0.46 → 3.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled-skills/.antigravity-install-manifest.json +10 -1
- package/bundled-skills/2slides-ppt-generator/SKILL.md +1 -1
- package/bundled-skills/2slides-ppt-generator/scripts/create_pdf_slides.py +2 -1
- package/bundled-skills/2slides-ppt-generator/scripts/generate_narration.py +2 -1
- package/bundled-skills/2slides-ppt-generator/scripts/generate_slides.py +13 -7
- package/bundled-skills/android-dev/references/hybrid.md +7 -4
- package/bundled-skills/android-dev/references/react-native.md +5 -2
- package/bundled-skills/atlas-contract/SKILL.md +4 -4
- package/bundled-skills/atlas-ledger/SKILL.md +10 -7
- package/bundled-skills/bun-development/SKILL.md +1 -1
- package/bundled-skills/cloud-penetration-testing/SKILL.md +1 -1
- package/bundled-skills/codebase-to-wordpress-converter/SKILL.md +1 -0
- package/bundled-skills/docs/integrations/jetski-cortex.md +3 -3
- package/bundled-skills/docs/integrations/jetski-gemini-loader/README.md +1 -1
- package/bundled-skills/docs/maintainers/repo-growth-seo.md +3 -3
- package/bundled-skills/docs/maintainers/skills-update-guide.md +1 -1
- package/bundled-skills/docs/users/bundles.md +1 -1
- package/bundled-skills/docs/users/claude-code-skills.md +1 -1
- package/bundled-skills/docs/users/gemini-cli-skills.md +1 -1
- package/bundled-skills/docs/users/getting-started.md +1 -1
- package/bundled-skills/docs/users/kiro-integration.md +1 -1
- package/bundled-skills/docs/users/usage.md +4 -4
- package/bundled-skills/docs/users/visual-guide.md +4 -4
- package/bundled-skills/dos-verify-done-claims/SKILL.md +173 -0
- package/bundled-skills/ecl-harness-engineer/LICENSE +21 -0
- package/bundled-skills/ecl-harness-engineer/SKILL.md +714 -0
- package/bundled-skills/ecl-harness-engineer/agents/analyzer.md +119 -0
- package/bundled-skills/ecl-harness-engineer/agents/auditor.md +212 -0
- package/bundled-skills/ecl-harness-engineer/agents/creator-config.md +343 -0
- package/bundled-skills/ecl-harness-engineer/agents/creator-docs.md +201 -0
- package/bundled-skills/ecl-harness-engineer/agents/creator-linters.md +123 -0
- package/bundled-skills/ecl-harness-engineer/references/adapters/adapter-schema.md +204 -0
- package/bundled-skills/ecl-harness-engineer/references/adapters/generic.md +156 -0
- package/bundled-skills/ecl-harness-engineer/references/adapters/go.md +212 -0
- package/bundled-skills/ecl-harness-engineer/references/adapters/java.md +205 -0
- package/bundled-skills/ecl-harness-engineer/references/adapters/python.md +225 -0
- package/bundled-skills/ecl-harness-engineer/references/adapters/rust.md +220 -0
- package/bundled-skills/ecl-harness-engineer/references/adapters/typescript.md +245 -0
- package/bundled-skills/ecl-harness-engineer/references/architecture-diagrams.md +420 -0
- package/bundled-skills/ecl-harness-engineer/references/audit-templates.md +649 -0
- package/bundled-skills/ecl-harness-engineer/references/capability-registry.md +485 -0
- package/bundled-skills/ecl-harness-engineer/references/darwin-eval-prompts.md +373 -0
- package/bundled-skills/ecl-harness-engineer/references/documentation-templates.md +741 -0
- package/bundled-skills/ecl-harness-engineer/references/durability-patterns.md +423 -0
- package/bundled-skills/ecl-harness-engineer/references/ecl-harness.md +1431 -0
- package/bundled-skills/ecl-harness-engineer/references/environment-config-guide.md +534 -0
- package/bundled-skills/ecl-harness-engineer/references/environment-detection-guide.md +751 -0
- package/bundled-skills/ecl-harness-engineer/references/eval-templates.md +377 -0
- package/bundled-skills/ecl-harness-engineer/references/gc-templates.md +798 -0
- package/bundled-skills/ecl-harness-engineer/references/greenfield-templates.md +1385 -0
- package/bundled-skills/ecl-harness-engineer/references/linter-templates.md +448 -0
- package/bundled-skills/ecl-harness-engineer/references/observability-templates.md +315 -0
- package/bundled-skills/environment-setup-guide/SKILL.md +2 -2
- package/bundled-skills/evolution/SKILL.md +1 -1
- package/bundled-skills/gitops-workflow/SKILL.md +1 -1
- package/bundled-skills/linkerd-patterns/SKILL.md +1 -1
- package/bundled-skills/loki-mode/examples/todo-app-generated/frontend/package-lock.json +504 -1317
- package/bundled-skills/loki-mode/examples/todo-app-generated/frontend/package.json +2 -2
- package/bundled-skills/lovable-cleanup/SKILL.md +416 -0
- package/bundled-skills/monopoly/SKILL.md +397 -0
- package/bundled-skills/monopoly/patterns/SKILL.md +331 -0
- package/bundled-skills/monopoly/scale-benchmarks/SKILL.md +174 -0
- package/bundled-skills/monopoly/security-checklist/SKILL.md +69 -0
- package/bundled-skills/monopoly/tech-matrix/SKILL.md +268 -0
- package/bundled-skills/pagespeed-enhancer/SKILL.md +579 -0
- package/bundled-skills/polis-protocol/SKILL.md +6 -3
- package/bundled-skills/unship/SKILL.md +11 -5
- package/bundled-skills/uv-package-manager/resources/implementation-playbook.md +1 -1
- package/bundled-skills/varlock/SKILL.md +2 -2
- package/package.json +1 -1
- package/skills_index.json +204 -4
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@types/react": "^19.2.7",
|
|
16
16
|
"@types/react-dom": "^19.2.3",
|
|
17
|
-
"@vitejs/plugin-react": "^
|
|
17
|
+
"@vitejs/plugin-react": "^6.0.2",
|
|
18
18
|
"typescript": "^5.9.3",
|
|
19
|
-
"vite": "^
|
|
19
|
+
"vite": "^8.0.16"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"react": "^19.2.3",
|
|
@@ -0,0 +1,416 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: lovable-cleanup
|
|
3
|
+
description: "Audits and strips Lovable scaffolding from Vite + React projects — removes lovable-tagger, swaps placeholder assets, prunes unused Radix deps, and cleans generated docs so the codebase ships as yours."
|
|
4
|
+
risk: safe
|
|
5
|
+
source: community
|
|
6
|
+
source_repo: whoisabhishekadhikari/lovable-cleanup
|
|
7
|
+
source_type: community
|
|
8
|
+
author: whoisabhishekadhikari
|
|
9
|
+
date_added: "2026-06-13"
|
|
10
|
+
tags: [lovable, cleanup, vite, react, shadcn, devtools]
|
|
11
|
+
tools: [claude, cursor, codex, antigravity, gemini-cli]
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# lovable-cleanup
|
|
15
|
+
|
|
16
|
+
> Remove every trace of Lovable scaffolding and ship the project as your own.
|
|
17
|
+
> Made with [antigravity-awesome-skills](https://github.com/sickn33/antigravity-awesome-skills) · author: **whoisabhishekadhikari**
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Overview
|
|
22
|
+
|
|
23
|
+
Lovable (lovable.dev) bootstraps Vite + React + shadcn/ui projects with its own tagger
|
|
24
|
+
dependency, branding, placeholder assets, and generated markdown docs baked in. Most
|
|
25
|
+
developers export from Lovable and want a clean, ownable codebase before shipping or
|
|
26
|
+
open-sourcing. This skill covers all 14 areas where Lovable leaves fingerprints.
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## When to Use This Skill
|
|
31
|
+
|
|
32
|
+
- User says "clean up my Lovable project" or "remove Lovable branding"
|
|
33
|
+
- User says "de-Lovable", "I exported from Lovable", or "audit for Lovable leftovers"
|
|
34
|
+
- Project contains `lovable-tagger` in `package.json`
|
|
35
|
+
- Project contains `CLEANUP_SUMMARY.md`, `DEPLOYMENT_GUIDE.md`, or `DEVELOPMENT_SUMMARY.md`
|
|
36
|
+
- `index.html` still has a generic `<title>` or Lovable favicon
|
|
37
|
+
- User wants to audit a Vite/React project for scaffolding leftovers before shipping
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## Core Concepts
|
|
42
|
+
|
|
43
|
+
### What Lovable injects
|
|
44
|
+
|
|
45
|
+
Lovable adds three categories of scaffolding that must be removed:
|
|
46
|
+
|
|
47
|
+
1. **Dependency** — `lovable-tagger` dev dep + `componentTagger()` call in `vite.config.ts`.
|
|
48
|
+
This is the only runtime hook; removing it is always safe.
|
|
49
|
+
2. **Branding artifacts** — `favicon.ico/png`, `og-image.png`, `logo.png`, generic `<title>`,
|
|
50
|
+
and a Lovable project URL in `README.md`.
|
|
51
|
+
3. **Generated docs** — `CLEANUP_SUMMARY.md`, `DEPLOYMENT_GUIDE.md`, `DEVELOPMENT_SUMMARY.md`,
|
|
52
|
+
`LOGO_UPDATE.md` in the project root.
|
|
53
|
+
|
|
54
|
+
### Why the execution order matters
|
|
55
|
+
|
|
56
|
+
Removing deps before editing source files avoids lockfile conflicts. Cleaning docs last
|
|
57
|
+
means the README reflects the already-cleaned project.
|
|
58
|
+
|
|
59
|
+
### Unused dep footprint
|
|
60
|
+
|
|
61
|
+
Lovable pre-installs the full shadcn/ui component set (~29 components) and all Radix UI
|
|
62
|
+
primitives (~30 packages). Most projects use 5–10. The unused ones are safe to remove but
|
|
63
|
+
`@radix-ui/react-slot` must be kept — it is an indirect dep used internally by many
|
|
64
|
+
shadcn components via the `asChild` prop.
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## Recommended Execution Order
|
|
69
|
+
|
|
70
|
+
1. Dependencies (Areas 2 & 7) — clear the package graph first
|
|
71
|
+
2. Build config (Area 3) — remove the tagger from Vite
|
|
72
|
+
3. Entry points (Areas 4 & 6) — clear runtime references
|
|
73
|
+
4. Assets (Area 5) — swap brand files (defer if assets not ready yet)
|
|
74
|
+
5. Docs & README (Areas 1 & 10) — clean last so README reflects the cleaned project
|
|
75
|
+
6. Environment & Git (Areas 9 & 12) — security sweep
|
|
76
|
+
7. SEO / deploy (Area 11) — usually a no-op; confirm and move on
|
|
77
|
+
8. Unused deps (Area 13) — safe to defer until after ship if on a deadline
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## Step-by-Step Guide
|
|
82
|
+
|
|
83
|
+
### Area 1 · README.md
|
|
84
|
+
|
|
85
|
+
- Line 1: Replace `# Welcome to your Lovable project` with the real project title
|
|
86
|
+
- Line 5: Remove `https://lovable.dev/projects/REPLACE_WITH_PROJECT_ID`
|
|
87
|
+
- Lines 11–19: Delete the "Use Lovable" instructions block
|
|
88
|
+
- Lines 65–73: Delete the "Deploy via Lovable / custom domain docs" block
|
|
89
|
+
|
|
90
|
+
✅ After stripping, read the README end-to-end. Offer to write a replacement intro
|
|
91
|
+
paragraph if large sections were removed.
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
### Area 2 · package.json
|
|
96
|
+
|
|
97
|
+
- Remove `"lovable-tagger"` from `devDependencies`
|
|
98
|
+
- Rename `"name"` from `"vite_react_shadcn_ts"` to the real project name (kebab-case)
|
|
99
|
+
- Scan the `scripts` block for `"lovable"` or `"lovable:*"` entries and remove them
|
|
100
|
+
|
|
101
|
+
<!-- security-allowlist: grep for scanning package.json content, read-only, no network -->
|
|
102
|
+
```bash
|
|
103
|
+
grep -n "lovable" package.json
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
### Area 3 · vite.config.ts
|
|
109
|
+
|
|
110
|
+
- Remove `import { componentTagger } from "lovable-tagger"`
|
|
111
|
+
- Remove `mode === 'development' && componentTagger()` from the plugins array
|
|
112
|
+
- Remove `.filter(Boolean)` if it was only present to handle the conditional tagger
|
|
113
|
+
|
|
114
|
+
<!-- security-allowlist: grep for scanning vite config, read-only -->
|
|
115
|
+
```bash
|
|
116
|
+
grep -n "lovable\|componentTagger\|filter(Boolean)" vite.config.ts
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
### Area 4 · index.html
|
|
122
|
+
|
|
123
|
+
- Replace the generic `<title>` with the real product name
|
|
124
|
+
- Remove any `<!-- Generated by Lovable -->` comments or Lovable meta tags
|
|
125
|
+
- Replace the Lovable favicon reference if present
|
|
126
|
+
|
|
127
|
+
<!-- security-allowlist: grep for scanning HTML file, read-only -->
|
|
128
|
+
```bash
|
|
129
|
+
grep -in "lovable\|generator" index.html
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
### Area 5 · public/ assets
|
|
135
|
+
|
|
136
|
+
Replace these files (keep filenames, swap content):
|
|
137
|
+
|
|
138
|
+
| File | Action |
|
|
139
|
+
|---|---|
|
|
140
|
+
| `favicon.ico` | Replace with real icon |
|
|
141
|
+
| `favicon.png` | Replace with real icon |
|
|
142
|
+
| `og-image.png` / `logo.png` | Replace with real brand assets |
|
|
143
|
+
| `placeholder.svg` | Usually unused — safe to delete |
|
|
144
|
+
|
|
145
|
+
✅ Flag which files are actually referenced in `<head>` vs dead weight so the user
|
|
146
|
+
knows what to prioritise.
|
|
147
|
+
|
|
148
|
+
---
|
|
149
|
+
|
|
150
|
+
### Area 6 · Source files
|
|
151
|
+
|
|
152
|
+
- `src/main.tsx` — scan for Lovable HOCs, wrappers, or comments
|
|
153
|
+
- `src/App.tsx` — same
|
|
154
|
+
- Auto-generated components — look for `// generated by Lovable` headers
|
|
155
|
+
|
|
156
|
+
<!-- security-allowlist: grep over source files, read-only, no network -->
|
|
157
|
+
```bash
|
|
158
|
+
grep -rn "lovable\|Lovable" src/ --include="*.tsx" --include="*.ts"
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
---
|
|
162
|
+
|
|
163
|
+
### Area 7 · Lockfile
|
|
164
|
+
|
|
165
|
+
<!-- security-allowlist: npm uninstall removes a dev-only package, local filesystem only -->
|
|
166
|
+
```bash
|
|
167
|
+
npm uninstall lovable-tagger
|
|
168
|
+
grep "lovable-tagger" package-lock.json
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
Use `yarn remove` or `pnpm remove` if the project uses those instead.
|
|
172
|
+
|
|
173
|
+
---
|
|
174
|
+
|
|
175
|
+
### Area 8 · package.json scripts (follow-up)
|
|
176
|
+
|
|
177
|
+
Double-check after Area 2 — scripts are sometimes injected separately from deps:
|
|
178
|
+
|
|
179
|
+
<!-- security-allowlist: grep, read-only -->
|
|
180
|
+
```bash
|
|
181
|
+
grep -n '"lovable' package.json
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
186
|
+
### Area 9 · Environment files
|
|
187
|
+
|
|
188
|
+
<!-- security-allowlist: grep over local env files, read-only, no credentials transmitted -->
|
|
189
|
+
```bash
|
|
190
|
+
grep -rin "lovable" .env .env.local .env.example 2>/dev/null
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
Remove any Lovable API keys or project IDs. If a variable is Lovable-only, delete the
|
|
194
|
+
entire line — don't leave an empty key.
|
|
195
|
+
|
|
196
|
+
---
|
|
197
|
+
|
|
198
|
+
### Area 10 · Root markdown docs
|
|
199
|
+
|
|
200
|
+
Delete or repurpose these common Lovable-generated files:
|
|
201
|
+
|
|
202
|
+
- `CLEANUP_SUMMARY.md`
|
|
203
|
+
- `DEPLOYMENT_GUIDE.md`
|
|
204
|
+
- `DEVELOPMENT_SUMMARY.md`
|
|
205
|
+
- `LOGO_UPDATE.md`
|
|
206
|
+
|
|
207
|
+
<!-- security-allowlist: grep over markdown files, read-only -->
|
|
208
|
+
```bash
|
|
209
|
+
grep -rln "lovable\|Lovable" *.md 2>/dev/null
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
✅ Skim each file before deleting — Lovable docs sometimes contain useful architecture
|
|
213
|
+
notes worth preserving in a rewritten `CONTRIBUTING.md` or `ARCHITECTURE.md`.
|
|
214
|
+
|
|
215
|
+
---
|
|
216
|
+
|
|
217
|
+
### Area 11 · SEO & deploy config
|
|
218
|
+
|
|
219
|
+
Usually clean — confirm and move on:
|
|
220
|
+
|
|
221
|
+
<!-- security-allowlist: grep over config files, read-only -->
|
|
222
|
+
```bash
|
|
223
|
+
grep -in "lovable" \
|
|
224
|
+
public/robots.txt public/sitemap.xml public/_redirects \
|
|
225
|
+
vercel.json netlify.toml 2>/dev/null
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
After replacing `og-image.png`, update OG meta in `index.html`:
|
|
229
|
+
|
|
230
|
+
```html
|
|
231
|
+
<meta property="og:image" content="/og-image.png" />
|
|
232
|
+
<meta property="og:url" content="https://your-domain.com" />
|
|
233
|
+
<meta property="og:title" content="Your Real Title" />
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
---
|
|
237
|
+
|
|
238
|
+
### Area 12 · Git config
|
|
239
|
+
|
|
240
|
+
<!-- security-allowlist: grep and ls on local git config, read-only -->
|
|
241
|
+
```bash
|
|
242
|
+
grep -in "lovable" .gitignore
|
|
243
|
+
ls .git/hooks/
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
Remove any Lovable-specific `.gitignore` entries or commit hooks.
|
|
247
|
+
|
|
248
|
+
---
|
|
249
|
+
|
|
250
|
+
### Area 13 · Unused dependencies
|
|
251
|
+
|
|
252
|
+
**Step 1 — Map what's actually imported**
|
|
253
|
+
|
|
254
|
+
<!-- security-allowlist: grep over source files, read-only, writes to /tmp only -->
|
|
255
|
+
```bash
|
|
256
|
+
grep -rh "from [\"']@radix-ui/" src/ --include="*.tsx" --include="*.ts" \
|
|
257
|
+
| grep -oP "from [\"']\K@radix-ui/[^\"']+" | sort -u > /tmp/radix-used.txt
|
|
258
|
+
|
|
259
|
+
grep -rh "from [\"']@/components/ui/" src/ --include="*.tsx" \
|
|
260
|
+
| grep -oP "from [\"']\K@/components/ui/[^\"']+" | sort -u > /tmp/shadcn-used.txt
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
**Step 2 — Diff against installed**
|
|
264
|
+
|
|
265
|
+
<!-- security-allowlist: grep and diff on local package.json and /tmp files, read-only -->
|
|
266
|
+
```bash
|
|
267
|
+
grep -oP '"@radix-ui/[^"]+' package.json | tr -d '"' | sort > /tmp/radix-installed.txt
|
|
268
|
+
diff /tmp/radix-installed.txt /tmp/radix-used.txt
|
|
269
|
+
```
|
|
270
|
+
|
|
271
|
+
**Step 3 — Bulk remove & verify**
|
|
272
|
+
|
|
273
|
+
<!-- security-allowlist: npm uninstall removes unused local packages, no network mutation -->
|
|
274
|
+
```bash
|
|
275
|
+
npm uninstall @radix-ui/react-accordion @radix-ui/react-alert-dialog # etc.
|
|
276
|
+
npm run build
|
|
277
|
+
```
|
|
278
|
+
|
|
279
|
+
---
|
|
280
|
+
|
|
281
|
+
### Area 14 · Generic Lovable artifacts
|
|
282
|
+
|
|
283
|
+
- `components.json` — verify `style`, `baseColor`, and `aliases` match the real project
|
|
284
|
+
- `eslint.config.js` — usually standard; quick scan only
|
|
285
|
+
|
|
286
|
+
<!-- security-allowlist: grep on config files, read-only -->
|
|
287
|
+
```bash
|
|
288
|
+
grep -in "lovable" components.json eslint.config.js
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
---
|
|
292
|
+
|
|
293
|
+
## Master Scan Command
|
|
294
|
+
|
|
295
|
+
<!-- security-allowlist: recursive grep across project directory, read-only, no network -->
|
|
296
|
+
```bash
|
|
297
|
+
grep -rn "lovable\|Lovable\|LOVABLE\|lovable-tagger\|lovable\.dev" \
|
|
298
|
+
--include="*.ts" --include="*.tsx" --include="*.js" --include="*.jsx" \
|
|
299
|
+
--include="*.json" --include="*.md" --include="*.html" --include="*.toml" \
|
|
300
|
+
--include="*.yaml" --include="*.yml" --include="*.txt" \
|
|
301
|
+
. 2>/dev/null \
|
|
302
|
+
| grep -v "node_modules\|\.git\|dist\|build"
|
|
303
|
+
```
|
|
304
|
+
|
|
305
|
+
---
|
|
306
|
+
|
|
307
|
+
## Examples
|
|
308
|
+
|
|
309
|
+
### Example 1: Full audit from scratch
|
|
310
|
+
|
|
311
|
+
```
|
|
312
|
+
User: I just exported my project from Lovable. Clean it up.
|
|
313
|
+
|
|
314
|
+
Agent:
|
|
315
|
+
1. Runs master scan — finds 23 matches across 8 files
|
|
316
|
+
2. Uninstalls lovable-tagger, renames package.json "name"
|
|
317
|
+
3. Strips vite.config.ts of componentTagger
|
|
318
|
+
4. Updates index.html title, removes generator comment
|
|
319
|
+
5. Flags 4 markdown docs for deletion, skims each first
|
|
320
|
+
6. Produces cleanup report
|
|
321
|
+
```
|
|
322
|
+
|
|
323
|
+
### Example 2: Targeted dep pruning only
|
|
324
|
+
|
|
325
|
+
```
|
|
326
|
+
User: Just prune the unused Radix packages from my Lovable project.
|
|
327
|
+
|
|
328
|
+
Agent:
|
|
329
|
+
1. Runs grep diff (Area 13 only)
|
|
330
|
+
2. Identifies 18 unused @radix-ui packages
|
|
331
|
+
3. Removes them in bulk, keeps @radix-ui/react-slot
|
|
332
|
+
4. Runs npm run build to verify — passes clean
|
|
333
|
+
```
|
|
334
|
+
|
|
335
|
+
---
|
|
336
|
+
|
|
337
|
+
## Best Practices
|
|
338
|
+
|
|
339
|
+
- ✅ **Do:** Run dep removal (Areas 2 & 7) before touching source files
|
|
340
|
+
- ✅ **Do:** Skim Lovable-generated docs before deleting — may contain useful arch notes
|
|
341
|
+
- ✅ **Do:** Verify `npm run build` passes after every batch of changes
|
|
342
|
+
- ✅ **Do:** Replace OG image before launch — it directly affects social sharing previews
|
|
343
|
+
- ❌ **Don't:** Remove `@radix-ui/react-slot` — it's an indirect dep of most shadcn components
|
|
344
|
+
- ❌ **Don't:** Leave empty env vars like `LOVABLE_PROJECT_ID=` — delete the whole line
|
|
345
|
+
|
|
346
|
+
---
|
|
347
|
+
|
|
348
|
+
## Limitations
|
|
349
|
+
|
|
350
|
+
- This skill does not create or source brand assets (favicons, OG images) — it only flags
|
|
351
|
+
what needs replacing. The user must supply real assets.
|
|
352
|
+
- Dep pruning (Area 13) is safe but not foolproof — some Radix packages are indirect deps
|
|
353
|
+
not caught by a direct `grep`. Always verify with `npm run build`.
|
|
354
|
+
- The skill does not modify `components.json` aliases automatically — it only scans and
|
|
355
|
+
flags mismatches for the user to fix manually.
|
|
356
|
+
- Does not cover Lovable-specific backend integrations (Supabase row-level security, edge
|
|
357
|
+
functions) — those require separate review.
|
|
358
|
+
|
|
359
|
+
---
|
|
360
|
+
|
|
361
|
+
## Troubleshooting
|
|
362
|
+
|
|
363
|
+
### Problem: Build fails after removing Radix packages
|
|
364
|
+
|
|
365
|
+
**Symptoms:** Module not found error for a `@radix-ui/*` package
|
|
366
|
+
**Solution:** Re-add the missing package. Open `src/components/ui/*.tsx` and search for
|
|
367
|
+
the `from '@radix-ui/...'` import to find which component depends on it.
|
|
368
|
+
|
|
369
|
+
### Problem: lovable-tagger still in lockfile after uninstall
|
|
370
|
+
|
|
371
|
+
**Symptoms:** `grep "lovable-tagger" package-lock.json` returns results
|
|
372
|
+
**Solution:** Delete `node_modules/` and `package-lock.json`, then run `npm install` fresh.
|
|
373
|
+
|
|
374
|
+
### Problem: Generic title still showing in browser after updating index.html
|
|
375
|
+
|
|
376
|
+
**Symptoms:** Browser tab shows "Lovable" or "Vite App" despite edits
|
|
377
|
+
**Solution:** Check for a `<Helmet>` or `<Head>` component in `src/App.tsx` or a layout
|
|
378
|
+
wrapper — React-level title tags override `index.html` at runtime.
|
|
379
|
+
|
|
380
|
+
---
|
|
381
|
+
|
|
382
|
+
## Related Skills
|
|
383
|
+
|
|
384
|
+
- `@vite-config` — Vite configuration best practices
|
|
385
|
+
- `@shadcn-setup` — shadcn/ui installation and customization
|
|
386
|
+
- `@react-cleanup` — general React project hygiene
|
|
387
|
+
|
|
388
|
+
---
|
|
389
|
+
|
|
390
|
+
## Additional Resources
|
|
391
|
+
|
|
392
|
+
- [Lovable docs](https://docs.lovable.dev)
|
|
393
|
+
- [shadcn/ui component list](https://ui.shadcn.com/docs/components)
|
|
394
|
+
- [Radix UI primitives](https://www.radix-ui.com/primitives)
|
|
395
|
+
- [antigravity-awesome-skills](https://github.com/sickn33/antigravity-awesome-skills)
|
|
396
|
+
|
|
397
|
+
---
|
|
398
|
+
|
|
399
|
+
## Output Format
|
|
400
|
+
|
|
401
|
+
After completing the audit, produce a cleanup report:
|
|
402
|
+
|
|
403
|
+
```
|
|
404
|
+
## ✅ Cleaned
|
|
405
|
+
<list of changes made>
|
|
406
|
+
|
|
407
|
+
## ⚠️ Needs your input
|
|
408
|
+
<items needing a decision — brand assets, project name, domain>
|
|
409
|
+
|
|
410
|
+
## 🗑️ Deferred (safe to do later)
|
|
411
|
+
<e.g. unused dep pruning, OG image swap>
|
|
412
|
+
```
|
|
413
|
+
|
|
414
|
+
---
|
|
415
|
+
|
|
416
|
+
*Made with [antigravity-awesome-skills](https://github.com/sickn33/antigravity-awesome-skills) · author: [whoisabhishekadhikari](https://github.com/whoisabhishekadhikari)*
|