Skip to content

The design language that makes your AI harness better at design.

JavaScript

Improve cleanup UX: explain to user why files are being deleted

Paul Bakaus45b92bf9fed4
diff --git a/.agents/skills/impeccable/SKILL.md b/.agents/skills/impeccable/SKILL.md
index 1513184ca..0797d8a3f 100644
--- a/.agents/skills/impeccable/SKILL.md
+++ b/.agents/skills/impeccable/SKILL.md
@@ -7,13 +7,19 @@ license: Apache 2.0. Based on Anthropic's frontend-design skill. See NOTICE.md f
---
<post-update-cleanup>
-BEFORE doing any design work, silently run this cleanup script to remove deprecated skill files from previous Impeccable versions:
+BEFORE doing any design work, run this one-time maintenance step. Tell the user:
+
+> **Impeccable was updated.** A few skills were renamed or merged in this version (e.g. `/arrange` is now `/layout`, `/normalize` was folded into `/polish`). I'll clean up the old skill files so they don't clutter your project. This only runs once after an update.
+
+Then run:
```bash
node .agents/skills/impeccable/scripts/cleanup-deprecated.mjs
```
-After running the script (whether it found anything or not), delete this entire section (from `<post-update-cleanup>` through `</post-update-cleanup>` inclusive) from THIS file, so it does not run again until the next skill update. Save the file after deleting the section.
+If the script removed files, briefly confirm what was cleaned up. If it found nothing, skip any output and move on.
+
+After running the script, delete this entire section (from `<post-update-cleanup>` through `</post-update-cleanup>` inclusive) from THIS file so it does not run again until the next update. Save the file.
</post-update-cleanup>
This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.
diff --git a/.claude/skills/impeccable/SKILL.md b/.claude/skills/impeccable/SKILL.md
index e05fecd71..0c66f7f33 100644
--- a/.claude/skills/impeccable/SKILL.md
+++ b/.claude/skills/impeccable/SKILL.md
@@ -7,13 +7,19 @@ license: Apache 2.0. Based on Anthropic's frontend-design skill. See NOTICE.md f
---
<post-update-cleanup>
-BEFORE doing any design work, silently run this cleanup script to remove deprecated skill files from previous Impeccable versions:
+BEFORE doing any design work, run this one-time maintenance step. Tell the user:
+
+> **Impeccable was updated.** A few skills were renamed or merged in this version (e.g. `/arrange` is now `/layout`, `/normalize` was folded into `/polish`). I'll clean up the old skill files so they don't clutter your project. This only runs once after an update.
+
+Then run:
```bash
node .claude/skills/impeccable/scripts/cleanup-deprecated.mjs
```
-After running the script (whether it found anything or not), delete this entire section (from `<post-update-cleanup>` through `</post-update-cleanup>` inclusive) from THIS file, so it does not run again until the next skill update. Save the file after deleting the section.
+If the script removed files, briefly confirm what was cleaned up. If it found nothing, skip any output and move on.
+
+After running the script, delete this entire section (from `<post-update-cleanup>` through `</post-update-cleanup>` inclusive) from THIS file so it does not run again until the next update. Save the file.
</post-update-cleanup>
This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.
diff --git a/.codex/skills/impeccable/SKILL.md b/.codex/skills/impeccable/SKILL.md
index 7bb6818a6..b5960d208 100644
--- a/.codex/skills/impeccable/SKILL.md
+++ b/.codex/skills/impeccable/SKILL.md
@@ -6,13 +6,19 @@ license: Apache 2.0. Based on Anthropic's frontend-design skill. See NOTICE.md f
---
<post-update-cleanup>
-BEFORE doing any design work, silently run this cleanup script to remove deprecated skill files from previous Impeccable versions:
+BEFORE doing any design work, run this one-time maintenance step. Tell the user:
+
+> **Impeccable was updated.** A few skills were renamed or merged in this version (e.g. `/arrange` is now `$layout`, `/normalize` was folded into `$polish`). I'll clean up the old skill files so they don't clutter your project. This only runs once after an update.
+
+Then run:
```bash
node .codex/skills/impeccable/scripts/cleanup-deprecated.mjs
```
-After running the script (whether it found anything or not), delete this entire section (from `<post-update-cleanup>` through `</post-update-cleanup>` inclusive) from THIS file, so it does not run again until the next skill update. Save the file after deleting the section.
+If the script removed files, briefly confirm what was cleaned up. If it found nothing, skip any output and move on.
+
+After running the script, delete this entire section (from `<post-update-cleanup>` through `</post-update-cleanup>` inclusive) from THIS file so it does not run again until the next update. Save the file.
</post-update-cleanup>
This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.
diff --git a/.cursor/skills/impeccable/SKILL.md b/.cursor/skills/impeccable/SKILL.md
index 97e33845b..a556bd2d9 100644
--- a/.cursor/skills/impeccable/SKILL.md
+++ b/.cursor/skills/impeccable/SKILL.md
@@ -5,13 +5,19 @@ license: Apache 2.0. Based on Anthropic's frontend-design skill. See NOTICE.md f
---
<post-update-cleanup>
-BEFORE doing any design work, silently run this cleanup script to remove deprecated skill files from previous Impeccable versions:
+BEFORE doing any design work, run this one-time maintenance step. Tell the user:
+
+> **Impeccable was updated.** A few skills were renamed or merged in this version (e.g. `/arrange` is now `/layout`, `/normalize` was folded into `/polish`). I'll clean up the old skill files so they don't clutter your project. This only runs once after an update.
+
+Then run:
```bash
node .cursor/skills/impeccable/scripts/cleanup-deprecated.mjs
```
-After running the script (whether it found anything or not), delete this entire section (from `<post-update-cleanup>` through `</post-update-cleanup>` inclusive) from THIS file, so it does not run again until the next skill update. Save the file after deleting the section.
+If the script removed files, briefly confirm what was cleaned up. If it found nothing, skip any output and move on.
+
+After running the script, delete this entire section (from `<post-update-cleanup>` through `</post-update-cleanup>` inclusive) from THIS file so it does not run again until the next update. Save the file.
</post-update-cleanup>
This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.
diff --git a/.gemini/skills/impeccable/SKILL.md b/.gemini/skills/impeccable/SKILL.md
index 843e473a6..66b1340ec 100644
--- a/.gemini/skills/impeccable/SKILL.md
+++ b/.gemini/skills/impeccable/SKILL.md
@@ -4,13 +4,19 @@ description: Create distinctive, production-grade frontend interfaces with high
---
<post-update-cleanup>
-BEFORE doing any design work, silently run this cleanup script to remove deprecated skill files from previous Impeccable versions:
+BEFORE doing any design work, run this one-time maintenance step. Tell the user:
+
+> **Impeccable was updated.** A few skills were renamed or merged in this version (e.g. `/arrange` is now `/layout`, `/normalize` was folded into `/polish`). I'll clean up the old skill files so they don't clutter your project. This only runs once after an update.
+
+Then run:
```bash
node .gemini/skills/impeccable/scripts/cleanup-deprecated.mjs
```
-After running the script (whether it found anything or not), delete this entire section (from `<post-update-cleanup>` through `</post-update-cleanup>` inclusive) from THIS file, so it does not run again until the next skill update. Save the file after deleting the section.
+If the script removed files, briefly confirm what was cleaned up. If it found nothing, skip any output and move on.
+
+After running the script, delete this entire section (from `<post-update-cleanup>` through `</post-update-cleanup>` inclusive) from THIS file so it does not run again until the next update. Save the file.
</post-update-cleanup>
This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.
diff --git a/.kiro/skills/impeccable/SKILL.md b/.kiro/skills/impeccable/SKILL.md
index 372262abc..8b22dfa0b 100644
--- a/.kiro/skills/impeccable/SKILL.md
+++ b/.kiro/skills/impeccable/SKILL.md
@@ -5,13 +5,19 @@ license: Apache 2.0. Based on Anthropic's frontend-design skill. See NOTICE.md f
---
<post-update-cleanup>
-BEFORE doing any design work, silently run this cleanup script to remove deprecated skill files from previous Impeccable versions:
+BEFORE doing any design work, run this one-time maintenance step. Tell the user:
+
+> **Impeccable was updated.** A few skills were renamed or merged in this version (e.g. `/arrange` is now `/layout`, `/normalize` was folded into `/polish`). I'll clean up the old skill files so they don't clutter your project. This only runs once after an update.
+
+Then run:
```bash
node .kiro/skills/impeccable/scripts/cleanup-deprecated.mjs
```
-After running the script (whether it found anything or not), delete this entire section (from `<post-update-cleanup>` through `</post-update-cleanup>` inclusive) from THIS file, so it does not run again until the next skill update. Save the file after deleting the section.
+If the script removed files, briefly confirm what was cleaned up. If it found nothing, skip any output and move on.
+
+After running the script, delete this entire section (from `<post-update-cleanup>` through `</post-update-cleanup>` inclusive) from THIS file so it does not run again until the next update. Save the file.
</post-update-cleanup>
This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.
diff --git a/.opencode/skills/impeccable/SKILL.md b/.opencode/skills/impeccable/SKILL.md
index 518744d0f..4d31c86a4 100644
--- a/.opencode/skills/impeccable/SKILL.md
+++ b/.opencode/skills/impeccable/SKILL.md
@@ -7,13 +7,19 @@ license: Apache 2.0. Based on Anthropic's frontend-design skill. See NOTICE.md f
---
<post-update-cleanup>
-BEFORE doing any design work, silently run this cleanup script to remove deprecated skill files from previous Impeccable versions:
+BEFORE doing any design work, run this one-time maintenance step. Tell the user:
+
+> **Impeccable was updated.** A few skills were renamed or merged in this version (e.g. `/arrange` is now `/layout`, `/normalize` was folded into `/polish`). I'll clean up the old skill files so they don't clutter your project. This only runs once after an update.
+
+Then run:
```bash
node .opencode/skills/impeccable/scripts/cleanup-deprecated.mjs
```
-After running the script (whether it found anything or not), delete this entire section (from `<post-update-cleanup>` through `</post-update-cleanup>` inclusive) from THIS file, so it does not run again until the next skill update. Save the file after deleting the section.
+If the script removed files, briefly confirm what was cleaned up. If it found nothing, skip any output and move on.
+
+After running the script, delete this entire section (from `<post-update-cleanup>` through `</post-update-cleanup>` inclusive) from THIS file so it does not run again until the next update. Save the file.
</post-update-cleanup>
This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.
diff --git a/.pi/skills/impeccable/SKILL.md b/.pi/skills/impeccable/SKILL.md
index 0c4629960..1e0602ad7 100644
--- a/.pi/skills/impeccable/SKILL.md
+++ b/.pi/skills/impeccable/SKILL.md
@@ -5,13 +5,19 @@ license: Apache 2.0. Based on Anthropic's frontend-design skill. See NOTICE.md f
---
<post-update-cleanup>
-BEFORE doing any design work, silently run this cleanup script to remove deprecated skill files from previous Impeccable versions:
+BEFORE doing any design work, run this one-time maintenance step. Tell the user:
+
+> **Impeccable was updated.** A few skills were renamed or merged in this version (e.g. `/arrange` is now `/layout`, `/normalize` was folded into `/polish`). I'll clean up the old skill files so they don't clutter your project. This only runs once after an update.
+
+Then run:
```bash
node .pi/skills/impeccable/scripts/cleanup-deprecated.mjs
```
-After running the script (whether it found anything or not), delete this entire section (from `<post-update-cleanup>` through `</post-update-cleanup>` inclusive) from THIS file, so it does not run again until the next skill update. Save the file after deleting the section.
+If the script removed files, briefly confirm what was cleaned up. If it found nothing, skip any output and move on.
+
+After running the script, delete this entire section (from `<post-update-cleanup>` through `</post-update-cleanup>` inclusive) from THIS file so it does not run again until the next update. Save the file.
</post-update-cleanup>
This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.
diff --git a/.rovodev/skills/impeccable/SKILL.md b/.rovodev/skills/impeccable/SKILL.md
index 7717bd602..b09564960 100644
--- a/.rovodev/skills/impeccable/SKILL.md
+++ b/.rovodev/skills/impeccable/SKILL.md
@@ -7,13 +7,19 @@ license: Apache 2.0. Based on Anthropic's frontend-design skill. See NOTICE.md f
---
<post-update-cleanup>
-BEFORE doing any design work, silently run this cleanup script to remove deprecated skill files from previous Impeccable versions:
+BEFORE doing any design work, run this one-time maintenance step. Tell the user:
+
+> **Impeccable was updated.** A few skills were renamed or merged in this version (e.g. `/arrange` is now `/layout`, `/normalize` was folded into `/polish`). I'll clean up the old skill files so they don't clutter your project. This only runs once after an update.
+
+Then run:
```bash
node .rovodev/skills/impeccable/scripts/cleanup-deprecated.mjs
```
-After running the script (whether it found anything or not), delete this entire section (from `<post-update-cleanup>` through `</post-update-cleanup>` inclusive) from THIS file, so it does not run again until the next skill update. Save the file after deleting the section.
+If the script removed files, briefly confirm what was cleaned up. If it found nothing, skip any output and move on.
+
+After running the script, delete this entire section (from `<post-update-cleanup>` through `</post-update-cleanup>` inclusive) from THIS file so it does not run again until the next update. Save the file.
</post-update-cleanup>
This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.
diff --git a/.trae-cn/skills/impeccable/SKILL.md b/.trae-cn/skills/impeccable/SKILL.md
index 7af31be8e..0953f1903 100644
--- a/.trae-cn/skills/impeccable/SKILL.md
+++ b/.trae-cn/skills/impeccable/SKILL.md
@@ -7,13 +7,19 @@ license: Apache 2.0. Based on Anthropic's frontend-design skill. See NOTICE.md f
---
<post-update-cleanup>
-BEFORE doing any design work, silently run this cleanup script to remove deprecated skill files from previous Impeccable versions:
+BEFORE doing any design work, run this one-time maintenance step. Tell the user:
+
+> **Impeccable was updated.** A few skills were renamed or merged in this version (e.g. `/arrange` is now `/layout`, `/normalize` was folded into `/polish`). I'll clean up the old skill files so they don't clutter your project. This only runs once after an update.
+
+Then run:
```bash
node .trae-cn/skills/impeccable/scripts/cleanup-deprecated.mjs
```
-After running the script (whether it found anything or not), delete this entire section (from `<post-update-cleanup>` through `</post-update-cleanup>` inclusive) from THIS file, so it does not run again until the next skill update. Save the file after deleting the section.
+If the script removed files, briefly confirm what was cleaned up. If it found nothing, skip any output and move on.
+
+After running the script, delete this entire section (from `<post-update-cleanup>` through `</post-update-cleanup>` inclusive) from THIS file so it does not run again until the next update. Save the file.
</post-update-cleanup>
This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.
diff --git a/.trae/skills/impeccable/SKILL.md b/.trae/skills/impeccable/SKILL.md
index adf0941e7..9015dcf7f 100644
--- a/.trae/skills/impeccable/SKILL.md
+++ b/.trae/skills/impeccable/SKILL.md
@@ -7,13 +7,19 @@ license: Apache 2.0. Based on Anthropic's frontend-design skill. See NOTICE.md f
---
<post-update-cleanup>
-BEFORE doing any design work, silently run this cleanup script to remove deprecated skill files from previous Impeccable versions:
+BEFORE doing any design work, run this one-time maintenance step. Tell the user:
+
+> **Impeccable was updated.** A few skills were renamed or merged in this version (e.g. `/arrange` is now `/layout`, `/normalize` was folded into `/polish`). I'll clean up the old skill files so they don't clutter your project. This only runs once after an update.
+
+Then run:
```bash
node .trae/skills/impeccable/scripts/cleanup-deprecated.mjs
```
-After running the script (whether it found anything or not), delete this entire section (from `<post-update-cleanup>` through `</post-update-cleanup>` inclusive) from THIS file, so it does not run again until the next skill update. Save the file after deleting the section.
+If the script removed files, briefly confirm what was cleaned up. If it found nothing, skip any output and move on.
+
+After running the script, delete this entire section (from `<post-update-cleanup>` through `</post-update-cleanup>` inclusive) from THIS file so it does not run again until the next update. Save the file.
</post-update-cleanup>
This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.
diff --git a/source/skills/impeccable/SKILL.md b/source/skills/impeccable/SKILL.md
index 41a06b0a7..62595c806 100644
--- a/source/skills/impeccable/SKILL.md
+++ b/source/skills/impeccable/SKILL.md
@@ -7,13 +7,19 @@ license: Apache 2.0. Based on Anthropic's frontend-design skill. See NOTICE.md f
---
<post-update-cleanup>
-BEFORE doing any design work, silently run this cleanup script to remove deprecated skill files from previous Impeccable versions:
+BEFORE doing any design work, run this one-time maintenance step. Tell the user:
+
+> **Impeccable was updated.** A few skills were renamed or merged in this version (e.g. `/arrange` is now `/layout`, `/normalize` was folded into `/polish`). I'll clean up the old skill files so they don't clutter your project. This only runs once after an update.
+
+Then run:
```bash
node {{scripts_path}}/cleanup-deprecated.mjs
```
-After running the script (whether it found anything or not), delete this entire section (from `<post-update-cleanup>` through `</post-update-cleanup>` inclusive) from THIS file, so it does not run again until the next skill update. Save the file after deleting the section.
+If the script removed files, briefly confirm what was cleaned up. If it found nothing, skip any output and move on.
+
+After running the script, delete this entire section (from `<post-update-cleanup>` through `</post-update-cleanup>` inclusive) from THIS file so it does not run again until the next update. Save the file.
</post-update-cleanup>
This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.