Skip to content

An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.

feat: reduce default max search results from 5 to 3 (#1)

Viet Tran98b57e270c14
diff --git a/.claude/skills/ui-ux-pro-max/scripts/core.py b/.claude/skills/ui-ux-pro-max/scripts/core.py
index a6f4b2c..ba95002 100644
--- a/.claude/skills/ui-ux-pro-max/scripts/core.py
+++ b/.claude/skills/ui-ux-pro-max/scripts/core.py
@@ -12,7 +12,7 @@ from collections import defaultdict
# ============ CONFIGURATION ============
DATA_DIR = Path(__file__).parent.parent / "data"
-MAX_RESULTS = 5
+MAX_RESULTS = 3
CSV_CONFIG = {
"style": {
diff --git a/.claude/skills/ui-ux-pro-max/scripts/search.py b/.claude/skills/ui-ux-pro-max/scripts/search.py
index fd59a55..a3f7b77 100644
--- a/.claude/skills/ui-ux-pro-max/scripts/search.py
+++ b/.claude/skills/ui-ux-pro-max/scripts/search.py
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
"""
UI/UX Pro Max Search - BM25 + Regex hybrid search for UI/UX style guides
-Usage: python search.py "<query>" [--domain <domain>] [--stack <stack>] [--max-results 5]
+Usage: python search.py "<query>" [--domain <domain>] [--stack <stack>] [--max-results 3]
Domains: style, prompt, color, chart, landing, product, quick, ux
Stacks: html-tailwind, react, nextjs
@@ -43,7 +43,7 @@ if __name__ == "__main__":
parser.add_argument("query", help="Search query")
parser.add_argument("--domain", "-d", choices=list(CSV_CONFIG.keys()), help="Search domain")
parser.add_argument("--stack", "-s", choices=AVAILABLE_STACKS, help="Stack-specific search (html-tailwind, react, nextjs)")
- parser.add_argument("--max-results", "-n", type=int, default=MAX_RESULTS, help="Max results (default: 5)")
+ parser.add_argument("--max-results", "-n", type=int, default=MAX_RESULTS, help="Max results (default: 3)")
parser.add_argument("--json", action="store_true", help="Output as JSON")
args = parser.parse_args()
diff --git a/.shared/ui-ux-pro-max/scripts/core.py b/.shared/ui-ux-pro-max/scripts/core.py
index a6f4b2c..ba95002 100644
--- a/.shared/ui-ux-pro-max/scripts/core.py
+++ b/.shared/ui-ux-pro-max/scripts/core.py
@@ -12,7 +12,7 @@ from collections import defaultdict
# ============ CONFIGURATION ============
DATA_DIR = Path(__file__).parent.parent / "data"
-MAX_RESULTS = 5
+MAX_RESULTS = 3
CSV_CONFIG = {
"style": {
diff --git a/.shared/ui-ux-pro-max/scripts/search.py b/.shared/ui-ux-pro-max/scripts/search.py
index fd59a55..a3f7b77 100644
--- a/.shared/ui-ux-pro-max/scripts/search.py
+++ b/.shared/ui-ux-pro-max/scripts/search.py
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
"""
UI/UX Pro Max Search - BM25 + Regex hybrid search for UI/UX style guides
-Usage: python search.py "<query>" [--domain <domain>] [--stack <stack>] [--max-results 5]
+Usage: python search.py "<query>" [--domain <domain>] [--stack <stack>] [--max-results 3]
Domains: style, prompt, color, chart, landing, product, quick, ux
Stacks: html-tailwind, react, nextjs
@@ -43,7 +43,7 @@ if __name__ == "__main__":
parser.add_argument("query", help="Search query")
parser.add_argument("--domain", "-d", choices=list(CSV_CONFIG.keys()), help="Search domain")
parser.add_argument("--stack", "-s", choices=AVAILABLE_STACKS, help="Stack-specific search (html-tailwind, react, nextjs)")
- parser.add_argument("--max-results", "-n", type=int, default=MAX_RESULTS, help="Max results (default: 5)")
+ parser.add_argument("--max-results", "-n", type=int, default=MAX_RESULTS, help="Max results (default: 3)")
parser.add_argument("--json", action="store_true", help="Output as JSON")
args = parser.parse_args()