← 返回
未分类

low-visibility-fix

Audit existing mobile UI (WeChat mini-program / H5 / app) for FIELD low-visibility conditions — low light, glare, gloves, wet hands, vibration — and emit a structured, implementer-ready handoff DOCUMENT SET (findings by severity + prioritized fix recommendations). Runs a deterministic analyzer plus a bounded visual/browser pass; scopes to specific page(s)/component(s) for cheap multi-round re-runs. NEVER edits the target — it hands documents to another agent to apply. Use when someone has an exi
Audit existing mobile UI (WeChat mini-program / H5 / app) for FIELD low-visibility conditions — low light, glare, gloves, wet hands, vibration — and emit a structured, implementer-ready handoff DOCUMENT SET (findings by severity + prioritized fix recommendations). Runs a deterministic analyzer plus a bounded visual/browser pass; scopes to specific page(s)/component(s) for cheap multi-round re-runs. NEVER edits the target — it hands documents to another agent to apply. Use when someone has an existing field/industrial UI and wants it checked for contrast, tap-target size, color-only state, or icon-only buttons, and wants a fix plan. Triggers: "审计这个界面在低光/眩光/戴手套下是否清晰可点, 给我修改建议文档", "audit this field UI and hand me a fix plan", "check only <page/component> for low-visibility issues", "$low-visibility-fix". Not for: editing/fixing the files directly (this skill produces docs, an implementer applies them); designing a new UI from scratch; disability/screen-reader a11y (colorblind, low-vision); generic CSS review with no low-visibility angle.
yjkj999999
未分类 community v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 14
下载
💾 0
安装
1
版本
#latest

概述

Low-Visibility UI Audit → Handoff Docs

Audit existing mobile UI for field low-visibility conditions — environmental

(low light, glare) + physical (gloves, wet hands, vibration) — and emit a

structured handoff document set for another agent to implement. **Field

conditions only**; disability/a11y populations are out of scope — redirect them.

This skill never edits the target. Its stable, must-always-succeed

deliverable is the doc set (audit.json + report.md), written only to the out

dir. It is built to run many rounds on a scoped subset — keep each run

bounded (targeted pages/components, capped scan).

Protocol — analyze, document, hand off (never edit the target)

  1. Scope — confirm a field low-visibility audit of an EXISTING mobile UI;

else redirect (new design / a11y / generic CSS = out of scope). Read the

targeted request (--pages, --selector); with none, a bounded default scan.

  1. Preflight — locate the in-scope files for the targeted scope only: H5

.html/.css, or mini-program .wxml/.wxss. Pick the visual-pass render

method (rules/visual-pass.md); if none is available, degrade — still emit docs.

  1. Analyze — `python3 scripts/audit.py [--pages a,b] [--selector .x]

[--css sheet.wxss]. Deterministic findings thresholded by design-tokens.json`.

  1. Visual pass (bounded) — render the targeted page(s) at a mobile viewport,

resolve the needs_judgment long tail by visual reasoning, label visual

findings as estimates. Never fabricate a ratio.

  1. Synthesizeaudit.py writes the doc set to the out dir (default

/.lv-audit/). Confirm audit.json validates and every section is

present, including the zero-findings "clean" doc.

  1. Report — summarize findings by severity, point at the doc paths + residual

needs_judgment, suggest the next-round scope. Do not edit the target.

Output goes only to the out dir (writing into the target source tree →

OUTPUT_ONLY refusal). No network beyond rendering the target. Refuse to

recommend lowering contrast/target below the field threshold for a field-critical

control; offer a compliant alternative. Severity, interpretation, doc-set spec,

and degraded mode → the modules below.

Modules & scripts

PathWhen
------------
rules/audit-protocol.mdStep 3–4: severity model, reading findings, completing needs_judgment, degraded mode, adversarial holds
rules/handoff-docs.mdStep 5: doc-set sections + how fixes are written as recommendations (not applied)
rules/visual-pass.mdStep 2/4: per-target render method, what the visual pass catches, the page cap, graceful degradation
references/design-tokens.jsonthreshold values (single source of truth)
references/field-conditions.mdwhy each threshold exists; standards citations
assets/handoff-doc.template.mdthe doc-set shape an implementer agent reads
assets/fix-snippets.htmlcompliant component patterns referenced by recommendations (never applied)
`scripts/audit.py [--pages a,b] [--selector .x] [--css f] [--out d] [--input-mode static\visual_estimate] [--json]`scope → analyze → emit doc set; never edits the target (exit 3 = empty scope)
scripts/analyze.py [--css f] [--selector .x] [--viewport-px n]deterministic findings JSON for one file (H5 or WXML+WXSS)
evals/run_all.pyregression + behavioral harness — every adversarial edge bound to a case

版本历史

共 1 个版本

  • v1.0.0 从ClawHub迁移发布 当前
    2026-06-07 12:33 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

self-improving-agent

user_15292d5a
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails
★ 0 📥 244
design-media

Openai Whisper

steipete
使用 Whisper CLI 进行本地语音转文字(无需 API 密钥)
★ 335 📥 94,700
design-media

UI/UX Pro Max

xobi667
提供 UI/UX 设计智能与实现指导,帮助打造精美界面。适用于 UI 设计、UX 流程、信息架构、视觉风格、设计系统/标记、组件规格、文案/微文案、无障碍及前端 UI(HTML/CSS/JS、React、Next.js、Vue、Svelte
★ 227 📥 48,872