Token导航 LogoToken导航TokenDH.com
前端设计external-servicegithub未标认证来源可访问clear审计提醒

implementing-figma-ui-tempad-devimplementing Figma UI tempad DEV 前端

Agent Skill

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

总安装

1,348

周安装

54

GitHub Stars

468

下载量

436
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:implementing-figma-ui-tempad-dev(implementing Figma UI tempad DEV 前端)
来源仓库:https://github.com/ecomfe/tempad-dev
仓库路径:skills/implementing-figma-ui-tempad-dev
安装命令:
npx skills add https://github.com/ecomfe/tempad-dev --skill implementing-figma-ui-tempad-dev
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/ecomfe/tempad-dev --skill implementing-figma-ui-tempad-dev

简介

用于辅助前端页面、组件和样式开发,支持 React、Vue 等框架。

  • 适用于 Codex、Claude、Cursor 和 Gemini CLI 中的 Web 开发任务。
  • 通过 GitHub 仓库安装,需结合 Tailwind 和构建工具使用。
  • 生成代码后应配合本地预览确认视觉效果和组件层级。
  • implementing-figma-ui-tempad-dev 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

TemPad Dev: Figma to UI implementation

This skill requires TemPad Dev MCP. If tempad-dev:* tools are unavailable/inactive/unauthorized, stop and tell the user to install TemPad Dev MCP and ensure it is activated in the TemPad Dev panel in the Figma design file.

TemPad Dev outputs Tailwind-like IR in either JSX or Vue. Treat MCP outputs as design facts. Never guess key styles.

Evidence rules

Priority order:

  1. tempad-dev:get_code (authoritative: explicit values, layout intent, warnings, assets, tokens, codegen, lang)
  2. tempad-dev:get_structure (hierarchy, overlap, bounds clarification)

Never invent: colors, typography (size/weight/line-height/letter-spacing), spacing, radius, borders, shadows, gradients, opacity/overlays, blur.

Do not output data-hint-* attributes.

Workflow

1) Detect repo conventions

From the repo (do not assume), identify what is needed to integrate cleanly:

  • Framework/runtime and file conventions (React/Vue, TS/JS, SFC conventions, naming)
  • Styling integration rules (utility allowed? class sorting? linting? extraction patterns?)
  • Token/theme system (CSS variables, token files, naming, dark mode/modes)
  • Asset policy (public folder vs imports, icon pipeline, hashing, directory rules)
  • Existing primitives/components (buttons, inputs, typography, layout wrappers), import path conventions

Only if the repo actually uses Tailwind (or Tailwind-compat tooling), also detect Tailwind version and conventions that affect class syntax/formatting.

If uncertain, ask up to 3 minimal questions; otherwise proceed and warn where inferred.

2) Fetch baseline design snapshot

Call tempad-dev:get_code with:

  • resolveTokens: false
  • pass nodeId only if user provided one; otherwise rely on the tool’s default behavior (current selection)
  • preferredLang: choose what matches the repo (jsx or vue)

Important: get_code.lang is the language actually used by MCP after considering TemPad Dev plugin/config priority. A plugin may override preferredLang. Use returned lang plus codegen facts to interpret the IR correctly, then translate to the repo’s required output.

Record as design facts:

  • code, lang
  • warnings
  • assets (if present)
  • tokens (if present)
  • codegen (e.g. scale, length units, rootRem, and other normalization settings)

3) Resolve warnings and uncertainty

If warnings indicate missing/partial/uncertain evidence, act immediately:

  • depth-cap: call get_code once per listed subtree root nodeId and stitch results, OR narrow scope and list omitted parts.
  • truncated: narrow scope (smaller selection or key subtrees) and warn output is partial.
  • Layout/overlap uncertainty: call get_structure to resolve contradictions.

- If contradictions remain after structure (or cannot be narrowed), stop.

4) Assets handling (only if assets exists)

Follow repo asset policy first:

  • Download bytes via TemPad-provided asset.url, save into repo at policy-correct path, reference with repo conventions.
  • If policy forbids storing assets, you may reference TemPad URLs but must warn output depends on the local TemPad asset server.

Never download assets from the public internet. Only TemPad-provided asset.url.

5) Tokens mapping (only if tokens exists)

Token evidence shape:

  • tokens is a record keyed by canonical CSS variable names (e.g. --...).
  • Each token’s value is either a string or a record keyed by Collection:Mode strings whose values are strings.
  • Any value string may reference other variables; preserve references.

Mapping goal: integrate with repo tokens when safe; otherwise keep explicit values from get_code.

Rules:

  1. Prefer existing repo tokens when you can justify equivalence using value equivalence (including references) plus semantic alignment in the repo. Token naming can be supporting evidence, but do not map solely because names look similar.
  2. Add new tokens only if the repo already has an established token workflow and this change is expected.
  3. If mode selection or mapping remains ambiguous, keep explicit values and warn.

Hints may be used only for reasoning about mode selection when present; never output hint attributes.

6) Implement repo-native code

Translate TemPad Dev IR into the repo’s conventions:

  • Utility-first repo (Tailwind/UnoCSS): keep utility classes; adjust ordering/formatting to match repo rules. If Tailwind is used, respect the repo’s Tailwind version/config before changing class syntax.
  • Non-utility repo: translate utilities into the repo’s styling approach (CSS Modules/scoped CSS/Sass/CSS-in-JS) while preserving explicit values.

Constraints:

  • Do not introduce new frameworks or styling systems.
  • New runtime/build dependencies require user confirmation unless the user explicitly says no confirmation is needed.
  • Implement base state only unless variants/states are provable from repo conventions or evidence.

Component extraction and primitives:

  • Extract only when repetition + repo patterns justify it.
  • Prefer existing repo primitives/components when they match intended semantics and do not require guessing styles.

7) Semantics and accessibility minimums

Only apply when the IR would otherwise require plain container semantics (e.g. clickable div) and you are not already using an appropriate repo primitive/component:

  • Use native elements where appropriate (button, a, input/label).
  • Ensure keyboard interaction and focusability.
  • Add accessible names when needed (aria-label, alt).

Assume the repo’s existing CSS reset/normalize. Do not add new reset libraries or global CSS unless the repo already has a defined pattern for it.

8) Exit and wrap-up

Stop (do not ship code) when:

  • TemPad Dev MCP is unavailable/unauthorized, or target cannot be read
  • Evidence is contradictory and cannot be resolved via structure or narrower scope
  • Required assets cannot be retrieved/stored under repo policy

Otherwise, ship the best-evidence base implementation and end with:

  • Evidence caveats: any warnings, omissions, or inferred repo conventions
  • Assets: stored vs TemPad URLs, and any policy-driven constraints
  • Tokens: mapped vs explicit values, and any ambiguity
  • Dependencies: whether any were added (and whether user confirmation was obtained)
  • If stopped: next required info (max 3 items)

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

Claude Code

27.65%
按下载量换算121

Cursor

21.84%
按下载量换算95

Antigravity

16.59%
按下载量换算72

Gemini CLI

11.58%
按下载量换算50

Codex

8.21%
按下载量换算36

windsurf

3.31%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills