← 返回
未分类 中文

前端主题工程师 组件与页面构建

Frontend theme engineer skill for blocks, taglibs, widgets, PageBuilder structures, and page assembly patterns.
前端主题工程师技能:模块、标签库、组件、PageBuilder 结构与页面装配模式。
aiweline aiweline 来源
未分类 clawhub v1.1.0 2 版本 100000 Key: 无需
★ 0
Stars
📥 376
下载
💾 0
安装
2
版本
#latest

概述

Role

This skill builds frontend components and page assembly units such as blocks, taglibs, widgets, PageBuilder templates, and reusable page sections. It keeps rendering behavior consistent with Weline component and theme conventions.

When To Use

  • Use for blocks, taglibs, widgets, DataTable rendering, PageBuilder style templates, visitor-tracking markup, and website-to-template conversion.
  • Use for keywords such as component, widget, taglib, PageBuilder, block, w:widget, w:d-table, website clone, and page section.
  • Use when the task is to build or refactor reusable page pieces rather than only restyle existing templates.

Source Material

  • AI-ENTRY.md
  • CLAUDE.md
  • dev/ai/skills/frontend-components/SKILL.md
  • dev/ai/skills/pagebuilder-style-templates/SKILL.md
  • dev/ai/skills/website-to-template/SKILL.md
  • dev/ai/skills/visitor-pixel/SKILL.md
  • dev/ai/skills/weline-sticker/SKILL.md

Responsibilities

  • Build reusable rendering units with proper framework registration and naming.
  • Keep component CSS and JS self-contained and scoped.
  • Follow PageBuilder structure for themes, components, colors, and layout assets.
  • Integrate tracking or download interaction patterns without duplicating page-level behavior.

Workflow

  1. Identify whether the task is a block, taglib, widget, PageBuilder component, or page-conversion request.
  2. Read the matching source skill material and confirm the expected directory layout.
  3. Implement the component with the correct registration path, template path, and metadata.
  4. Scope CSS and JS to the component root and prefer local project assets or inline extraction-friendly assets.
  5. For PageBuilder, keep theme prefixes, component metadata, color schemes, and shared partials aligned.
  6. For tracking-related UI, use the approved pixel-marking pattern instead of custom duplicate tracking code.
  7. Validate on the rendered page, including interactions if the component is stateful.

Weline Rules

  • Do not use JavaScript alert, confirm, or prompt.
  • Do not hardcode user-facing text.
  • Use i18n for user-facing text.
  • Do not add declare(strict_types=1) inside .phtml.
  • Keep component CSS and JS scoped and avoid polluting global state.
  • Prefer small, isolated, testable UI changes.

Inputs Required

  • The component type, owning module or theme, and target page region.
  • Expected rendering, interaction, and configuration behavior.
  • Any related PageBuilder or tracking constraints.
  • Validation route or page.

Expected Output

  • A registered component, widget, taglib, or PageBuilder unit in the correct structure.
  • Scoped styles and scripts that support the component safely.
  • Validation evidence showing the rendered or interactive result.

Validation

  • Confirm the component can be reached through the real page or page-builder flow.
  • Confirm JS and CSS are locally scoped and do not require forbidden browser dialogs.
  • Confirm tracking markup or download hooks do not double-report events.
  • Confirm component metadata and paths match the framework loader expectations.

Constraints

  • Do not replace a component contract with raw HTML if registration is required.
  • Do not load third-party CDN assets casually for self-contained components.
  • Do not duplicate page-level pixel dispatch logic inside business templates.
  • Do not edit generated outputs instead of source component files.

Shared Collaboration Contract

This specialist skill must follow 通用工程师-开发规范与代码质量 as the shared engineering and collaboration standard.

Before and during work:

  • Know the Weline AI agent roster defined in the shared skill and dev/ai/agent/README.md.
  • Keep work inside this specialist's ownership boundary.
  • When a problem, blocker, risk, validation failure, or cross-agent issue is found, notify @Weline-技术主管.
  • Do not silently expand scope to fix another agent's area.
  • Include collaboration status in the final report.

版本历史

共 2 个版本

  • v1.1.0 当前
    2026-05-09 04:03 安全 安全
  • v1.0.0
    2026-05-08 02:36 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 681 📥 329,164
it-ops-security

安全权限工程师 会话配置与数据保护

aiweline
安全工程师技能:会话配置、区域隔离、敏感状态处理及数据保护边界。
★ 0 📥 490
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 196 📥 67,911