Skip to content

A Claude skill that turns vibecoded, AI-looking UI into a designed interface

JavaScript

Clarify Playwright setup

Garv Raoffb2bc38dcb5
diff --git a/README.md b/README.md
index 5131e0e..e7d0f44 100644
--- a/README.md
+++ b/README.md
@@ -17,6 +17,15 @@ mkdir -p ~/.claude/skills && cp -r unslop/skills/unslop ~/.claude/skills/
For a single project, copy it into `.claude/skills/` inside that project instead.
+To snapshot a live site or create a story video, install Playwright and its Chromium browser from the project directory where you run the skill:
+
+```bash
+npm install -D playwright
+npx playwright install chromium
+```
+
+Story videos also require ffmpeg installed and available on your PATH.
+
## Use
In Claude Code, type `/unslop` with what you want, or just ask in your own words and Claude picks the skill up by itself.
diff --git a/skills/unslop/scripts/snapshot.mjs b/skills/unslop/scripts/snapshot.mjs
index 4ad33a5..f4af5ce 100644
--- a/skills/unslop/scripts/snapshot.mjs
+++ b/skills/unslop/scripts/snapshot.mjs
@@ -23,7 +23,7 @@ async function browserKit() {
return createRequire(join(process.cwd(), "package.json"))(name);
} catch {}
}
- console.error("Playwright is not installed. Run `npm i -D playwright` in the project, or `npx playwright install chromium`.");
+ console.error("Playwright is not installed. In your project, run `npm install -D playwright` followed by `npx playwright install chromium`.");
process.exit(1);
}
diff --git a/skills/unslop/scripts/story.mjs b/skills/unslop/scripts/story.mjs
index 88fd86a..dd6e826 100644
--- a/skills/unslop/scripts/story.mjs
+++ b/skills/unslop/scripts/story.mjs
@@ -23,7 +23,7 @@ async function browserKit() {
return createRequire(join(process.cwd(), "package.json"))(name);
} catch {}
}
- console.error("Playwright is not installed. Run `npm i -D playwright` in the project, or `npx playwright install chromium`.");
+ console.error("Playwright is not installed. In your project, run `npm install -D playwright` followed by `npx playwright install chromium`.");
process.exit(1);
}