Interaction Design
Design component interaction specs with all visual states, transitions, and accessibility requirements
Skill by dtsong
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/dtsong-interaction-design-dddbbc
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, frontend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/interaction-design
What's inside
- Skill name
Interaction Design- Description
- Design component interaction specs with all visual states, transitions, and accessibility requirements
- License
- MIT
- Instructions
- 159 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: only lowercase letters, digits and single hyphens allowed
- name: "Interaction Design" does not match folder "interaction-design"
Files (1)
- SKILL.md
SKILL.md (first lines)
# Interaction Design
## Purpose
Design component interaction specs with all visual states, transitions, and accessibility requirements.
## Inputs
- Component name and purpose
- Context where it appears (page, modal, sidebar, etc.)
- User actions it must support
- Existing design system or component library (if any)
- Platform constraints (web, mobile, both)
## Process
### Step 1: Define Component Purpose
- What job does this component do?
- What user need does it serve?
- Where does it appear in the UI hierarchy?
- What is the minimal viable version?
### Step 2: Enumerate All Visual States
| State | Visual Treatment | When Active |
|-------|-----------------|-------------|
| Default/Rest | Base styling | No interaction |
| Hover | Subtle highlight, cursor change | Mouse over (desktop) |
| Focus | Visible focus ring | Keyboard navigation, tab |
| Active/Pressed | Depressed/accent state | Mouse down, touch |
| Loading/Pending | Spinner, skeleton, disabled input | Async operation in progress |
| Success/Confirmed | Green accent, checkmark, brief flash | Operation completed |
| Error/Invalid | Red accent, error message, icon | Validation failed, API error |
| Disabled | Muted colors, no pointer events | Precondition not met |
| Empty/Placeholder | Placeholder text, illustration | No data or content yet |
### Step 3: Define Transitions Between States
For each state change:
- **Trigger:** What causes the transition (click, hover, data load, timer, keyboard)
- **Animation:** Duration and easing (subtle and purposeful, not gratuitous)
- Micro-interactions: 100-200ms
- State changes: 200-300ms
- Layout shifts: 300-500ms
- **Feedback mechanism:** Color change, icon swap, text update, motion
### Step 4: Specify Accessibility Requirements
- **ARIA roles and labels:**
- `role` attribute (button, dialog, alert, etc.)
- `aria-label` or `aria-labelledby` for non-text elements
- `aria-describedby` for supplementary descriptions
- `aria-live` regions for dynamic updates
- **Keyboard navigation:**
- Tab order (logical, matches visual order)
- Enter/Space behavior (activate buttons, submit forms)
- Escape behavior (close modals, cancel operations)
- Arrow key behavior (navigate lists, tabs, menus)
- **Screen reader announcements:**
- State changes announced (loading, success, error)
- Dynamic content updates via `aria-live`
- **Visual accessibility:**
- Color contrast: WCAG AA minimum (4.5:1 text, 3:1 UI elements)
- Focus indicators visible and high contrast
- Information not conveyed by color alone
### Step 5: Define Responsive Behavior
- **Desktop (1024px+):**
- Full layout, hover interactions available
- Keyboard shortcuts active
- **Tablet (768px - 1023px):**
- Adjusted spacing, simplified hover states
- Touch-friendly but more screen real estate than mobile
- **Mobile (< 768px):**
- Touch targets minimum 44x44px
- Swipe gestures where appropriate
- Bottom-sheet instead of dropdown where needed
- Simplified layout, stacked elements
### Step 6: Specify Content Constraints
- Character limits for labels, descriptions, error messages
- Truncation strategy (ellipsis, fade, wrap)
- Internationalization considerations (text expansion 30-50% for translations)
- Number formatting, date formatting
## Output Format
### State Matrix
| State | Background | Border | Text | Icon | Cursor | Shadow |
|-------|-----------|--------|------|------|--------|--------|
| Default | ... | ... | ... | ... | ... | ... |
| Hover | ... | ... | ... | ... | ... | ... |
| Focus | ... | ... | ... | ... | ... | ... |
| Active | ... | ... | ... | ... | ... | ... |
| Loading | ... | ... | ... | ... | ... | ... |
| Success | ... | ... | ... | ... | ... | ... |
| Error | ... | ... | ... | ... | ... | ... |
| Disabled | ... | ... | ... | ... | ... | ... |
### Transition Diagram
```
[Default] ←→ [Hover] → [Active] → [Loading] → [Success]
↓ ↓
[Focus] [Error]
↓
[Active]
```
### Accessibility Checklist
- [ ] ARIA role assigned
- [ ] ARIA label provided
- [ ] Keyboard operable (tab, enter, escape)
- [ ] Focus indicator visibleFrom dtsong/claude-code-windows-setup, MIT.
More from dtsong/claude-code-windows-setup
- 0.445score
cicd-generation
dtsong
Use when creating GitHub Actions workflows, adding CI/CD to a project, or reviewing pipeline security.
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
crypto-review
dtsong
Use when reviewing cryptographic implementations for algorithm choice correctness, key management soundness, side-channel resistance, and crypto agility…
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
pqc-readiness
dtsong
Use when assessing a system's readiness for post-quantum cryptography migration, inventorying classical crypto usage, mapping NIST-standardized PQC…
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
protocol-analysis
dtsong
Use when analyzing cryptographic protocol security by modeling state machines, enumerating transitions, and identifying desynchronization, replay, downgrade…
SkillDFreshness: D★ 2Claude Code +9 - 0.439score
code-search
dtsong
Fast codebase searches using grep/glob.
SkillDFreshness: D★ 2Claude Code +9 - 0.429score
Schema Evaluation
dtsong
Evaluate and design data warehouse schemas — star, snowflake, data vault, OBT — with grain definition, SCD strategies, and normalization trade-offs
SkillDFreshness: D★ 2Claude Code +9 - 0.426score
Schema Design
dtsong
Migration-ready database schema design with normalization and indexing strategies
SkillDFreshness: D★ 2Claude Code +9 - 0.426score
Design System Architecture
dtsong
Token hierarchy, theming strategy, and cross-platform consistency
SkillDFreshness: D★ 2Claude Code +9 - 0.426score
Motion Design
dtsong
Animation principles, micro-interaction specs, and reduced-motion support
SkillDFreshness: D★ 2Claude Code +9 - 0.426score
Visual Audit
dtsong
Structured visual design critique with specific actionable feedback
SkillDFreshness: D★ 2Claude Code +9 - 0.426score
Changelog Design
dtsong
Changelog entries and migration guides for breaking changes with version strategy
SkillDFreshness: D★ 2Claude Code +9 - 0.426score
Pattern Analysis
dtsong
Audit codebase patterns and conventions, evaluate proposed changes for consistency
SkillDFreshness: D★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Feb 21, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from dtsong
- 0.445score
cicd-generation
dtsong
Use when creating GitHub Actions workflows, adding CI/CD to a project, or reviewing pipeline security.
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
protocol-analysis
dtsong
Use when analyzing cryptographic protocol security by modeling state machines, enumerating transitions, and identifying desynchronization, replay, downgrade…
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
pqc-readiness
dtsong
Use when assessing a system's readiness for post-quantum cryptography migration, inventorying classical crypto usage, mapping NIST-standardized PQC…
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
crypto-review
dtsong
Use when reviewing cryptographic implementations for algorithm choice correctness, key management soundness, side-channel resistance, and crypto agility…
SkillDFreshness: D★ 2Claude Code +9 - 0.439score
code-search
dtsong
Fast codebase searches using grep/glob.
SkillDFreshness: D★ 2Claude Code +9 - 0.434score
dockerfile-generation
dtsong
Build minimal, secure Dockerfiles with verification-first workflow.
SkillDFreshness: D★ 2Claude Code +9
Cite this page
Interaction Design skill. Agent Mart. https://agentmart.dev/skills/dtsong-interaction-design-dddbbc (last updated 2026-10-24)