Your app looks AI-generated. Vincent Van Gogh noticed. An agent skill that finds and fixes AI-looking UI and UX in mobile apps, web apps, and websites.
JavaScript accessibilityagent-skillsagent-skills-toolsagentsagentskillsai-slopclaudeclaude-codeclaude-skillsexpoflutterfrontendionicjetpack-composemobilereact-nativeswiftuiuiuxvibe-coding
fix(detect): scan Less stylesheets as CSS (#125) (#132)
Ahmad Ghozali85219efa9541
diff --git a/skills/unslop-anything/scripts/detect.js b/skills/unslop-anything/scripts/detect.jsindex b355af3..4390f17 100644--- a/skills/unslop-anything/scripts/detect.js+++ b/skills/unslop-anything/scripts/detect.js@@ -28,6 +28,7 @@ const STACK_BY_EXT = {".xml": "xml",".css": "css",".scss": "css",+ ".less": "css",};const SKIP_DIRS = new Set([diff --git a/test/detect.test.js b/test/detect.test.jsindex 5579581..22864bb 100644--- a/test/detect.test.js+++ b/test/detect.test.js@@ -357,6 +357,13 @@ test("transition-all flags `all` anywhere in a transition list", () => {assert.deepStrictEqual(scanSource(named, "a.css"), []);});+test("Less stylesheets are scanned like CSS", () => {+ // Issue #125: the issue's repro, saved as .less.+ const less = ".card {\n transition: all 0.3s;\n}\n.card:hover { transform: scale(1.05); }\n";+ assert.deepStrictEqual(scanSource(less, "styles.less").map((f) => f.rule), ["hover-only", "transition-all", "hover-scale"]);+ assert.deepStrictEqual(scanSource(less, "styles.scss").map((f) => f.rule), ["hover-only", "transition-all", "hover-scale"]);+});+test("vague-button catches Swift, Compose and Flutter buttons", () => {assert.deepStrictEqual(scanSource('Button("Submit") { save() }', "a.swift").map((f) => f.rule), ["vague-button"]);assert.deepStrictEqual(scanSource('Button(onClick = {}) { Text("Submit") }', "a.kt").map((f) => f.rule), ["vague-button"]);