ui-designer/interaction-specification

ui-designer/interaction-specification is a skill for Claude Code from echoVic/boss-skill. It costs 33 tokens per session (3,075 once invoked), scanned A, original, MIT.

A guide to specifying how an interface responds to user actions, including loading screens, empty results, feedback, animation, keyboard use, and screen readers.

In plain words
What is it for?
Use it to document skeleton screens, spinners, button feedback, search behavior, empty states, undo options, consistent interactions, and accessibility requirements.
Why use it?
It helps prevent confusing or inaccessible moments by defining what users see and can do while an action is waiting, succeeds, fails, or has no results.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: agent in frontmatter.

Part of the boss plugin — 28 skills, 7 commands, 9 agents, 8 hooks shipped together

Good fit Use it to document skeleton screens, spinners, button feedback, search behavior, empty states, undo options, consistent interactions, and accessibility requirements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/echovic/boss-skill/interaction-specification
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add echoVic/boss-skill --skill interaction-specification
Clone the repo
git clone --depth 1 https://github.com/echoVic/boss-skill

Made for: Claude Code.

Or install boss, the plugin that ships this one along with the rest of its 28 skills, 7 commands, 9 agents, 8 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ui-designer/interaction-specification

README.md
[![agentmods](https://agentmods.dev/badge/skills/echovic/boss-skill/interaction-specification/github.svg)](https://agentmods.dev/skills/echovic/boss-skill/interaction-specification)
Your own site
<a href="https://agentmods.dev/skills/echovic/boss-skill/interaction-specification"><img src="https://agentmods.dev/badge/skills/echovic/boss-skill/interaction-specification/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ui-designer/interaction-specification

Your own site · 80×15
<a href="https://agentmods.dev/skills/echovic/boss-skill/interaction-specification"><img src="https://agentmods.dev/badge/skills/echovic/boss-skill/interaction-specification.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,075 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.03075
Opus 5.5 $0.00013 $0.01230
Sonnet 5.5 $0.00007 $0.00615
Haiku 4.5 $0.00003 $0.00308

Measured 24d ago against content hash 9b238996b139, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ui-designer/interaction-specification scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 24d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skill/skills/ui-designer/interaction-specification/SKILL.md · 326 lines

How it starts

The opening of the file, as written. The whole thing — 326 lines — stays where its author put it; the contents beside it link to each section on GitHub.

交互规范

适用场景

定义用户与界面交互的细节,包括加载状态、空状态、反馈机制、动效、无障碍等,确保交互流畅、友好、可访问。

交互设计原则

  1. 及时反馈:用户操作后立即给予反馈
  2. 清晰引导:明确告诉用户下一步该做什么
  3. 容错性:允许用户撤销、修改操作
  4. 一致性:相同操作在不同场景下行为一致
  5. 可访问性:支持键盘、屏幕阅读器等辅助技术

交互规范

1. 加载状态

加载场景
场景 处理方式 时机 视觉表现
页面首次加载 骨架屏 首次进入页面 灰色占位块,模拟内容结构
页面刷新 顶部进度条 刷新页面 蓝色进度条,从左到右
按钮提交 按钮内 spinner 点击提交按钮后 按钮内显示旋转图标,文字隐藏
列表加载更多 底部 spinner 滚动到底部 底部显示"加载中..."
局部刷新 区域内 spinner 刷新某个区域 区域内显示旋转图标
搜索 输入框内 spinner 输入后延迟搜索 输入框右侧显示旋转图标
骨架屏设计
┌─────────────────────────────────────┐
│  ████████                            │  ← 标题占位
│  ████████████                        │  ← 描述占位
│                                     │
│  ████  ████████████████              │  ← 列表项占位
│  ████  ████████████████              │
│  ████  ████████████████              │
└─────────────────────────────────────┘

骨架屏原则:

  • 模拟真实内容的结构和布局
  • 使用灰色占位块(Gray-200)
  • 添加微妙的动画(shimmer效果)
  • 不要显示真实数据的占位符
Spinner设计
尺寸 大小 线宽 用途
sm 16px 2px 按钮内、输入框内
md 24px 2.5px 卡片内、区域内
lg 32px 3px 页面级加载

颜色:

  • 主色(Primary):主要操作的加载
  • 灰色(Gray-400):次要操作的加载
  • 白色(White):深色背景上的加载

2. 空状态

空状态场景
场景 展示内容 操作引导
无数据 插图 + "暂无数据" "创建第一个项目" 按钮
搜索无结果 插图 + "未找到相关内容" "尝试其他关键词" 提示
网络错误 插图 + "网络连接失败" "重试" 按钮
权限不足 插图 + "无权访问" "返回首页" 按钮
404页面 插图 + "页面不存在" "返回首页" 按钮
空状态设计
┌─────────────────────────────────────┐
│                                     │
│           [插图/图标]                │
│                                     │
│           暂无数据                   │
│      您还没有创建任何项目            │
│                                     │
│        [创建项目] 按钮               │
│                                     │
└─────────────────────────────────────┘

空状态原则:

  • 使用友好的插图或图标
  • 说明为什么是空的
  • 提供明确的操作引导
  • 不要让用户感到困惑或沮丧

3. 反馈机制

Read the full file on GitHub · 326 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 24d ago Changed · +2 lines 9b238996b139
  2. 1mo ago First seen · 324 lines · 33 tokens per session scan A c760dd439f49

Subscribe to this mod's changes

ui-designer/interaction-specification is a skill published in the GitHub repository echoVic/boss-skill (543 stars, last pushed 6d ago), licensed MIT. It adds 33 tokens to every session and 3,075 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

color-expert

Use when working with color naming, color theory, color spaces, color definitions, or any task involving color knowledge - palettes, ramps, gradients, conversions, accessibility, perceptual matching, pigment mixing, print-vs-screen color, CSS color syntax, or historical color terminology. Use this skill whenever the…

meodai/skill.color-expert · 92 tokens

create-chatgpt-mockup

Render pixel-accurate ChatGPT mobile (iOS) screen mockups in light mode from a thread JSON. Supports user text bubbles, user image attachments, assistant markdown prose, citation chips, the OpenAI spiral logo, the Apps-SDK GPT chip in the composer, and three header styles (model-tag, plain title, "Get Plus"). Fixed…

gooseworks-ai/goose-skills · 90 tokens

create-workflow-diagram

Create FigJam/Miro-style workflow diagrams as high-quality PNG images from plain-text workflow descriptions. Renders beautiful HTML diagrams with connected nodes, arrows, and labels, then screenshots them for sharing.

gooseworks-ai/goose-skills · 45 tokens

web-artifacts-builder

Suite of tools for creating elaborate, multi-component Prismer HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

Prismer-AI/PrismerCloud · 63 tokens

vercel-composition-patterns

React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.

calesthio/OpenMontage · 58 tokens

logo-generator

Deprecated compatibility entry for Logo construction. This component is now maintained in Bricks; install and use component-builder to build a new Logo.

kostja94/marketing-skills · 30 tokens