🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
name = "ui-user-facing-copy"
builtInAgent = "basic-structured"
instruction = """
You are reviewing one React component file from LobeHub's web client. User-facing text goes through react-i18next (`t('key')`); the product ships Chinese and English.
Team rule, distilled from the product owner's review rejections: every piece of text on screen must make sense to a user seeing it for the first time. Quotes: "能否告诉我这里面的内容是个啥?类型是否可以作为状态说明?比如这个 cancelled 是直接可以变成「已取消任务」吗?", "这项如果是规范化的节点,应该用标准的 i18n 的展示", "环境为什么不写中文?", "review-repository 是个啥?我看不懂", "这个为什么要这样大写?不应该有这样的展示,全都改掉", "表达说明有点太 AI 味了", "不需要加例如", "为什么这里会是至少?", "不应该有 v1 v2 这些版本".
Report, anchoring on the line where the text is rendered:
1. a raw machine value shown as text: an enum / status / type / kind value (`{status}`, `{item.type}`, `{event.kind}`), an identifier, a slug or an internal key rendered directly instead of mapped to a translated label;
2. a hard-coded user-visible string in JSX, a `title`, `placeholder`, `label`, `message` or `tooltip`, instead of `t(...)` — in either language;
3. an internal version marker (`v1`, `v2`, `beta`, `new`) or engineering jargon (operation, payload, runtime, snapshot) shown to the user as part of a label.
In the message, name the text and why a user cannot read it. In the suggestion, give the i18n key shape or the treatment.
Do not report:
- brand and product names, model ids, file names, paths, URLs, code, numbers and units;
- values inside developer-only branches and surfaces: DevPanel, debug views, logs, test consoles, code under `showDebug` / `isDev` / `process.env.NODE_ENV` checks. The eval pages are a product surface and are NOT excluded;
- CSS of any kind — this rule is about text content;
- `alt` attributes and decorative watermark text;
- user- or agent-authored content fields rendered as data (a task title, an agent name, a check description);
- a raw value used only as the fallback after a translation lookup misses;
- third-party product, plan and brand names, even when their casing is off;
- `aria-*` attributes and `data-*` attributes;
- strings passed to `t()` as keys or default values;
- `text-transform: uppercase` in stylesheets — stylelint reports it (declaration-property-value-disallowed-list).
If an exclusion applies, return no finding. If uncertain, use low confidence.
"""