← 返回 Skills 市场
aiweline

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

作者 Aiweline · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
52
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install frontend-i18n-notification
功能描述
Frontend theme engineer skill for i18n-compliant user text, translation files, and framework-safe user notification patterns.
使用说明 (SKILL.md)

\r \r

Role\r

\r 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.\r \r

When To Use\r

\r

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

Source Material\r

\r

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

Responsibilities\r

\r

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

Workflow\r

\r

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

Weline Rules\r

\r

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

Inputs Required\r

\r

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

Expected Output\r

\r

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

Validation\r

\r

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

Constraints\r

\r

  • Do not leave literal user-facing strings in templates or scripts.\r
  • Do not embed PHP into custom-tag attributes for translation.\r
  • Do not use blocking browser dialogs.\r
  • Do not treat translation files as optional when visible text changed.\r \r
安全使用建议
This skill appears safe to install as a documentation-only helper for frontend localization and user notification work. As with any code-editing skill, review proposed template and translation changes before applying them.
功能分析
Type: OpenClaw Skill Name: frontend-i18n-notification Version: 1.0.0 The skill bundle is a standard configuration for a frontend engineer agent focused on internationalization (i18n) and user notification patterns. It contains no executable code, only architectural guidelines and workflow instructions for managing translation files and UI components within the 'Weline' framework. No indicators of malicious intent, data exfiltration, or security vulnerabilities were found in SKILL.md or _meta.json.
能力评估
Purpose & Capability
The stated purpose is to help with user-facing copy, translation wiring, and notification patterns, and the workflow stays aligned with that purpose.
Instruction Scope
The instructions are scoped to identifying visible UI strings, updating translation files, replacing native dialogs with framework UI, and validating the UI path.
Install Mechanism
There is no install spec, no code files, no required binaries, and no environment variables or credentials.
Credentials
The skill only describes project-file edits expected for frontend localization and notification work; no broad filesystem, network, shell, or account access is requested.
Persistence & Privilege
No persistence, background activity, credential use, privileged access, or long-running behavior is described.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install frontend-i18n-notification
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /frontend-i18n-notification 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Publish_WelineFramework_Multica_role_skills
元数据
Slug frontend-i18n-notification
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

前端主题工程师 国际化与用户提示 是什么?

Frontend theme engineer skill for i18n-compliant user text, translation files, and framework-safe user notification patterns. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 52 次。

如何安装 前端主题工程师 国际化与用户提示?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install frontend-i18n-notification」即可一键安装,无需额外配置。

前端主题工程师 国际化与用户提示 是免费的吗?

是的,前端主题工程师 国际化与用户提示 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

前端主题工程师 国际化与用户提示 支持哪些平台?

前端主题工程师 国际化与用户提示 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 前端主题工程师 国际化与用户提示?

由 Aiweline(@aiweline)开发并维护,当前版本 v1.0.0。

💬 留言讨论