react-ui-refactor-rules
作者:agent671 次安装尚无点赞更新于 2026年9月20日分类: 其他
它能做什么
Use when refactoring or building React views, fixing element overlapping, updating text inputs, and parsing raw strings.
安装会在你的 AgentsRoom 桌面端打开这个条目。如果还没有安装应用,你会被带到下载页面。
SKILL.md
--- name: react-ui-refactor-rules description: Use when refactoring or building React views, fixing element overlapping, updating text inputs, and parsing raw strings. --- # React v18 & Tailwind UI Correction Protocol When refactoring the user interface, you must strictly implement the following guidelines: 1. **Non-Overlapping Layout (Split Pane):** Never position floating elements (like chat boxes) absolutely over core data blocks. Modify `App.js` or structural flex grids so that when a side panel opens, the main container smoothly takes 65% width and the side panel locks cleanly to the remaining 35% without blocking visibility. 2. **Accessibility Inputs:** Ensure crisp typography boundaries. Change any dark-on-dark contrast configurations. The chat input bar footer text or placeholder (`Ask about a product...`) must have explicit contrast ratios against its background. 3. **String Parsing Protection:** Never drop naked text vectors into rendering grids. Parse raw incoming text markers (like `**Coffee Beans**` or `**4.6 days**`) cleanly using bold tag abstractions (`<strong>`) or a typography wrapper method. 4. **Sidebar Forms:** Maximize open sidebar matrices by embedding styled inputs and crisp buttons (`+ Add Product`) for user CRUD events.
标签
frontend
延伸阅读
Claude Ads:帮你审计广告账户的 Claude Code 技能
Claude Ads 是一款面向 Claude Code 的开源技能:对 Google、Meta、LinkedIn、TikTok、Amazon 广告等做 250 多项检查,给出百分制评分和按优先级排序的行动方案,全程只需十来分钟。本文讲解安装、命令、局限,以及如何在 AgentsRoom 中把它编排起来。
AGENTS.md:一个上下文文件喂饱所有编码 Agent(Codex、Antigravity、Claude)
AGENTS.md 是 AI 编码 Agent 在动你代码之前先读的那份可移植指令文件。该往里写什么、它和 CLAUDE.md 有何区别,以及如何在 Codex、Antigravity 和 Claude 之间保持同一份上下文。
下载 AgentsRoom
在一个窗口中运行你所有项目的所有 AI 代理。
免费下载 AgentsRoom
配套应用:随时随地监控你的 Agent
使用 Claude、Codex、Antigravity CLI 或其他 AI 提供商。
获取扩展程序
Chrome Web Store
把 Bug 和需求直接发送到您的公开待办清单。