Token导航 LogoToken导航

Agent Skill · 开发

design-notebook(设计笔记本)

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

design-notebook 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 20,060。

总安装 242周安装 10GitHub Stars 1下载 79核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/idamadam/skills --skill design-notebook

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

构建设计迭代笔记本,支持单步展示、前后对比与胶片条回顾。适用于发散探索与收敛决策之间的视觉过程管理。使用时可选择独立项目或集成到现有 React 框架中。

安装方式:GitHub,命令为 npx skills add https://github.com/idamadam/skills --skill design-notebook。注意:必须使用 cp 复制模板文件,禁止读取后重写造成数据丢失。

来源仓库内路径:skills/design-notebook

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/idamadam/skills --skill design-notebook;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

design-notebook 怎么安装?

在终端执行 npx skills add https://github.com/idamadam/skills --skill design-notebook。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

design-notebook 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

design-notebook 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

design-notebook 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

design-notebook 用的人多吗?

公开数据是累计安装 242 次,近一周安装 10 次,下载 79 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

design-notebook 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
design-notebook

设计笔记本 · 本页

2421只读未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Design Notebook

Scaffold and run a design iteration notebook — a focused canvas that shows one iteration at a time, with prev/next navigation, side-by-side comparisons for divergent exploration, and a collapsible filmstrip drawer for visual overview of every step.

Step 1: Choose Scaffold Path

Path A: Standalone project (no existing React framework)

Use this when the working directory is empty or has no React framework.

The template directory is at template/ relative to this SKILL.md file. Use cp commands to copy files — do NOT read and rewrite them.

# Copy project config files
cp template/package.json template/tsconfig.json template/vite.config.ts template/index.html .

# Copy all source files
cp -r template/src .

# Copy AGENTS.md and symlink CLAUDE.md
cp template/AGENTS.md .
ln -s AGENTS.md CLAUDE.md

# Install dependencies and start dev server
npm install && npm run dev

Path B: Inject into existing React project

Each notebook gets a slug — a lowercase-kebab-case name derived from the user's topic (e.g. "nav redesign" → nav-redesign). If the user doesn't provide one, ask.

The harness (NotebookApp, chrome, state-explorer, etc.) is shared across all notebooks. It lives in src/design-notebooks/_harness/ and is copied once. Each notebook only contains its own iterations/, main.tsx, and index.css.

src/design-notebooks/
  _harness/          ← shared, copied once from template/src
    NotebookApp.tsx
    chrome.tsx
    state-explorer.tsx
    types.ts
    notebook.css
  CLAUDE.md          ← copied once
  <slug>/            ← per notebook
    main.tsx
    index.css
    types.ts         ← re-exports from _harness/types
    iterations/
      index.ts
      baseline/

The template directory is at template/ relative to this SKILL.md file. Use cp commands to copy files — do NOT read and rewrite them.

First notebook (sets up harness + first notebook):

# Copy shared harness files
mkdir -p src/design-notebooks/_harness
cp template/src/NotebookApp.tsx template/src/chrome.tsx template/src/state-explorer.tsx template/src/types.ts template/src/notebook.css src/design-notebooks/_harness/

# Copy CLAUDE.md
cp template/AGENTS.md src/design-notebooks/CLAUDE.md

# Create the notebook
mkdir -p src/design-notebooks/<slug>/iterations
cp -r template/src/iterations/* src/design-notebooks/<slug>/iterations/
cp template/inject/main.tsx template/inject/index.css template/inject/types.ts src/design-notebooks/<slug>/

Additional notebooks (harness already exists):

mkdir -p src/design-notebooks/<slug>/iterations
cp -r template/src/iterations/* src/design-notebooks/<slug>/iterations/
cp template/inject/main.tsx template/inject/index.css template/inject/types.ts src/design-notebooks/<slug>/

Then wire a framework-specific entry point using the slug (see table below).

Framework-specific entry point wiring:

FrameworkWhat to createHow to wire
Vitedesign-notebooks/<slug>.html at project rootCopy template/inject/entry.html, replace __SLUG__ with the notebook slug. Add to build.rollupOptions.input in vite.config.*
Next.js App Routerapp/design-notebooks/<slug>/page.tsx that imports and renders NotebookApp from _harness/No config changes needed — file-based routing
Next.js Pages Routerpages/design-notebooks/<slug>.tsx that imports and renders NotebookApp from _harness/No config changes needed — file-based routing
Remixapp/routes/design-notebooks.<slug>.tsx that imports and renders NotebookApp from _harness/No config changes needed — file-based routing
Astrosrc/pages/design-notebooks/<slug>.astro with <NotebookApp client:only="react" />No config changes needed

For inject entry points (Next.js, Remix, Astro), create a page component that imports notebook.css from _harness/ and renders NotebookApp from _harness/, passing iterations={ITERATIONS} and project={PROJECT} from the notebook's own iterations/index.ts. For Next.js, add 'use client' directive.

Import paths: Check tsconfig.json/jsconfig.json for path aliases (e.g. @/*, ~/). If the project has one configured, use it (e.g. @/design-notebooks/_harness/NotebookApp). Otherwise use relative paths from the entry point file.

Step 2: Set the Project Context

After scaffolding, ask the user what they're iterating on. Use their answer to set the PROJECT metadata in iterations/index.ts.

Populate the baseline (Path B only)

When injecting into an existing project, the baseline iteration MUST render the project's actual components — do not rebuild or mock them.

  1. Import the real components into baseline/Content.tsx. The project already has working UI; wrap it with any missing context providers (e.g. theme, auth) so it renders correctly in isolation.
  2. Define 4-6 presets in baseline/definition.ts that represent the component's meaningful states (loading, error, empty, edge cases, highlight modes). Look at the component's props and internal state to identify what varies.
  3. Build fine-tuning controls in baseline/controls.tsx for any continuous values (speeds, opacities, counts) or toggles.

The baseline must look identical to the live site. If it doesn't, something is wrong.

Then begin the iteration workflow as described in AGENTS.md.

The Iteration Workflow

Once the notebook is scaffolded, follow the workflow documented in AGENTS.md (which was placed in the project root during scaffolding). The core loop:

Refine or Diverge?

When the user requests a change, ask whether to refine the current iteration in-place or diverge into a new one. Small fixes (copy, spacing, colours) usually refine; new concepts or structural changes usually diverge.

Sharpen

Ask 2-3 clarifying questions before generating. Target: scope, tone, constraints, reference points.

Diverge

Generate 3-4 variations as a {group: [...]} entry in ITERATIONS. Each gets its own folder under iterations/ with definition.ts, Content.tsx, and controls.tsx.

Converge

User picks a direction. Mark with tag: 'picked', then generate next iteration as a single entry building on the pick.

Repeat

Append to ITERATIONS, never delete. The notebook tracks all iterations via filmstrip navigation.

Iteration Convention

Each iteration is a 3-file folder under iterations/:

iterations/
  baseline/
    definition.ts   # config, state shape, presets, resolvePreset
    Content.tsx      # the full mockup
    controls.tsx     # fine-tuning controls (FineTuning component)
  v2/
    definition.ts
    Content.tsx
    controls.tsx

When creating a new iteration, copy the previous iteration's folder (cp -r iterations/baseline/ iterations/v2/) and edit the copy. Do not rewrite files from scratch — start from the last iteration and modify what changed.

Each folder is a complete copy — duplicate components freely, no shared primitives between iterations. However, iterations CAN and SHOULD import components from the host project (Path B) — the "no shared primitives" rule applies between iteration folders, not between iterations and the project.

Register each iteration in iterations/index.ts:

import { baseline } from './baseline/definition'
import { v2 } from './v2/definition'

export const ITERATIONS: IterationDefinitionEntry[] = [baseline, v2]

Semantic Diffs

The changes array describes design shifts, not code changes. Prefix with + (additions) and − (removals) for green/red coloring.

changes: ['+ source citations', '+ favicon pills']
changes: ['+ guided questions from v4b', '− separate approaches']

Keep chips to 2-5 words. Name concepts, not implementation details.

Presets & State Explorer

Each iteration MUST define 4-6 presets as combo snapshots. This includes the baseline — never ship an iteration with empty presets:

  • Default / happy path
  • Loading / in-progress
  • Edge case (overflow, multi-turn)
  • Error / degraded
  • Empty / new

Build fine-tuning controls in controls.tsx with a FineTuning component that takes {state, onChange} props.

Working State

Before editing any Content.tsx, add className="nb-working" to its root <div>. Save immediately — HMR shows a shimmer overlay so the user knows which iteration is being worked on. Remove when done.

Filmstrip & History

The filmstrip is a collapsible drawer toggled via the "History" button in the header bar. It shows scaled thumbnails of all iterations with change summaries on each card. Write summaries as past-tense outcomes:

  • Single: 'Switched to dark palette, warm neutrals'
  • Group: 'Tried 3 nav patterns: tabs, sidebar, floating'
  • Converge: 'Picked sidebar nav, dropped tabs'

平台分布

Codex

35.71%
按下载量换算28

Claude

33.93%
按下载量换算27

Cursor

18.03%
按下载量换算14

Gemini CLI

8.9%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills