Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计通过

frontend-builder前端构建器

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

19,455

周安装

787

GitHub Stars

公开资料未说明

下载量

6,107
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:frontend-builder(前端构建器)
来源仓库:https://github.com/h4gen/frontend-builder
安装命令:
openclaw skills install frontend-builder
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install frontend-builder

简介

为非程序员从自然语言 UI 目标生成生产就绪的 React TSX 前端组件,包括设置指令和依赖项。

SKILL.md

name
no-code-frontend-builder
description
Meta-skill for generating production-ready React UI for non-programmers by orchestrating frontend-design-ultimate, shadcn-ui, and react-expert. Use when users describe UI outcomes (for example dashboards, landing pages, admin screens) and need a single copy-pasteable TSX component with explicit setup and dependency instructions.
homepage
https://clawhub.ai
user-invocable
true
disable-model-invocation
false
metadata
{"openclaw":{"emoji":"🧩","requires":{"bins":["node","npm","npx"],"env":[],"config":[]},"note":"Requires local installation of frontend-design-ultimate, shadcn-ui, and react-expert."}}

Purpose

Enable non-programmers to get production-grade frontend components from natural-language requirements.

This meta-skill coordinates three upstream skills and produces implementation-ready output, usually as one .tsx file plus concise setup notes.

It does not replace upstream skill logic and does not assume hidden dependencies are already installed.

Required Installed Skills

  • frontend-design-ultimate (inspected latest: 1.0.0)
  • shadcn-ui (inspected latest: 1.0.0)
  • react-expert (inspected latest: 0.1.0)

Install/update:

npx -y clawhub@latest install frontend-design-ultimate
npx -y clawhub@latest install shadcn-ui
npx -y clawhub@latest install react-expert
npx -y clawhub@latest update --all

Verify:

npx -y clawhub@latest list

OpenClaw Compatibility Notes

This skill is written to match OpenClaw skill-loading rules:

  • SKILL.md with YAML frontmatter and Markdown body
  • single-line frontmatter keys
  • metadata encoded as a single-line JSON object
  • no unsupported custom top-level frontmatter keys

If this file is edited later, keep those constraints intact.

Runtime Prerequisites

Minimum local stack:

  • Node.js 18+
  • npm
  • React + TypeScript project with Tailwind configured

Adjacent ecosystem dependencies (from inspected upstream skill content):

  • tailwindcss (layout/styling baseline)
  • lucide-react (icons used by many shadcn examples)
  • next-themes (theme toggle patterns in shadcn guidance)
  • react-hook-form, zod, @hookform/resolvers (form patterns)
  • optional: framer-motion (motion patterns from frontend-design-ultimate)
  • optional: recharts or equivalent if a real chart package is required

If user wants shadcn components and they are missing, include explicit setup commands in output:

npx shadcn@latest init
npx shadcn@latest add card button badge tabs table sheet sidebar

Do not assume Next.js unless the user says Next.js. Default to framework-agnostic React .tsx output that can run in Vite or Next.js with minimal adaptation.

Inputs the LM Must Collect First

  • ui_goal (dashboard, landing page, admin panel, etc.)
  • theme_mode (dark, light, or system)
  • primary_metrics (for example revenue, MRR, growth)
  • chart_expectation (line, bar, area; static or interactive)
  • layout_density (compact, balanced, spacious)
  • brand_constraints (colors, logo, typography constraints)
  • target_framework (vite-react, nextjs, or generic-react)
  • single_file_strict (true/false)

If any critical input is missing, make explicit defaults and state them in Assumptions.

Tool Responsibilities

frontend-design-ultimate

Use for visual direction and anti-generic design decisions:

  • choose strong aesthetic direction
  • define typographic hierarchy and color system
  • enforce mobile-first responsiveness
  • avoid boilerplate “AI-slop” layouts

From inspected upstream guidance:

  • commit to one clear tone
  • include an unforgettable visual element
  • prefer CSS variables and strong contrast
  • avoid generic default fonts

shadcn-ui

Use for robust UI primitives and composition patterns:

  • cards, tabs, sheets, navigation, table, badges, dialogs
  • theming conventions and dark mode compatibility
  • predictable component structure for fast shipping

From inspected upstream guidance:

  • components are copied into the project (not a hosted runtime UI SDK)
  • include install commands for any components you reference
  • prefer composable primitives for layout and data display

react-expert

Use for behavioral correctness and maintainability:

  • state design and data flow
  • strict TypeScript-first component patterns
  • accessibility and predictable rendering behavior
  • optional performance hardening for non-trivial UI

From inspected upstream guidance:

  • avoid state mutation and unstable keys
  • use semantic structure and cleanup in effects
  • ship clear typed interfaces for props/data

Canonical Causal Chain

Use this exact orchestration order.

  1. Requirement Parse
  • Normalize user request into goals, constraints, and output contract.
  1. Design Direction (frontend-design-ultimate)
  • Select one explicit aesthetic mode.
  • Define palette, type scale, spacing, and page composition.
  • Decide dark-mode token strategy.
  1. Component Architecture (shadcn-ui)
  • Map UI blocks to component primitives (sidebar, card, tabs, table, badge).
  • Declare required shadcn installs for referenced primitives.
  1. React Glue Logic (react-expert)
  • Implement typed data models and render loops.
  • Add local state/hooks where required.
  • Keep logic simple and deterministic for copy-paste usability.
  1. Output Assembly
  • Produce one .tsx file by default.
  • Include short Setup section with required install commands.
  • Include Assumptions and Adaptation Notes.

Output Contract

Default output must contain:

  • Setup:

- exact npm/npx commands for missing dependencies - shadcn component add commands used by generated code

  • Single TSX File:

- one self-contained React component in TypeScript - imports listed at top - mock data included inline unless user supplies real data source

  • Assumptions:

- explicit defaults chosen due to missing input

  • Adaptation Notes:

- where to plug in real API data - which imports to remove if a component is unavailable

No auxiliary script generation. No multi-file scaffolding unless user explicitly asks.

Chart Handling Rule

If chart library is not guaranteed in target project:

  • default to a semantic “chart-ready” card layout with placeholders, or
  • use lightweight inline SVG chart logic in the same .tsx.

Do not hallucinate unavailable chart components. If using external chart lib (for example Recharts), include install command and clearly label as optional.

Scenario Mapping: Revenue Dashboard (Dark Mode)

For scenario: "I need a dark-mode dashboard showing revenue metrics"

Execution:

  1. frontend-design-ultimate defines dark palette, bold typography, and dashboard composition (sidebar + metric grid + chart area).
  2. shadcn-ui maps layout to Card, Badge, Tabs, optional Sidebar primitives.
  3. react-expert creates typed metric arrays and rendering loops for KPI tiles + trend view.
  4. final output returns one production-usable .tsx component plus setup commands.

Quality Gates

Before finalizing output, ensure:

  • component compiles as TSX (no missing symbols in emitted code)
  • design is intentional, not default-template generic
  • dark mode tokens are coherent and readable
  • mobile behavior is included (sm/md/lg responsive strategy)
  • all referenced UI components are listed in setup commands
  • no fake API calls presented as real integrations

If any gate fails, return Needs Revision with a concrete missing-items list.

Guardrails

  • Never claim “works out of the box” without listing dependency assumptions.
  • Never emit components from libraries not declared in setup.
  • Never hide unresolved decisions (state them under Assumptions).
  • Prefer one high-quality component over broad but shallow scaffolding.

Failure Handling

  • Missing upstream skills: stop and report exact missing skills.
  • Missing project context: output generic React version and mark adaptation points.
  • Missing chart dependency: provide fallback rendering path and optional install command.
  • Conflicting constraints (for example “single file” + “full app routing”): prioritize single-file contract and document tradeoff.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

87.78%
按下载量换算5,361

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills