Skip to content
cccskills
FreePublished on GitHub

design-engineering

Build and review interfaces with purposeful animation, responsive button feedback, and consistent spacing and color. The skill guides motion choices by usage frequency and provides concrete code review suggestions with reasons for each change.

OriginalShow the original description

Apply interface craft when building or reviewing UI - motion, easing, timing, springs, component feel, and visual foundations. Use when building a component, animation, transition, hover or press state, modal, drawer, toast, or when polishing an interface so it feels right. Says "make this feel better", "add an animation", "polish the UI", "review this component".

Run score Not tested

See how to install

Good for

  • Polishing button press and hover feedback
  • Adjusting modal and drawer animations
  • Reviewing UI code with reasons for each change
  • Reducing motion in frequently used controls

Files included (1)

  • SKILL.md4.6 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

design-engineering

In a world where most software works well enough, feel is the differentiator. Most of what makes an interface feel right is detail the user never consciously notices - the aggregate of small correct choices. Build for that aggregate.

Motion decision framework

Answer these in order before writing any animation.

1. Should it animate at all?

The deciding factor is frequency. The more often a user sees it, the less it should move.

How often the user sees itDecision
100+ times/day (shortcuts, command palette)No animation, ever
Tens of times/day (hover, list nav)Remove or drastically reduce
Occasional (modals, drawers, toasts)Standard animation
Rare or first-time (onboarding, celebration)Room for delight

Never animate a keyboard-initiated action. It repeats all day; animation makes it feel slow and disconnected from the keypress.

2. What is the purpose?

Every animation needs an answer to "why does this move?" Valid ones: spatial consistency (enters and exits the same edge), state change, feedback (a press that confirms the interface heard you), or preventing a jarring appear/disappear. "It looks cool" is not a purpose for anything the user sees often.

3. What easing?

  • Entering or exiting -> ease-out (fast start, feels responsive).
  • Moving or morphing on screen -> ease-in-out.
  • Hover or color change -> ease.
  • Constant motion (marquee, progress) -> linear.

Never use ease-in for UI. It delays the first moment of movement - exactly when the user is watching - so a 300ms ease-in dropdown feels slower than a 300ms ease-out one. The built-in curves are weak; use stronger custom ones:

--ease-out: cubic-bezier(0.23, 1, 0.32, 1);       /* UI interactions */
--ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);   /* on-screen movement */
--ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);    /* iOS-like drawer */

4. How fast?

ElementDuration
Button press feedback100-160ms
Tooltip, small popover125-200ms
Dropdown, select150-250ms
Modal, drawer200-500ms

Keep frequent, interactive UI under 300ms; the modal and drawer range above (up to 500ms) is the deliberate exception for occasional, first-time surfaces. Perceived speed is real: a faster spinner makes a load feel faster at the same load time, and an instant tooltip after the first one makes a whole toolbar feel quick.

Springs

Springs settle on physics, not a fixed duration, so they feel alive and, unlike CSS keyframes, keep their velocity when interrupted. Reach for them on drag and gesture interactions the user can reverse mid-motion, and on decorative, mouse-tracked motion. Keep bounce subtle (0.1 to 0.3) and usually absent - save it for drag-to-dismiss and playful moments, not functional UI.

Component feel

  • Press feedback. Any pressable element gets transform: scale(0.97) on :active with a ~160ms ease-out transition. Subtle (0.95 to 0.98); it makes the interface feel like it is listening.
  • Never animate from scale(0). Nothing real appears from nothing. Start at scale(0.9) or higher plus opacity so the entrance has shape.
  • Scale from the trigger. Popovers and dropdowns scale from their origin, not their center. Modals stay centered.
  • Respect prefers-reduced-motion. Drop or shorten non-essential motion.

Visual foundations

  • One spacing scale, one type scale. Consistency reads as intent; ad-hoc values read as noise.
  • Restrained color: a small palette with clear roles beats many accents.
  • Make every interactive state explicit - hover, active, focus-visible, disabled. A control with no states feels dead.

Review format

When reviewing UI code, output a single markdown table, one row per issue, with Before | After | Why. Do not use separate "Before:" / "After:" lines.

BeforeAfterWhy
transition: all 300mstransition: transform 200ms ease-outName exact properties; avoid all
transform: scale(0)scale(0.95); opacity: 0Nothing appears from nothing
ease-in on a dropdownstrong ease-outease-in reads as sluggish
no :active statescale(0.97) on :activePresses must feel responsive

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

agent-teams

FreeSummary

Coordinate multiple Claude Code sessions on a shared codebase. Organize tasks, dependencies, teammate messages, and file ownership, with guidance on team size, plan approval, and choosing between teams, subagents, and worktrees.

  • Develop API, UI, and tests in parallel
  • Assign implementation and review to separate sessions
  • Organize file ownership and task dependencies
rohitg00/pro-workflow2.9KUpdated Sep 29, 2026

auto-setup

FreeSummary

Set up project checks when starting work on an unfamiliar codebase. Detect the project type, verify available tools, and generate Claude Code settings for linting, type checks, tests, formatting checks, and hooks.

  • Set up checks for a new development project
  • Inspect tools in an unfamiliar codebase
  • Prepare quality checks for CI integration
rohitg00/pro-workflow2.9KUpdated Sep 29, 2026

Coordinate repetitive changes across many files by splitting them into independent tasks. Agents work in separate Git working directories, run relevant tests, and open pull requests, with a shared summary of successes and failures.

  • Migrate a library across many files
  • Convert class components to function components
  • Add tracing to API handlers
rohitg00/pro-workflow2.9KUpdated Sep 29, 2026

bug-capture

FreeSummary

Turn conversational bug reports into GitHub issues with clear reproduction steps, expected behavior, and project terminology. The skill checks for duplicates and separates independent problems, keeping reports focused on behavior so they remain useful after code changes.

  • Record a bug described in conversation
  • File defects found during QA
  • Check for existing reports before filing
rohitg00/pro-workflow2.9KUpdated Sep 29, 2026

compact-guard

FreeSummary

Prepare for conversation compaction, which shortens an agent's working context, by saving active files, progress, decisions, blockers, and next steps. Afterward, use those notes and priority files to recover the working state and resume the task.

  • Saving task state before running /compact
  • Preparing handoff notes when an auto-compact warning appears
  • Recovering active work after compaction
rohitg00/pro-workflow2.9KUpdated Sep 29, 2026

Manage the information an AI coding session carries by saving notes, selecting relevant material, summarizing results, and separating tasks. The skill guides context budgets and session handoffs so important decisions remain available during long projects.

  • Preserve task progress before summarizing a session
  • Narrow searches in large codebases
  • Organize lengthy logs and tool results
rohitg00/pro-workflow2.9KUpdated Sep 29, 2026

See all skills by rohitg00

Report a problem with this skill