Skip to content

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

JavaScript

Update side-tab skillGuideline to match refreshed SKILL.md text

Paul Bakaus21a8c5804409
diff --git a/src/detect-antipatterns-browser.js b/src/detect-antipatterns-browser.js
index 3162f43e7..9f0ce2f75 100644
--- a/src/detect-antipatterns-browser.js
+++ b/src/detect-antipatterns-browser.js
@@ -100,7 +100,7 @@ const ANTIPATTERNS = [
description:
'Thick colored border on one side of a card — the most recognizable tell of AI-generated UIs. Use a subtler accent or remove it entirely.',
skillSection: 'Visual Details',
- skillGuideline: 'thick colored border on one side',
+ skillGuideline: 'colored accent stripe',
},
{
id: 'border-accent-on-rounded',
@@ -109,7 +109,7 @@ const ANTIPATTERNS = [
description:
'Thick accent border on a rounded card — the border clashes with the rounded corners. Remove the border or the border-radius.',
skillSection: 'Visual Details',
- skillGuideline: 'thick colored border on one side',
+ skillGuideline: 'colored accent stripe',
},
{
id: 'overused-font',
diff --git a/src/detect-antipatterns.mjs b/src/detect-antipatterns.mjs
index 4f4bf2ad3..23ff154a3 100644
--- a/src/detect-antipatterns.mjs
+++ b/src/detect-antipatterns.mjs
@@ -95,7 +95,7 @@ const ANTIPATTERNS = [
description:
'Thick colored border on one side of a card — the most recognizable tell of AI-generated UIs. Use a subtler accent or remove it entirely.',
skillSection: 'Visual Details',
- skillGuideline: 'thick colored border on one side',
+ skillGuideline: 'colored accent stripe',
},
{
id: 'border-accent-on-rounded',
@@ -104,7 +104,7 @@ const ANTIPATTERNS = [
description:
'Thick accent border on a rounded card — the border clashes with the rounded corners. Remove the border or the border-radius.',
skillSection: 'Visual Details',
- skillGuideline: 'thick colored border on one side',
+ skillGuideline: 'colored accent stripe',
},
{
id: 'overused-font',