Spt Project Interaction Design logo

Spt Project Interaction Design

Community
aixinxino
spt-project-interaction-design

根据现有网页、App 或小程序的页面任务、技术栈与使用场景,从 SPT 的 33 份 UI 与交互资料中按需选型、实现或评审。适用于用户不知道该用哪种交互、想修复手机适配、评审并定向修改现有页面,或已指定某种交互的任务;不用于视频剪辑、配音、封面制作,也不默认制作全效果演示页。

Overview

Publisheraixinxino
Repositoryspt-ui-interaction-skills
Skill namespt-project-interaction-design
Stars
33
Forks
3
Bundled files
37
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 37 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by aixinxino on GitHub. Read the source before you install it.

Installation

Install the Spt Project Interaction Design AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/aixinxino/spt-ui-interaction-skills/tree/main/spt-project-interaction-design
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aixinxino/spt-ui-interaction-skills.git /tmp/spt-ui-interaction-skills
mkdir -p .claude/skills
cp -r /tmp/spt-ui-interaction-skills/spt-project-interaction-design .claude/skills/spt-project-interaction-design
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Spt Project Interaction Design in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Spt Project Interaction Design on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Spt Project Interaction Design is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

SPT · 项目交互设计总 Skill

先看用户在做什么,再决定是否需要交互,以及用哪一种。33 份资料是候选库,不是功能清单。目标是让当前项目更清楚、顺手、有辨识度,不是把所有效果装进页面。

先确定本次工作边界

  • 用户只要评估、建议、方案或提示词:检查并交付相应内容,不改项目。用户要求实现或优化:在授权范围内完成代码与验证,不以一段提示词代替实现。
  • 用户已选定某种效果:优先进入对应参考,不要求重新做整套选型;只有它与平台、业务或可访问性冲突时才解释替代方案。
  • “帮我的项目加点质感”不等于重做整个应用。检查后选出对当前目标最有价值的改动,并简短说明;只有范围实质不清楚时才问。用户明确要求效果展厅时,可以按其指定范围展示多种模式。
  • 没有项目访问能力时,基于用户给的页面、截图或需求提供建议和适配方案,区分观察与假设,不声称已完成集成。截图只能提示布局与视觉,不能证明真实状态或交互逻辑。

从项目证据选择,不让用户先学术语

读取目标页面及其直接相关的组件、路由、数据状态、样式变量、依赖和平台约束。不要为了选择一个按钮反馈扫描整个仓库。

优先确认:用户要完成的操作;当前哪里不清楚或不顺手;已有组件能否满足;目标设备是鼠标、触摸还是键盘;真实请求有哪些处理中、失败、取消与再次操作状态。可从项目确认的内容直接检查;只询问会改变方案而现有资料回答不了的问题。

对候选交互逐个判断:

  1. 有实际用途吗? 能帮助识别状态、找到入口、理解层级、控制操作或形成用户明确需要的视觉表达吗?仅仅“库里有这个效果”不成立。
  2. 这里适合吗? 检查使用频率、信息密度、阅读稳定性和平台输入方式。高频操作不强制等待演出,紧急信息不藏进信封,触屏不依赖悬停。
  3. 已有能力够吗? 优先保留成熟组件的语义、焦点和状态管理,再补局部反馈;不为视觉变化重写组件库。
  4. 值得增加复杂度吗? 如果普通组件已经能清楚完成任务,就不加;如果素材、数据或平台能力不足,采用可落地的简化方案并说明差异。

选择满足任务的最小必要组合,不固定每页必须添加几种,也不凑齐所有主题。先处理真实状态和操作路径,再做视觉润色。同一处变化只选一套主导反馈,避免多种动效争抢同一属性或重复表达。

开始实施前,用几句话或一个小表说明“位置 → 当前问题 → 选用的具体模式 → 为什么适合”。必要时补一句“哪些热门效果这次不用以及原因”,无需逐项否决全部 33 份。

按问题读取参考

先用下表定位主题,只读本次选中的文件与其中相关模式;确实需要组合时才追加。不要预先通读全部资料,更不要把目录自动变成开发待办。

当前项目的需要按需读取的资料
请求等待、提交状态、可测进度01 · 7种加载动效。复杂任务的阶段、旧请求隔离、局部重试另读 22 · 4种任务反馈
说明提示、结果通知、重要警告、确认或编辑浮层02 · 浮层与通知选型;选项类型、搜索、级联等读 07 · 8种下拉选单
页面与内容之间的基础导航03 · 7种导航组件
内容折叠展开、容器大小与形态连续变化04 · 8种展开组件;形态过渡细节读 06 · 7种形态变化
拖放、排序、调节数值、框选、上传05 · 6种拖拽交互;释放判断、方向冲突、动画接管等读 11 · 7种跟手交互
分析图表中的范围、系列或细节08 · 7种图表交互
已有控件需要明确的状态过渡或局部反馈09 · 10种高级UI交互;标签、光标联想、字号与录音条读 19 · 6种组件微交互
明确需要触感、空间层次或富媒体表现10 · 8种质感动效;图片效果读 12 · 7种图片交互;卡片空间编排读 17 · 6种空间卡片
标题入场、阅读强调与滚动叙事13 · 7种标题文字动效;滚动点亮、图片填字、收拢标题读 21 · 5种标题动效;页面级叙事读 14 · 3种官网滚动交互
节点工作区、素材板或可编辑画布15 · 5种无限画布交互;编辑结果、撤销事务和快照读 23 · 3种编辑工具交互
用户明确要解决整体风格、设计规范或参考图落地16 · AI整体UI设计流程;概念图、资产与代码边界读 18 · 概念图到代码。局部交互任务不强制走这两套流程
已有导航需要更有特点的呈现创意导航读 20 · 5种导航交互;后台导航读 25 · 6种后台菜单;搜索与执行命令的完整逻辑读 24 · 全局命令面板
多个区域需要保持操作关系和阅读位置26 · 6种连续布局交互
用户需要纸张类仪式感:贴纸、信封、结果小票27 · 3种触感交互,再按它的表格读取对应纸张参考,不必加载另外两种
作品浏览需要连续镜头、进入详情与返回保留上下文28 · 电影式个人网站;固定视角物件导航、昼夜场景读 31 · 小房间网站
已明确需要粒子拨散、同点变形或真实声音响应29 · 粒子交互
图片需要近似重打光、同图透镜或连续条带变化30 · 图片材质交互
电脑端可用,手机端拥挤、溢出或难以操作32 · 手机端适配,定位实际元素并保护已有桌面效果
已有页面不满意,需要诊断、限定修改与复查33 · 网页视觉评审与定向修改,按当前请求区分只读评审与执行修改

重叠主题如何取舍

  • 03 解决“导航是什么”,20/25 解决“选定导航怎么呈现”。仅改变侧栏选中背景,不需要同时增加 Dock、气泡菜单和命令面板。已有命令面板只需改样式时不重构命令系统;新建完整面板时以 24 的行为约束为准。
  • 04 决定展开语义,06 处理同一容器如何变形。若采用原生折叠已足够,不必再附加胶囊变卡片。
  • 05 决定拖动任务,11 解决跟手和中断问题;09/10 的吸附或形变只是按需润色。无限画布的坐标与状态由 15 处理,不叠加第二套拖拽控制器。
  • 13 与 21 的遮罩、模糊揭示是重叠候选,同一个标题实现一套即可。标题动效不默认应用于整页正文。真实数据数字的局部变化优先看 11/26,而非装饰性打字机。
  • 01 是等待反馈外观,22 是任务状态与结果管理。先接真实请求,再选择显示形式;没有可测进度就不用假百分比。
  • 12 的揭角是图片效果;可拖动、可取消的纸张贴纸优先用 27 的详细要求。10 的磁吸、液态形变与 27 的三种纸张交互不是同一套。
  • 17 的空间陈列不等于 15 的可编辑画布。需要高效查找和编辑密集内容时,不为了炫酷默认改成球面或螺旋。
  • 14 处理滚动驱动章节,28 处理作品浏览的镜头与详情状态,31 处理房间物件导航;17 只做空间排列。普通网站不因为这些参考存在就改成空间场景。
  • 12 覆盖常见图片交互,30 才处理光照、透镜与条带的资产/采样边界;29 的粒子身份、音频与归位由它自己管理,不把装饰循环当业务反馈。
  • 16/18 面向整体规范与参考图落地;32 修复已存在的手机布局;33 负责先诊断再定向修改的证据流程。只要查问题时不生成新概念图或擅自改代码。

参考文档来自分期资料,保留了各主题的实现经验。它们只约束被选中的具体模式,不自动扩大用户任务;其中旧的“默认一种”、示例配色、输出格式、提示词语言与历史品牌不是总 Skill 的全局要求。交付语言跟随当前用户,不必强制输出英文提示词。

实施时守住的规则

  • 先定状态,再做动画。 写清触发、过程、结束、取消/失败和重复操作。业务结果来自真实操作;动画结束不代表保存、删除、付款或导出成功。可保留本地离场展示,但不能让旧动画回调删除或覆盖更新后的数据。
  • 输入跟手,自动收尾有节奏。 拖动/滚动进度直接跟随输入,不用长缓动追赶手指;自动切换短促、有加减速,到位停稳,留出阅读时间。连续 Spinner 等循环按用途保持匀速即可,不把所有运动改成同一种曲线。
  • 允许合理接续。 快速重复、反向和取消从当前可见状态继续,或明确合并输入;一项视觉属性只由一个控制源管理。不要堆叠多段旧动画或重复提交业务请求。
  • 延续当前产品。 沿用技术栈、组件、真实文案和设计变量。没有授权不换架构,不为了示例加入 SPT 标志、虚构数据、卡通角色或固定配色。新增动画库仅在现有能力不足且确有收益时考虑,说明代价并遵守环境的依赖变更要求。
  • 让内容仍是界面。 文字、按钮和数据保持真实元素;图片只承担合适的独立资产。不要用整页位图加透明按钮,也不非等比拉伸文字。真实内容测量、长文本、窄屏与软键盘都要纳入布局。
  • 功能不依赖动画。 按实际组件语义处理焦点、键盘、触控和可访问名称,拖动有非拖动替代入口。减少动态效果时省略复杂运动但保留状态与操作。只在所需区域协调手势,不全局禁用滚动。
  • 尊重实现边界。 Web、原生 App、小程序不能直接套用同一套 DOM 与手势代码。真正三维、变形背面和动态反射需要相应素材与能力;简化实现须说明,不承诺一张图片解决全部效果。

验证与交付

按选中模式验证真实页面的完整路径,而非只检查动画截图:正常完成、连续触发、反向/取消、失败/空状态,以及实际涉及的键盘、触摸、窄屏和减少动态效果。保留项目已有业务与无关改动,检查无多余请求、旧结果覆盖或焦点遗失。

按风险执行相关构建与行为测试;有运行环境就实际操作。将“文件/构建检查”“浏览器操作”“真机测试”“性能测量”分开报告;未实测的项目标明,不凭配置写了 60fps 就声称已达到。

最后简要交付:选了什么及理由、改在哪里、实际测试结果和未验证项。纯方案任务则交付选择与实施边界即可。不要自动安装本 Skill、发布页面、提交代码或向外发送文件。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Spt Project Interaction Design AI skill do?

根据现有网页、App 或小程序的页面任务、技术栈与使用场景,从 SPT 的 33 份 UI 与交互资料中按需选型、实现或评审。适用于用户不知道该用哪种交互、想修复手机适配、评审并定向修改现有页面,或已指定某种交互的任务;不用于视频剪辑、配音、封面制作,也不默认制作全效果演示页。

Why use Spt Project Interaction Design on TypingMind?

Because you install it once and use it with any model. Spt Project Interaction Design is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Spt Project Interaction Design in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/aixinxino/spt-ui-interaction-skills/tree/main/spt-project-interaction-design. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Spt Project Interaction Design?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Spt Project Interaction Design?

As many as you like. As long as a model supports skills, you can use Spt Project Interaction Design with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Spt Project Interaction Design AI skill free?

Yes. It is published on GitHub by aixinxino under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇