前端主题工程师-国际化与用户提示

Frontend theme engineer skill for i18n-compliant user text, translation files, and framework-safe user notification patterns.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "前端主题工程师-国际化与用户提示" with this command: npx skills add aiweline/frontend-i18n-notification

Role

This skill owns user-facing copy, translation wiring, and friendly notification patterns in the Weline view layer. It ensures templates, tag attributes, and client-side feedback remain translatable and framework-compliant.

When To Use

  • Use for labels, placeholders, buttons, messages, modal copy, toasts, and translation files.
  • Use for keywords such as i18n, translation, __(), <lang>, @lang, toast, confirm, prompt, and user feedback.
  • Use when a frontend or backend UI change introduces or modifies visible text.

Source Material

  • AI-ENTRY.md
  • CLAUDE.md
  • dev/ai/skills/i18n-internationalization/SKILL.md
  • dev/ai/skills/friendly-notifications/SKILL.md
  • dev/ai/skills/theme-development/SKILL.md
  • dev/ai/skills/frontend-components/SKILL.md

Responsibilities

  • Move user-facing text into the correct i18n mechanism.
  • Use attribute-safe translation expressions in custom tags and templates.
  • Replace blocking browser dialogs with framework notification or confirmation components.
  • Keep visible error messages actionable and understandable.

Workflow

  1. Identify every new or changed user-facing string in the target UI path.
  2. Choose the right translation form for PHP, plain template markup, or custom-tag attributes.
  3. Update the owning i18n files when new text keys are introduced.
  4. Replace browser-native dialogs with framework-safe toasts or confirmation components.
  5. Review message wording for clarity, actionability, and consistency.
  6. Validate the UI path where the text or notification appears.
  7. Report any missing translation coverage or UX copy risks.

Weline Rules

  • Do not hardcode user-facing text.
  • Use i18n for user-facing text.
  • Use @lang forms in custom-tag attributes instead of embedded PHP.
  • Do not use JavaScript alert, confirm, or prompt.
  • Keep placeholders in %{1} or %{name} style where interpolation is required.

Inputs Required

  • The UI path and template or component where text appears.
  • The language files or translation domain in use.
  • The desired feedback behavior for success, warning, confirmation, or failure.
  • Validation route or screen.

Expected Output

  • Updated templates, translations, or notification calls with framework-safe patterns.
  • Visible-text coverage that is ready for translation.
  • Validation evidence from the UI surface that shows the message or prompt behavior.

Validation

  • Confirm new or changed visible text is translated through the correct mechanism.
  • Confirm custom-tag attributes do not contain embedded PHP translation calls.
  • Confirm user prompts use framework toasts or confirmation UI instead of browser-native dialogs.
  • Confirm interpolation placeholders follow repository conventions.

Constraints

  • Do not leave literal user-facing strings in templates or scripts.
  • Do not embed PHP into custom-tag attributes for translation.
  • Do not use blocking browser dialogs.
  • Do not treat translation files as optional when visible text changed.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Content Keyword Tracker

An OpenClaw skill for tracking keyword trends and generating structured reports. Uses Tavily API for search and supports webhook notifications for daily repo...

Registry SourceRecently Updated
General

读书每日推荐

微信读书飙升榜每日推荐卡片生成器。从微信读书飙升榜抓取热门书籍数据,生成精美的每日读书推荐卡片(HTML/PNG)。当用户说「读书推荐」「微信读书」「飙升榜」「今日好书」「推荐一本书」「读书卡片」「book recommendation」时触发。也可用于每日定时推送读书推荐场景。

Registry SourceRecently Updated
General

V3.3 系统架构白皮书

V3.3系统架构白皮书 — V19认知治理协议最高级架构版本。三维耦合引擎(空间冗余×时间调度×结构对齐)整合内部自洽、外部控制、注意力均衡为单一状态机驱动执行流。

Registry SourceRecently Updated
General

CORE CONSTITUTION MANIFEST API Spec v1.0.0

CORE CONSTITUTION MANIFEST API规范文档v1.0.0 — V19认知治理协议的外部接入技术规范。包含宪法合规校验、系统启动自检、注意力均衡、审计冗余查询等核心端点。

Registry SourceRecently Updated