sme-ui-ux-engine

作者:agent674 次安装尚无点赞更新于 2026年10月29日分类: 其他

它能做什么

Use when editing or refactoring frontend React views, modifying container widths, adjusting dark-mode CSS variables, styling user chat input elements, and handling real-time data lookups.

安装会在你的 AgentsRoom 桌面端打开这个条目。如果还没有安装应用,你会被带到下载页面。

SKILL.md

---
name: sme-ui-ux-engine
description: Use when editing or refactoring frontend React views, modifying container widths, adjusting dark-mode CSS variables, styling user chat input elements, and handling real-time data lookups.
---

# SME Platform UI/UX Quality & Accessibility Guardrails

When compiling, refactoring, or evaluating structural visual nodes, you must strictly implement the following execution rules:

### 1. Unified Split-Screen Layout (Anti-Overlap Constraint)

- Do not position the floating AI Chat Widget absolutely over core data tables or hide metrics like "Last Sold Timestamp" or "Status."
- Refactor the primary layout container in `App.js` using Flexbox or Grid properties.
- When the chat panel state is CLOSED, the product data table must fill 100% of the viewport width.
- When the chat panel state is OPEN, the screen must smoothly split: the inventory data grid dynamically constraints to 65% width, and the AI Chat Panel slides out to anchor flush against the right-hand boundary taking exactly 35% width. They must never mask each other.

### 2. High-Contrast Accessibility (Form Input Polish)

- Mitigate dark-on-dark contrast failure violations across the application.
- The chat footer input field area background, boundary text box, and typography placeholders (such as "Ask about a product...") must maintain distinct, high-contrast values against the page background. Text must be easily legible.

### 3. Asynchronous State Synchronization

- Prevent data divergence anomalies (e.g., the data grid flashing a count of 50 while the AI chat outputs a database reading of 45).
- Centralize your fetch responses. When an interactive natural language query executes against `/api/analytics/forecast`, any retrieved inventory numbers must pipe back up into a shared parent state context or global provider hook. Both the table columns and chat bubble vectors must re-render matching metrics instantly.

### 4. String Hygiene & Markdown Parsing

- Do not let unrendered raw markdown strings leak directly into conversational bubbles or list elements.
- Implement an HTML text mapper method. Convert incoming text flags (e.g., `**Coffee Beans**` or `**4.6 days**`) into semantic bold elements (`<strong>` or `<b>`) and cleaner typography spacing.

### 5. Open Sidebar Utilization (CRUD Forms Layout)

- Eliminate extensive empty dark blocks or dead vertical space underneath left sidebar navigation tags.
- Reposition static notification components to the top dashboard navigation cluster. Use the empty left sidebar space to insert an inline, beautifully styled data ingestion wrapper containing standard fields ("Item Name", "SKU", "Initial stock") along with an active "+ Add New Product" button to support quick CRUD data triggers.

标签

frontend

延伸阅读

DevOps 工程师撰稿人前端开发者销售代表后端开发者教练与培训师软件架构师法律顾问QA 工程师财务与行政全栈开发者创意设计师移动开发者研究员安全工程师人事与招聘
项目经理翻译Git 专家数据分析师SEO 专家会计本地化专员公关与传播头脑风暴者运营与物流营销专员客户服务项目助理采购专员社群运营私人助理

下载 AgentsRoom

在一个窗口中运行你所有项目的所有 AI 代理。

下载 AgentsRoom免费

配套应用:随时随地监控你的 Agent

使用 Claude、Codex、Antigravity CLI 或其他 AI 提供商。

获取扩展程序
Chrome Web Store

把 Bug 和需求直接发送到您的公开待办清单。

像读聊天记录一样读代理

每个代理都有角色、头像和一条对话线程,读起来就像聊天应用。

对话视图

AgentsRoom 对话视图:AI 编程代理的工作以聊天线程呈现
多项目管理
多供应商
多代理运行
实时状态
文件差异与提交
移动应用
实时预览
代理团队
浏览器自动化
Backlog 驱动开发
提示词库
技能库
查看所有功能