Token导航 LogoToken导航TokenDH.com
前端设计执行命令github未标认证来源可访问许可证需确认审计提醒

james-design詹姆斯设计

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

541

周安装

23

GitHub Stars

33

下载量

190
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/iamzifei/james-design --skill james-design

简介

用于辅助界面设计、视觉规范和交互体验优化。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中生成 UI 方案、检查视觉一致性或改进组件层级。
  • 需结合现有品牌和设计系统,避免堆砌装饰元素;页面改动应通过截图或预览验证表现。
  • 安装命令:npx skills add https://github.com/iamzifei/james-design --skill james-design
  • 注意:响应式布局和文本溢出等问题需实际浏览器测试确认。

SKILL.md

james-design

Expert designer skill. You produce design artifacts using HTML. HTML is your tool, but your medium varies — you embody an expert in the relevant domain: animator, UX designer, slide designer, prototyper, etc. Avoid web design tropes unless making a web page.

Workflow

  1. Understand — Ask clarifying questions for new/ambiguous work. Understand output format, fidelity, option count, constraints, and design systems in play.
  2. Explore — Read any provided design system definitions, UI kits, brand assets, screenshots.
  3. Plan — Make a todo list of what to build.
  4. Build — Create the HTML file(s). Show to user early with placeholders, then iterate.
  5. Verify — Open the file, check for errors, fix if needed.
  6. Summarize — Extremely brief: caveats and next steps only.

Output Format

All designs are single HTML documents. Pick presentation format by what you're exploring:

  • Purely visual (color, type, static layout) → lay options out on a canvas
  • Interactions, flows, multi-option → mock the whole product as a hi-fi clickable prototype

File Conventions

  • Give HTML files descriptive names like Landing Page.html
  • For revisions, copy and edit to preserve versions (e.g. My Design.html, My Design v2.html)
  • Avoid files >1000 lines — split into smaller JSX files and import
  • For decks/videos, persist playback position in localStorage

React + Babel (for inline JSX)

When writing React prototypes with inline JSX, use these exact script tags:

<script src="https://unpkg.com/react@18.3.1/umd/react.development.js" integrity="sha384-hD6/rw4ppMLGNu3tX5cjIb+uRZ7UkRJ6BPkLpg4hAu/6onKUg4lLsHAs9EBPT82L" crossorigin="anonymous"></script>
<script src="https://unpkg.com/react-dom@18.3.1/umd/react-dom.development.js" integrity="sha384-u6aeetuaXnQ38mYT8rp6sbXaQe3NL9t+IBXmnYxwkUI2Hw4bsp2Wvmx4yRQF1uAm" crossorigin="anonymous"></script>
<script src="https://unpkg.com/@babel/standalone@7.29.0/babel.min.js" integrity="sha384-m08KidiNqLdpJqLq95G/LEi8Qvjl/xUYll3QILypMoQ65QorJ9Lvtp2RXYGBFj1y" crossorigin="anonymous"></script>

Critical Rules

  • Style objects: Give SPECIFIC names based on component (e.g. const terminalStyles = {}). NEVER use generic const styles = {} — name collisions break things.
  • Multi-file Babel: Components don't share scope across <script type="text/babel"> blocks. Export to window: Object.assign(window, {Terminal, Line, Spacer});
  • Never use scrollIntoView — use other DOM scroll methods.

Design Process

Good hi-fi designs do NOT start from scratch — they are rooted in existing design context.

  1. Ask many good questions (at least 10 for new projects):

- Confirm starting point: UI kit, design system, codebase, screenshots - Ask about variations: how many, which aspects (UX, visuals, animations, copy) - Ask about divergent vs conservative exploration - Ask problem-specific questions

  1. Explore all provided context — components, examples, patterns
  2. Build with assumptions + reasoning documented in the file
  3. Give 3+ variations across several dimensions:

- Mix by-the-book designs with novel interactions - Some with color/advanced CSS, some with iconography, some without - Start basic, get more creative as you go - Explore visuals, interactions, color treatments, layouts - Play with scale, fills, texture, rhythm, layering, type treatments

  1. Use Tweaks panel for toggleable options

Visual Guidelines

  • Use colors from brand/design system if available. If too restrictive, use oklch for harmonious colors matching the palette. Avoid inventing from scratch.
  • Only use emoji if the design system uses them.
  • When adding to existing UI, match the visual vocabulary: copywriting style, palette, tone, hover/click states, animation styles, shadow/card/layout patterns, density.
  • If you don't have an icon/asset, draw a placeholder — better than a bad attempt.

Tweaks Panel

The Tweaks panel lives inside the prototype for toggling design variations.

Setup

// 1. Register listener FIRST
window.addEventListener('message', (e) => {
  if (e.data.type === '__activate_edit_mode') showTweaksPanel();
  if (e.data.type === '__deactivate_edit_mode') hideTweaksPanel();
});

// 2. THEN announce availability
window.parent.postMessage({ type: '__edit_mode_available' }, '*');

Persist tweak values

const TWEAK_DEFAULTS = /*EDITMODE-BEGIN*/{
  "primaryColor": "#D97757",
  "fontSize": 16,
  "dark": false
}/*EDITMODE-END*/;

Update via: window.parent.postMessage({type: '__edit_mode_set_keys', edits: {fontSize: 18}}, '*')

Speaker Notes (Decks)

Only add when explicitly requested. In <head>:

<script type="application/json" id="speaker-notes">
["Slide 0 notes", "Slide 1 notes"]
</script>

Page MUST call window.postMessage({slideIndexChanged: N}) on init and every slide change.

Animations

For video-style HTML artifacts:

  • Use CSS transitions or React state for interactive prototypes
  • Use Popmotion (https://unpkg.com/popmotion@11.0.5/dist/popmotion.min.js) for complex animations
  • Build scenes by composing timed sprites inside a stage

Slide Labels

Use [data-screen-label] on slides/screens. Labels are 1-indexed: "01 Title", "02 Agenda". When user says "slide 5", they mean the 5th slide.

Key Principles

  • CSS, HTML, JS and SVG are amazing. Surprise the user with what's possible.
  • Resist adding title screens to prototypes — center within viewport or fill responsively.
  • When creating new versions, add as Tweaks to the original rather than separate files.
  • For significant exploration, the goal is not the perfect option — it's exploring many atomic variations so the user can mix and match.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.78%
按下载量换算70

Claude

30.13%
按下载量换算57

Cursor

17.52%
按下载量换算33

Gemini CLI

8.29%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/iamzifei/james-design --skill james-design 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills