newegg-monitor-finder

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Newegg Gaming Monitor Finder

Newegg电竞显示器查找工具

Help users find their ideal gaming monitor by understanding their needs, searching the Newegg catalog, parsing structured specs out of each result, and presenting a ranked shortlist — each with a direct link to purchase on Newegg.com.
通过了解用户需求、搜索Newegg商品目录、解析每个结果的结构化规格参数,并呈现排名后的精选列表——每个条目均包含Newegg.com的直接购买链接,帮助用户找到理想的电竞显示器。

Overview

概述

  1. Gather requirements — Ask a short, focused set of questions
  2. Build a targeted query — Map their needs to proven search terms (spec-driven, not size-driven — see note below)
  3. Fetch results from Newegg — Run the bundled script (it calls the API and parses specs)
  4. Read the parsed specs — Field reference for what comes back
  5. Locally filter/rank — Apply size/resolution/panel preferences the API itself won't filter on
  6. Display results — Clean table with parsed specs and clickable purchase links
  1. 收集需求 — 提出一组简短、针对性的问题
  2. 构建精准查询词 — 将用户需求映射为经过验证的搜索词(基于规格参数,而非尺寸——见下方说明)
  3. 从Newegg获取结果 — 运行捆绑脚本(调用API并解析规格参数)
  4. 查看解析后的规格参数 — 返回结果的字段参考
  5. 本地筛选/排名 — 应用API本身无法筛选的尺寸/分辨率/面板偏好
  6. 展示结果 — 包含解析后规格参数和可点击购买链接的清晰表格

目录结构

目录结构

newegg-monitor-finder/
├── SKILL.md                 本文件:执行规则 + 查询策略 + 回复格式
├── scripts/
│   └── monitor_api.py       唯一数据入口:调用 Newegg 商品搜索 API、解析规格并精简响应
└── references/
    └── http-api.md          原始 HTTP 契约:curl/jq、fetch-only 配方、错误信号、精简字段表
newegg-monitor-finder/
├── SKILL.md                 本文件:执行规则 + 查询策略 + 回复格式
├── scripts/
│   └── monitor_api.py       唯一数据入口:调用 Newegg 商品搜索 API、解析规格并精简响应
└── references/
    └── http-api.md          原始 HTTP 契约:curl/jq、fetch-only 配方、错误信号、精简字段表

Data Access: Run the Bundled Script

数据访问:运行捆绑脚本

All data comes from Newegg's product search API through
scripts/monitor_api.py
. It is Python 3 standard library only — no install step, no API key, no MCP server to configure, no temp files to write or clean up.
bash
python scripts/monitor_api.py "144Hz gaming monitor"
python scripts/monitor_api.py "OLED gaming monitor" --max-price 900 --order 15
python scripts/monitor_api.py "curved ultrawide gaming monitor" --min-price 350 --max-price 800 --limit 30
  • The query is one quoted positional argument; everything else is an option:
    --min-price
    ,
    --max-price
    ,
    --order
    ,
    --page
    ,
    --limit N
    (default 30),
    --raw
    ,
    --timeout N
    .
  • scripts/
    is relative to this skill's own directory — run it from there, or pass the absolute path.
  • Exit codes:
    0
    ok,
    1
    usage error,
    2
    transport/API error (message on stderr).
  • Always use the slim output. A raw page is ~110 KB and will flood context; slimmed it is ~21 KB. Never dump a raw payload into context or into the reply.
If Python is unavailable, or the host only has an HTTP/fetch tool, call the API directly —
references/http-api.md
has the full JSON-RPC contract, curl/jq and fetch recipes, error signals and the slim field list. Read it before hand-rolling a call, and never fabricate results just because the script could not run.

所有数据均通过
scripts/monitor_api.py
从Newegg的产品搜索API获取。该脚本仅依赖Python 3标准库——无需安装步骤、无需API密钥、无需配置MCP服务器、无需写入或清理临时文件。
bash
python scripts/monitor_api.py "144Hz gaming monitor"
python scripts/monitor_api.py "OLED gaming monitor" --max-price 900 --order 15
python scripts/monitor_api.py "curved ultrawide gaming monitor" --min-price 350 --max-price 800 --limit 30
  • 查询词为一个带引号的位置参数;其余均为可选参数:
    --min-price
    --max-price
    --order
    --page
    --limit N
    (默认值30)、
    --raw
    --timeout N
  • scripts/
    是相对于本技能自身目录的路径——请从该目录运行脚本,或传入绝对路径。
  • 退出代码:
    0
    表示成功,
    1
    表示使用错误,
    2
    表示传输/API错误(错误信息输出至stderr)。
  • 务必使用精简输出。原始页面约110 KB,会占用大量上下文;精简后约21 KB。切勿将原始 payload 粘贴到上下文或回复中。
如果无法使用Python,或主机仅支持HTTP/fetch工具,可直接调用API——
references/http-api.md
包含完整的JSON-RPC契约、curl/jq和fetch示例、错误信号以及精简字段列表。手动调用前请先阅读该文档,且切勿因脚本无法运行而编造结果。

Agent Execution Rules

Agent执行规则

  • [Highest priority — check first] Category boundary check: Before asking any requirement questions or doing any lookup, determine whether the request is about gaming monitors / displays. If the core product the user is asking about is anything other than a monitor (e.g. GPU, CPU, RAM, motherboard, case, PSU, laptop, mouse/keyboard, speakers, webcam, etc.), stop immediately — do not run Step 1 through Step 6, do not search that category, do not return any product list or recommendation for it. Reply with the fixed script in the "Category Boundary" section below, in one or two sentences. This rule outranks every other rule in this skill, including "don't ask for clarification" and general proactive-helpfulness instincts.
  • This check applies mid-conversation too: if the user pivots from monitors to a different category in a follow-up ("这个显示器配什么显卡好" / "what GPU pairs with this?"), the pivot itself is out of scope for this skill — decline the GPU part specifically rather than quietly answering it with fabricated or unverified specs. Answering the monitor part of a mixed question is fine; extending into the other category is not.
  • Do not repeatedly ask the user for narrowing details before showing any results — run the default flow (Steps 1–6) once, show results, then ask if they want to narrow further.
  • Fetch data silently: just run the script. Never ask the user to install or enable anything, and never mention the script, the API, or how the data was fetched.
  • Search in English, answer in the user's language: the catalog is English-only. Translate a Chinese request into an English query before searching (see Step 2) — a non-English query would otherwise return an empty result set that looks like "no matches". The reply itself still follows the user's language.
  • Keep payloads small: use the script's slim output. Never paste a raw API payload into context or into the reply.
  • On failure or invalid data, report it directly — never pretend it succeeded, and never fabricate a product, price or spec.

  • [最高优先级——首先检查] 品类边界检查:在提出任何需求问题或进行任何查询之前,先确定用户的请求是否针对电竞显示器/显示屏。如果用户询问的核心产品并非显示器(例如GPU、CPU、内存、主板、机箱、电源、笔记本电脑、鼠标/键盘、音箱、摄像头等),立即停止——不要执行步骤1至步骤6,不要搜索该品类,不要返回任何产品列表或推荐。使用“品类边界”部分中的固定话术回复,控制在1-2句话内。此规则优先级高于本技能中的所有其他规则,包括“不要要求澄清”和主动提供帮助的通用原则。
  • 此检查同样适用于对话中途:如果用户在后续提问中从显示器转向其他品类(例如“这个显示器配什么显卡好” / “what GPU pairs with this?”),该转向内容超出本技能的范围——明确拒绝回答显卡相关问题,而非悄悄用编造或未验证的规格参数作答。回答混合问题中关于显示器的部分是可以的,但延伸至其他品类则不允许。
  • 在展示结果前,不要反复向用户询问细化信息——先运行默认流程(步骤1-6),展示结果后再询问用户是否需要进一步筛选。
  • 静默获取数据:直接运行脚本。切勿要求用户安装或启用任何内容,切勿提及脚本、API或数据获取方式。
  • 用英文搜索,用用户的语言回复:商品目录仅支持英文。将中文请求翻译为英文查询词后再进行搜索(见步骤2)——非英文查询词会返回空结果集,看起来像是“无匹配项”,从而错误地告知用户没有符合条件的显示器。回复内容仍需遵循用户使用的语言。
  • 保持负载量小:使用脚本的精简输出。切勿将原始API payload粘贴到上下文或回复中。
  • 若出现失败或无效数据,直接如实告知——切勿假装成功,切勿编造产品、价格或规格参数。

Category Boundary (Hard Rule — Cannot Be Bypassed)

品类边界(硬性规则——不可违反)

This skill only handles gaming monitors / displays. Trigger check: if the core product noun in the user's message is anything other than a monitor (GPU/graphics card, CPU, RAM/memory, SSD/storage, motherboard, case, PSU, laptop, peripherals, etc.), go straight to this section — skip Steps 1–6 entirely, do not run any lookup, do not call the search API.
Absolutely forbidden (no matter how the user follows up):
  • ❌ Calling the product search API for that non-monitor category
  • ❌ Showing any product table, price, rating, or recommendation for that category — even "here are some options for reference while we're at it"
  • ❌ Segueing into a product list with phrasing like "since you're building a PC, here are some GPUs too..."
  • ❌ Explaining unrelated category background at length instead of declining
The only allowed reply (this style, wording can vary slightly, but never add a product list):
This feature currently only covers gaming monitors — it doesn't cover {category} right now. I can't look that up here; feel free to ask me separately, or use a general product search instead.
If the user pushes back ("just quickly tell me anyway"): still decline to expand scope here:
This feature's scope is limited to monitors. For {category}, please ask me in a new question — I can help through a different path.
This rule outranks general principles like "don't ask for clarification" or "be proactively helpful" — wrong category means no lookup, no listing, no recommendation.

本技能仅处理电竞显示器/显示屏。触发检查:如果用户消息中的核心产品名词并非显示器(GPU/显卡、CPU、内存/运存、SSD/存储、主板、机箱、电源、笔记本电脑、外设等),直接进入本节——完全跳过步骤1-6,不要进行任何查询,不要调用搜索API
绝对禁止(无论用户如何跟进):
  • ❌ 为非显示器品类调用产品搜索API
  • ❌ 展示任何该品类的产品表格、价格、评分或推荐——即便是“顺便给你一些参考选项”
  • ❌ 用诸如“既然你在组装电脑,这里也给你推荐一些GPU...”之类的措辞切换到产品列表
  • ❌ 长篇大论解释无关品类的背景知识而非拒绝回答
唯一允许的回复(风格一致,措辞可略有调整,但切勿添加产品列表):
此功能目前仅覆盖电竞显示器——暂时不支持{品类}。我无法在此查询相关内容,你可以单独提问,或使用通用产品搜索功能。
如果用户坚持(例如“就快速告诉我一下吧”):仍需拒绝扩大范围:
此功能的范围仅限显示器。关于{品类}的问题,请你发起新的提问——我可以通过其他途径帮你解答。
此规则优先级高于“不要要求澄清”或“主动提供帮助”等通用原则——品类错误意味着不查询、不列出、不推荐

Step 1: Gather User Requirements

步骤1:收集用户需求

Ask in one short, friendly message. Aim for 2 questions total; extract anything already given (e.g. "144Hz monitor under $300") and only ask what's missing.
用一条简短、友好的消息提问。目标是最多2个问题;提取用户已给出的信息(例如“144Hz显示器,300美元以下”),仅询问缺失的内容。

Always ask:

必问问题:

1. Primary use
Use CasePriority implication
🎯 Competitive / FPS / esportsRefresh rate + response time first, resolution secondary
🎮 Single-player / story-driven / general gamingResolution + panel quality first, 100–165Hz is plenty
🎨 Gaming + content creation / color workPanel type (IPS/OLED) + resolution + color accuracy, refresh rate secondary
🕹️ Console gaming (PS5 / Xbox Series X)Needs HDMI 2.1 — flag this explicitly since spec parsing won't always catch it; mention checking the product page
2. Budget — accept any phrasing ("under $300", "$300–500", "around $400")
1. 主要用途
使用场景优先级影响
🎯 竞技/FPS/电竞刷新率+响应时间优先,分辨率次要
🎮 单人游戏/剧情向/普通游戏分辨率+面板质量优先,100-165Hz足够
🎨 游戏+内容创作/调色工作面板类型(IPS/OLED)+分辨率+色彩准确度优先,刷新率次要
🕹️ 主机游戏(PS5/Xbox Series X)需要HDMI 2.1——由于规格解析并非总能捕获该参数,需明确标注;提醒用户查看产品页面
2. 预算 — 接受任何表述方式(例如“300美元以下”、“300-500美元”、“约400美元”)

Optional follow-up (ask at most 1 if not already clear):

可选跟进问题(最多1个,若信息不明确则询问):

  • Size/format preference: standard 24–27" / large 27–32" / ultrawide curved / no preference
  • Any brand preference? (ASUS, MSI, GIGABYTE, Acer, LG, Samsung, etc.)

  • 尺寸/形态偏好:标准24-27英寸 / 大尺寸27-32英寸 / 曲面带鱼屏 / 无偏好
  • 是否有品牌偏好?(华硕ASUS、微星MSI、技嘉GIGABYTE、宏碁Acer、LG、三星Samsung等)

Step 2: Build the Search Query

步骤2:构建搜索查询词

The query must be an English search term — always. The catalog is indexed in English only, so a Chinese (or any non-English) query returns zero results, not an error, which looks exactly like "nothing in stock" and leads to falsely telling the user no monitor matched. Never pass the user's own wording through as the query when they wrote in Chinese: map their need onto a query from the table below (e.g. 「我想买个 240Hz 的 电竞显示器」→
240Hz gaming monitor
;「曲面带鱼屏」→
curved ultrawide gaming monitor
;「打游戏顺便修图」→
OLED gaming monitor
). Reply in the user's language as usual — this rule constrains only the search term. The bundled script rejects a non-English query with exit code
1
rather than returning an empty list, so if you see that error, translate the query and re-run.
Important finding from testing: the search API ranks by relevance/best-selling, not by strict keyword filtering. Queries built around size ("24 inch gaming monitor") or vague terms ("portable gaming monitor") mostly return the same best-selling 27" monitors regardless — the API does not reliably filter on size or format keywords. Queries built around refresh rate, panel type, or curved/ultrawide DO return meaningfully different, relevant result sets. So: query by spec priority, then filter locally for size (Step 5) rather than trying to encode size into the query.
Use CasePrimary QueryFallback Query
Competitive / FPS (high refresh)
240Hz gaming monitor
165Hz gaming monitor
General gaming, mainstream
144Hz gaming monitor
gaming monitor
Resolution / image quality focus
OLED gaming monitor
4K gaming monitor
Ultrawide / immersive
curved ultrawide gaming monitor
curved gaming monitor
Budget-conscious
144Hz gaming monitor
+ low maxPrice
gaming monitor
+ low maxPrice
Unsure / general
gaming monitor
144Hz gaming monitor
Enhance with brand if specified: prepend brand name (e.g.
"ASUS 240Hz gaming monitor"
). If it returns <5 results, drop the brand and retry.

查询词必须为英文——务必遵守。商品目录仅以英文索引,因此中文(或任何非英文)查询词会返回零结果,而非错误,看起来就像“无库存”,从而错误地告知用户没有匹配的显示器。当用户用中文表述时,切勿直接将用户的措辞作为查询词:将其需求映射为下表中的查询词(例如「我想买个240Hz的电竞显示器」→
240Hz gaming monitor
;「曲面带鱼屏」→
curved ultrawide gaming monitor
;「打游戏顺便修图」→
OLED gaming monitor
)。回复内容仍使用用户的语言——此规则仅约束搜索词。捆绑脚本会拒绝非英文查询词并返回退出代码
1
,而非空列表,因此如果遇到该错误,请翻译查询词后重新运行。
测试重要发现:搜索API按相关性/畅销度排名,而非严格的关键词筛选。基于尺寸构建的查询词(例如“24 inch gaming monitor”)或模糊术语(例如“portable gaming monitor”)大多会返回相同的畅销27英寸显示器——API无法可靠地筛选尺寸或形态关键词。基于刷新率、面板类型或曲面/带鱼屏构建的查询词则会返回明显不同的相关结果集。因此:按规格优先级构建查询词,然后在步骤5中本地筛选尺寸,而非尝试将尺寸编码到查询词中。
使用场景主查询词备用查询词
竞技/FPS(高刷新率)
240Hz gaming monitor
165Hz gaming monitor
普通游戏、主流需求
144Hz gaming monitor
gaming monitor
注重分辨率/画质
OLED gaming monitor
4K gaming monitor
带鱼屏/沉浸式体验
curved ultrawide gaming monitor
curved gaming monitor
预算有限
144Hz gaming monitor
+ 低maxPrice
gaming monitor
+ 低maxPrice
不确定/通用需求
gaming monitor
144Hz gaming monitor
若指定品牌则增强查询词:在查询词前添加品牌名称(例如
"ASUS 240Hz gaming monitor"
)。如果返回结果少于5个,去掉品牌后重试。

Step 3: Fetch Results

步骤3:获取结果

Run the bundled script once with the query from Step 2 plus the price filters below:
bash
python scripts/monitor_api.py "<QUERY>" --min-price <MIN> --max-price <MAX> --order 15 --limit 30
Omit
--min-price
/
--max-price
when the user gave no budget. The script handles the JSON-RPC call, the double-encoded response, spec parsing and slimming — there is no payload file to write, no response file to parse, and nothing to clean up afterwards. Its JSON output feeds Steps 4–6 directly.
If it exits non-zero, read the stderr message and act on it — never report an exit-
1
failure to the user as "no monitors found"
:
ExitMeaningAction
1
Malformed invocation: non-English query,
--page 0
,
--min-price
above
--max-price
, negative price, or an unquoted multi-word query
Fix that argument and re-run
2
Transport / API failureRetry once, then tell the user honestly rather than inventing results
使用步骤2中的查询词加上以下价格筛选条件,运行一次捆绑脚本:
bash
python scripts/monitor_api.py "<QUERY>" --min-price <MIN> --max-price <MAX> --order 15 --limit 30
如果用户未给出预算,则省略
--min-price
/
--max-price
。脚本会处理JSON-RPC调用、双重编码响应、规格参数解析和精简——无需写入payload文件、无需解析响应文件、无需事后清理。其JSON输出直接用于步骤4-6。
如果脚本返回非零退出代码,请读取stderr消息并采取对应行动——切勿将退出代码
1
的失败告知用户为“未找到显示器”
退出代码含义行动
1
调用格式错误:非英文查询词、
--page 0
--min-price
高于
--max-price
、价格为负数、或多词查询未加引号
修正参数后重新运行
2
传输/API失败重试一次,然后如实告知用户,切勿编造结果

Budget → price filter mapping (same pattern as laptop-finder):

预算→价格筛选映射(与笔记本查找工具模式相同):

Budget statedminPricemaxPrice
Under $200null250
Under $300null350
$200–$400150450
$400–$700350800
$700–$1,2006001400
$1,200+1000null
Around $XX × 0.8X × 1.2
Use slightly wider ranges than stated. If fewer than 8 results come back, retry without price filters and note which results are closest to budget.
Sort order:
15
(Best Selling) by default. Use
1
for "best rated",
2
for "cheapest".
预算表述minPricemaxPrice
200美元以下null250
300美元以下null350
200-400美元150450
400-700美元350800
700-1200美元6001400
1200美元以上1000null
约X美元X × 0.8X × 1.2
使用略宽于用户表述的范围。如果返回结果少于8个,去掉价格筛选后重试,并标注哪些结果最接近预算。
排序方式:默认使用
15
(畅销优先)。使用
1
表示“评分最高”,
2
表示“价格最低”。

Fetch enough candidates to filter locally

获取足够的候选结果用于本地筛选

Since size/format filtering happens after retrieval (Step 5), pull the full first page (the API's page size is 30 — leave
--limit
at its 30 default) rather than assuming the top 10 by relevance already match the user's size/format preference. Only fetch
--page 2
if page 1 yields fewer than 8 matches after local filtering.

由于尺寸/形态筛选在获取结果后进行(步骤5),请拉取完整的第一页(API的页面大小为30——保持
--limit
默认值30),而非假设相关性排名前10的结果已符合用户的尺寸/形态偏好。仅当本地筛选后第一页匹配结果少于8个时,才获取
--page 2

Step 4: Read the Parsed Specs

步骤4:查看解析后的规格参数

Spec parsing is already done by the script — this section is the field reference, not a new parsing task. Upstream, each product carries a
ViewDescription
HTML fragment like:
html
<b>Screen Size:</b> 34"<br/><b>Refresh Rate:</b> 200Hz<br/><b>Resolution:</b> 3440 x 1440<br/><b>Response Time:</b> 1 ms<br/><b>Panel:</b> VA<br/><b>Aspect Ratio:</b> 21:9<br/><b>Curved Surface Screen:</b> Curved<br/>
The script turns that into flat fields. Keys absent upstream are omitted from the output — treat a missing key as unknown rather than erroring or guessing.
FieldNotes
Screen Size
e.g.
27"
SizeInches
numeric form of the above (e.g.
27.0
) — use it for size filtering in Step 5
Refresh Rate
e.g.
165Hz
Resolution
e.g.
2560 x 1440 (2K)
— also appears as 4K/1080p
Response Time
e.g.
1 ms
Panel
IPS / VA / OLED / Rapid IPS / Rapid VA / TN
Aspect Ratio
e.g.
16:9
,
21:9
Curved Surface Screen
Curved
or
Flat Panel
— often absent
IsCurved
boolean, derived from the spec field with a fallback to the title — prefer this over the raw field
Display Colors
e.g.
1.07 Billion
AdaptiveSync
normalized list, e.g.
["FreeSync Premium Pro"]
,
["G-Sync Compatible"]
— read off the title, which carries it more reliably than the spec block
规格参数解析已由脚本完成——本节为字段参考,而非新的解析任务。上游每个产品均包含
ViewDescription
HTML片段,例如:
html
<b>Screen Size:</b> 34"<br/><b>Refresh Rate:</b> 200Hz<br/><b>Resolution:</b> 3440 x 1440<br/><b>Response Time:</b> 1 ms<br/><b>Panel:</b> VA<br/><b>Aspect Ratio:</b> 21:9<br/><b>Curved Surface Screen:</b> Curved<br/>
脚本将其转换为扁平化字段。上游缺失的键将从输出中省略——将缺失的键视为未知,而非报错或猜测。
字段说明
Screen Size
例如
27"
SizeInches
上述字段的数值形式(例如
27.0
)——用于步骤5中的尺寸筛选
Refresh Rate
例如
165Hz
Resolution
例如
2560 x 1440 (2K)
——也可能显示为4K/1080p
Response Time
例如
1 ms
Panel
IPS / VA / OLED / Rapid IPS / Rapid VA / TN
Aspect Ratio
例如
16:9
21:9
Curved Surface Screen
Curved
Flat Panel
——常缺失
IsCurved
布尔值,由规格字段推导并辅以标题作为 fallback——优先使用此字段而非原始字段
Display Colors
例如
1.07 Billion
AdaptiveSync
标准化列表,例如
["FreeSync Premium Pro"]
["G-Sync Compatible"]
——从标题读取,比规格块更可靠

Other key fields:

其他关键字段:

FieldNotes
ItemNumber
/
Url
Url
is the ready-made
https://www.newegg.com/p/{ItemNumber}
link
Title
Product title (link text)
FinalPrice
Numeric price — format as
$X.XX
PriceSaveText
Savings text, if any
Rating
Star rating 0–5
Reviews
Number of reviews
IsRefurbished
Show 🔄 tag if true

字段说明
ItemNumber
/
Url
Url
为现成的
https://www.newegg.com/p/{ItemNumber}
链接
Title
产品标题(链接文本)
FinalPrice
数值价格——格式化为
$X.XX
PriceSaveText
优惠文本(如有)
Rating
星级评分0-5
Reviews
评论数量
IsRefurbished
如果为true,显示🔄标签

Step 5: Locally Filter and Rank

步骤5:本地筛选与排名

Apply the user's stated preferences that the API query didn't already handle:
  • Size preference: if user asked for "24–27 inch", filter on
    SizeInches
    outside that range. If it leaves fewer than 5 results, widen by a few inches and note the substitution.
  • Ultrawide/curved: filter for
    Aspect Ratio
    =
    21:9
    or
    IsCurved
    =
    true
    , if requested.
  • Panel type: if user specified OLED/IPS, filter or prioritize accordingly.
  • Otherwise rank primarily by relevance to the use case (refresh rate for competitive, resolution/panel for quality-focused) then by rating.
Take the top 10 after filtering.

应用用户表述的、API查询未处理的偏好:
  • 尺寸偏好:如果用户要求“24-27英寸”,筛选掉
    SizeInches
    超出该范围的结果。如果筛选后结果少于5个,扩大几英寸范围并向用户说明调整。
  • 带鱼屏/曲面:如果用户要求,筛选
    Aspect Ratio
    =
    21:9
    IsCurved
    =
    true
    的结果。
  • 面板类型:如果用户指定OLED/IPS,进行筛选或优先排序。
  • 否则,主要按与使用场景的相关性排名(竞技场景优先刷新率,注重画质场景优先分辨率/面板),然后按评分排序。
筛选后取前10个结果。

Step 6: Display Results

步骤6:展示结果

undefined
undefined

🖥️ Top Gaming Monitors for [Use Case] — [Budget]

🖥️ 适合[使用场景]的顶级电竞显示器——[预算]

#MonitorSizeResolutionRefreshPanelPriceRating
1Product Name27"1440p165HzIPS$XXX⭐ X.X
...
💡 Click any monitor name to view full specs and buy on Newegg.

**Formatting rules:**
- Format `FinalPrice` as `$X` (no decimals if `.00`) or `$X.XX`
- If `PriceSaveText` non-empty: add `> 💸 Save PriceSaveText` below the row
- If `IsRefurbished`: append ` 🔄` to product name
- If a spec field is missing/unparsed: show `—`
- If curved/ultrawide: append 🌀 next to size

**After the table**, add 2–3 sentences of buying advice tailored to the use case:
- 🎯 Competitive: note the refresh rate/response time tradeoffs among the results
- 🎨 Quality/creation: note panel type and color accuracy implications
- 🕹️ Console: remind them to confirm HDMI 2.1 on the product page since it's not
  always captured in the parsed specs

---
#显示器尺寸分辨率刷新率面板价格评分
1产品名称27"1440p165HzIPS$XXX⭐ X.X
...
💡 点击任意显示器名称即可查看完整规格参数并在Newegg上购买。

**格式规则:**
- 将`FinalPrice`格式化为`$X`(如果小数部分为`.00`则省略小数)或`$X.XX`
- 如果`PriceSaveText`非空:在该行下方添加`> 💸 优惠PriceSaveText`
- 如果`IsRefurbished`为true:在产品名称后追加` 🔄`
- 如果规格字段缺失/未解析:显示`—`
- 如果是曲面/带鱼屏:在尺寸后追加🌀

**表格之后**,添加2-3句针对使用场景的购买建议:
- 🎯 竞技场景:说明结果中刷新率/响应时间的权衡
- 🎨 画质/创作场景:说明面板类型和色彩准确度的影响
- 🕹️ 主机场景:提醒用户确认产品页面上的HDMI 2.1参数,因为该参数并非总能被解析捕获

---

Edge Cases

边缘情况

  • Fewer than 8 results after local size/format filtering: widen the size range or drop the format filter, note the substitution to the user.
  • Specs missing for some products: show
    for those fields, don't drop the product from the list — price/rating/title are usually still there.
  • The script can't run (no Python in the host): not an error — call the API directly per
    references/http-api.md
    , and say nothing about it to the user.
  • The script exits
    2
    : retry once, then report the failure honestly — never fill in invented prices or specs.
  • Console gaming request: always add the HDMI 2.1 reminder since that spec isn't reliably present in parsed fields.
  • Results look off-topic (office monitors, no gaming specs at all): retry with the fallback query from the table in Step 2.
  • User wants precise/verified specs on final 2–5 candidates: optionally reuse the
    newegg-compare
    skill's browser-based Productcompare page scrape for a second, authoritative pass before the user buys.
  • 本地尺寸/形态筛选后结果少于8个:扩大尺寸范围或取消形态筛选,向用户说明调整。
  • 部分产品规格参数缺失:这些字段显示
    ,不要将产品从列表中移除——价格/评分/标题通常仍存在。
  • 脚本无法运行(主机无Python):不属于错误——按照
    references/http-api.md
    直接调用API,且切勿告知用户相关情况。
  • 脚本返回退出代码
    2
    :重试一次,然后如实报告失败——切勿编造价格或规格参数。
  • 主机游戏请求:务必添加HDMI 2.1提醒,因为该规格参数并非总能在解析字段中找到。
  • 结果看起来偏离主题(办公显示器、无电竞规格参数):使用步骤2表格中的备用查询词重试。
  • 用户需要对最终2-5个候选产品进行精准/验证后的规格参数:可选择性复用
    newegg-compare
    技能的浏览器端Productcompare页面抓取功能,在用户购买前进行第二次权威验证。