Design Frameworks 标志

Design Frameworks

社区
glebis
design-frameworks

Fit an already-decided interface to an existing design system or UI toolchain through a capability-probed preset, using the system's own CLI, registry, MCP server, manifests, tokens, and checks instead of inventing parallel conventions. Use after the product job, evidence, concept, and prototype are settled enough to implement, or when bringing an existing build back into framework compliance. Not for choosing the product concept, visual brand, or research method. Triggers on design frameworks, design system adapter, use Astryx, use shadcn, use Storybook, fit this to our component library, existing design system, component registry, framework compliance, agent-ready design system, "implement with our design system".

概览

发布者glebis
代码仓库humane-agentic-design
技能名称design-frameworks
星标数
38
复刻数
3
附带文件
9
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 9 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 glebis 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Design Frameworks AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/glebis/humane-agentic-design/tree/main/humane/skills/design-frameworks
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/glebis/humane-agentic-design.git /tmp/humane-agentic-design
mkdir -p .claude/skills
cp -r /tmp/humane-agentic-design/humane/skills/design-frameworks .claude/skills/design-frameworks
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Design Frameworks,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Design Frameworks。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Design Frameworks 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Design Frameworks

Announce at start: "I'm using the humane:design-frameworks skill to fit this implementation to the project's existing design system without changing the product decision above it."

This skill is an implementation adapter. It translates a settled-enough design decision into the components, patterns, tokens, themes, templates, and checks an existing system actually provides. It does not decide what the product should be.

The Humane method stays above every preset:

job → evidence → concept → prototype → review → learning

A preset may report that the system cannot express the accepted concept. It may not silently alter the job, acceptance criteria, content hierarchy, interaction model, or prototype to make the available components look sufficient.

Quick Reference

NeedRead
Preset profiles, selection, and fallback behaviorreferences/presets.md
Common objects, capability rules, fit-plan and finding shapesreferences/contract.md
Astryx native CLI/API commands and write boundariesreferences/astryx.md
shadcn registry, CLI/MCP, and source-ownership boundariesreferences/shadcn.md
Storybook manifests/MCP as a project-local catalog and test overlayreferences/storybook.md

Read only the selected preset reference. Read contract.md when producing a machine-readable manifest, fit plan, operation receipt, or validation result.

1. Establish the implementation brief

Before touching the framework, name the immutable inputs you are fitting:

  • the job or outcome reference;
  • the evidence references supporting it;
  • the accepted concept and acceptance criteria;
  • the prototype or existing implementation being fitted;
  • unresolved decisions and review findings that remain open.

References are enough; do not copy the whole Humane corpus into an adapter object. If these inputs do not exist, ordinary framework help can still proceed, but label Humane traceability Not available. Never invent research or claim that a framework-compliant build has validated the product idea.

2. Select, then verify, a preset

The user's explicit preset wins. Otherwise inspect the project read-only: package.json, lockfile, framework config, component directories, token files, Storybook config, MCP configuration, and installed local binaries. Use the selection table in presets.md.

A preset name is a bootstrap hint, not proof. Probe the native surface and record what this version and project actually expose. If the probe contradicts the preset reference, the probe wins and the difference is a limitation. Never guess a capability from the system's brand or from a remembered release.

Prefer authoritative surfaces in this order when several expose the same fact:

  1. a project-local machine manifest or documented programmatic API;
  2. typed JSON from the system's installed CLI;
  3. a schema-governed registry or generated project manifest;
  4. negotiated MCP tools and resources;
  5. installed package types and authored project documentation;
  6. remote prose documentation, as a cited fallback only.

Do not download a CLI, start a server, connect a remote registry, or install an MCP server merely to probe. Those are separate network or installation actions and need the user's approval.

3. Discover before composing

Build a small catalog for the requested scope, not a dump of the whole system. Inspect the native IDs, import paths, props, examples, variants, dependencies, token requirements, theme behavior, and ownership model of likely resources.

Keep provenance attached. A normalized Button without its package, registry, version, or source locator is not safe evidence. Preserve native fields the adapter does not understand; for DTCG tokens, never infer type or purpose from a group name and never discard unknown extensions.

4. Produce a fit plan before a patch

Map the implementation brief to native resources and return:

  1. the selected components, patterns, templates, themes, and tokens;
  2. how each choice serves an acceptance criterion or prototype behavior;
  3. proposed commands and file operations, with exact targets;
  4. conflicts and deviations, including capabilities the framework lacks;
  5. the native checks that will run after implementation;
  6. anything that remains Not verified or Not supported.

Planning is read-only. If a native preview or diff exists, use it. Otherwise the operation is not safely applicable through this skill until an exact preview can be produced another way.

5. Apply only an approved preview

Show the preview and ask before the first write. Approval covers only the shown operations. Re-plan if a command resolves different files, dependencies, environment variables, configuration, or migrations at execution time.

Always use the framework's supported CLI or public API for framework-owned changes. Ordinary application source that composes public framework components may use the project's normal editing path, but only after an exact file diff is part of the approved preview. Do not reproduce the framework's installer, registry resolver, codemod, or theme compiler in this skill. Capture the native receipt or the resulting diff.

These operations are never implicit: dependency installation, network fetches, --force/overwrite, eject/swizzle, codemods or migrations, theme replacement, agent-instruction edits, lockfile changes, generated-file writes, and deletion.

6. Validate in two lanes

Framework compliance and Humane validity are different claims.

Framework lane: run only checks the discovered system actually provides — schema validation, doctor/integration checks, type generation and type-checking, builds, story interaction tests, accessibility checks, token/reference checks, or project tests. Record the command/tool and evidence.

Humane lane: trace the result back to the implementation brief. Confirm that the accepted job, concept, hierarchy, interactions, and prototype behavior did not drift during adaptation. Product review and learning still belong to their own Humane owners; this lane checks traceability, not whether the product idea was good.

Use pass, fail, warn, not-run, or not-supported. Unsupported and unrun checks are never passes. A clean build does not prove usability, and a successful review does not prove framework compliance.

Never override

  • Humane corpus, evidence, concept, prototype notes, review findings, or learning artifacts;
  • accepted product intent, information hierarchy, interaction model, or copy;
  • project tokens, themes, framework config, agent instructions, or lockfiles;
  • source-owned, ejected, swizzled, or manually modified components;
  • generated files or unrelated source;
  • secrets, credentials, registry tokens, or environment values;
  • unknown registry metadata or DTCG extensions;
  • an accessibility requirement to make a preset fit.

When the framework and the implementation brief conflict, stop at the fit plan and name the decision the user must make. The adapter does not get a tie-breaker.

Output

For read-only discovery, return Preset, Observed capabilities, Resources inspected, Limitations, and Next safe action.

For implementation, return the Fit plan, the approved Operation receipts, and Validation split into Framework and Humane lanes. State every write and every check not run. Then offer the declared handoff to humane:review; do not run it automatically.

Use these fit-plan headings so a human can approve the boundary without reading the contract JSON: Brief refs, Preset and observed version, Selected native resources, Criterion mapping, Exact proposed operations, Conflicts and deviations, Checks after apply, Not verified, and Approval needed.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Design Frameworks AI 技能有什么作用?

Fit an already-decided interface to an existing design system or UI toolchain through a capability-probed preset, using the system's own CLI, registry, MCP server, manifests, tokens, and checks instead of inventing parallel conventions. Use after the product job, evidence, concept, and prototype are settled enough to implement, or when bringing an existing build back into framework compliance. Not for choosing the product concept, visual brand, or research method. Triggers on design frameworks, design system adapter, use Astryx, use shadcn, use Storybook, fit this to our component library,...

为什么在 TypingMind 中使用 Design Frameworks?

因为您只需安装一次,就能搭配任何模型使用。Design Frameworks 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Design Frameworks?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/glebis/humane-agentic-design/tree/main/humane/skills/design-frameworks。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Design Frameworks?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Design Frameworks 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Design Frameworks 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Design Frameworks AI 技能免费吗?

是的。glebis 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇