From a24328a0fa34b6e266fdba0a8f5053591886d34b Mon Sep 17 00:00:00 2001 From: Paul Bakaus Date: Thu, 19 Mar 2026 13:12:31 -0700 Subject: [PATCH] Skip CLI detector for URLs (avoids Puppeteer install) URLs should use browser visualization + LLM analysis instead of the CLI detector, which would need to install Puppeteer and its dependencies first. Co-Authored-By: Claude Opus 4.6 (1M context) --- .claude/skills/critique/SKILL.md | 3 ++- source/skills/critique/SKILL.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.claude/skills/critique/SKILL.md b/.claude/skills/critique/SKILL.md index 65f84e48e..f9a90c297 100644 --- a/.claude/skills/critique/SKILL.md +++ b/.claude/skills/critique/SKILL.md @@ -22,7 +22,8 @@ Before the manual critique, run the bundled deterministic detector. It catches 2 node scripts/detect-antipatterns.mjs --json [--fast] [target] ``` -- Pass files, directories, or URLs as `[target]` +- Pass files or directories as `[target]` +- For URLs, skip the CLI scan (it requires Puppeteer installation). Instead, rely on browser visualization (below) and LLM analysis. - For large directories (200+ scannable files), use `--fast` (regex-only, skips jsdom) - For 500+ files, narrow scope to the most relevant subdirectory or ask the user - Exit code 0 = clean, 2 = findings diff --git a/source/skills/critique/SKILL.md b/source/skills/critique/SKILL.md index f2c9d3917..6f79f8bf9 100644 --- a/source/skills/critique/SKILL.md +++ b/source/skills/critique/SKILL.md @@ -22,7 +22,8 @@ Before the manual critique, run the bundled deterministic detector. It catches 2 node scripts/detect-antipatterns.mjs --json [--fast] [target] ``` -- Pass files, directories, or URLs as `[target]` +- Pass files or directories as `[target]` +- For URLs, skip the CLI scan (it requires Puppeteer installation). Instead, rely on browser visualization (below) and LLM analysis. - For large directories (200+ scannable files), use `--fast` (regex-only, skips jsdom) - For 500+ files, narrow scope to the most relevant subdirectory or ask the user - Exit code 0 = clean, 2 = findings